Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Consolidated ExternalResourceUriResolver and ExternalResourceRepositoryAccessor

- ExternalResourceAccessor takes care of downloading and caching URI resources

- Only cache HTTP and HTTPS URI resources

- Use a shared FileStore<String>

    • -24
    • +0
    ./internal/filestore/url/UrlFileStore.java
  1. … 14 more files in changeset.
Revert "Reverted changes from PR#1900"

This reverts commit 3769869c339a2d4b753f92617641055adb3e4b16.

    • -0
    • +24
    ./internal/filestore/url/UrlFileStore.java
  1. … 13 more files in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Reverted changes from PR#1900

    • -24
    • +0
    ./internal/filestore/url/UrlFileStore.java
  1. … 25 more files in changeset.
Made settings.gradle apply works (and added test)

    • -0
    • +24
    ./internal/filestore/url/UrlFileStore.java
  1. … 15 more files in changeset.
Use consistent exceptions and error messages when a resource cannot be read.

    • -0
    • +4
    ./resources/MissingResourceException.java
  1. … 11 more files in changeset.
Merged internal `ResourceNotFoundException` into public `MissingResourceException`.

    • -1
    • +11
    ./resources/MissingResourceException.java
  1. … 16 more files in changeset.
Merged internal `ResourceException` into public `ResourceException`.

  1. … 37 more files in changeset.
Moved public `ResourceException` and its subtypes from core to resources project.

    • -0
    • +26
    ./resources/MissingResourceException.java
    • -0
    • +37
    ./resources/ResourceException.java
  1. … 6 more files in changeset.
Normalize authentication package names

+review REVIEW-5569

    • -29
    • +0
    ./authentication/Authentication.java
  1. … 43 more files in changeset.
Move registration of authentication schemes into subprojects

- Introduce AuthenticationSchemeRegistry

- Move new Authentication types to resources-http

+review REVIEW-5569

    • -23
    • +0
    ./authentication/BasicAuthentication.java
    • -23
    • +0
    ./authentication/DigestAuthentication.java
  1. … 18 more files in changeset.
Use preemptive authentication when repository is configured for basic auth.

+review REVIEW-5574

    • -1
    • +1
    ./authentication/BasicAuthentication.java
  1. … 3 more files in changeset.
Remove NtlmAuthentication; push support for this to later story.

+review REVIEW-5569

    • -23
    • +0
    ./authentication/NtlmAuthentication.java
  1. … 3 more files in changeset.
Add NTLM authentication scheme. Explicitly register basic, digest and ntlm as default schemes meaning kerberos is no longer enabled by default.

+review REVIEW-5569

    • -0
    • +23
    ./authentication/NtlmAuthentication.java
  1. … 4 more files in changeset.
Refactor repository authentication DSL to use a NamedDomainObjectContainer.

+review REVIEW-5569

  1. … 22 more files in changeset.
Remove duplicate package-info files.

+review REVIEW-5569

    • -0
    • +23
    ./authentication/BasicAuthentication.java
    • -0
    • +23
    ./authentication/DigestAuthentication.java
  1. … 3 more files in changeset.
Update authentication story. - Use term 'scheme' instead of 'protocol' when referring to authentication types. - Update DSL example to use a container for configuring authentication schemes.

+review REVIEW-5569

  1. … 4 more files in changeset.
Initial work for authentication types story. - Add support for configuring authentication schemes for repositories - Update Http transport factory to only enable configured authentication schemes

+review REVIEW-5569

    • -0
    • +28
    ./authentication/Authentication.java
    • -0
    • +25
    ./authentication/package-info.java
  1. … 30 more files in changeset.
Rationalise the “resource” classes under the “org.gradle.internal.resource” package.

  1. … 261 more files in changeset.
Create resources-http subproject.

  1. … 36 more files in changeset.
Moved some classes from core to resources project.

  1. … 45 more files in changeset.
make ExternalResource implement Closeable

Include last modified time in metadata for local resource

Don't use API that is not available in java 5.

Reworked the uri handling in ExternalResourceName, to work around some bugs in URI.

  1. … 2 more files in changeset.
Introduced ExternalResourceName to take care of dealing with resource names and URLs.

  1. … 16 more files in changeset.
Some ExternalResource changes.

- Changed the ivy and pom parsers so that they don't infer the publication date from the resource last modified time, and removed getLastModified().

- Changed LocalFileStandInExternalResource so that it does not include the sha1 in the meta-data.

  1. … 11 more files in changeset.
Use URI instead of String to identity ExternalResource instances.

  1. … 25 more files in changeset.
Some simplifications to DefaultExternalResourceArtifactResolver, and removed a couple of now unused classes.

  1. … 1 more file in changeset.
Move the base resource abstractions from coreImpl to resources.

    • -0
    • +53
    ./internal/externalresource/DefaultLocallyAvailableExternalResource.java
    • -0
    • +92
    ./internal/externalresource/LocalFileStandInExternalResource.java
    • -0
    • +27
    ./internal/externalresource/LocallyAvailableExternalResource.java
    • -0
    • +73
    ./internal/externalresource/MetaDataOnlyExternalResource.java
  1. … 16 more files in changeset.