internal

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>

  1. … 14 more files in changeset.
Revert "Reverted changes from PR#1900"

This reverts commit 3769869c339a2d4b753f92617641055adb3e4b16.

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

  1. … 25 more files in changeset.
Made settings.gradle apply works (and added test)

    • -0
    • +24
    ./filestore/url/UrlFileStore.java
  1. … 15 more files in changeset.
Rationalise the “resource” classes under the “org.gradle.internal.resource” package.

    • -72
    • +0
    ./externalresource/AbstractExternalResource.java
    • -50
    • +0
    ./externalresource/DefaultLocallyAvailableExternalResource.java
    • -88
    • +0
    ./externalresource/ExternalResource.java
    • -196
    • +0
    ./externalresource/ExternalResourceName.java
    • -80
    • +0
    ./externalresource/LocalFileStandInExternalResource.java
    • -27
    • +0
    ./externalresource/LocallyAvailableExternalResource.java
    • -80
    • +0
    ./externalresource/UrlExternalResource.java
    • -70
    • +0
    ./externalresource/metadata/DefaultExternalResourceMetaData.java
    • -58
    • +0
    ./externalresource/metadata/ExternalResourceMetaData.java
    • -66
    • +0
    ./externalresource/metadata/ExternalResourceMetaDataCompare.java
    • -76
    • +0
    ./externalresource/transfer/ExternalResourceAccessor.java
    • -29
    • +0
    ./externalresource/transfer/ExternalResourceLister.java
    • -28
    • +0
    ./externalresource/transfer/ExternalResourceUploader.java
  1. … 261 more files in changeset.
Create resources-http subproject.

    • -0
    • +76
    ./externalresource/transfer/ExternalResourceAccessor.java
    • -0
    • +29
    ./externalresource/transfer/ExternalResourceLister.java
    • -0
    • +28
    ./externalresource/transfer/ExternalResourceUploader.java
  1. … 36 more files in changeset.
Moved some classes from core to resources project.

    • -0
    • +3
    ./externalresource/ExternalResource.java
  1. … 45 more files in changeset.
make ExternalResource implement Closeable

    • -5
    • +2
    ./externalresource/ExternalResource.java
Include last modified time in metadata for local resource

    • -1
    • +5
    ./externalresource/LocalFileStandInExternalResource.java
Don't use API that is not available in java 5.

    • -2
    • +2
    ./externalresource/ExternalResourceName.java
Reworked the uri handling in ExternalResourceName, to work around some bugs in URI.

    • -65
    • +102
    ./externalresource/ExternalResourceName.java
  1. … 2 more files in changeset.
Introduced ExternalResourceName to take care of dealing with resource names and URLs.

    • -0
    • +159
    ./externalresource/ExternalResourceName.java
  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.

    • -5
    • +0
    ./externalresource/DefaultLocallyAvailableExternalResource.java
    • -9
    • +3
    ./externalresource/ExternalResource.java
    • -17
    • +1
    ./externalresource/LocalFileStandInExternalResource.java
    • -1
    • +9
    ./externalresource/UrlExternalResource.java
    • -6
    • +6
    ./externalresource/metadata/DefaultExternalResourceMetaData.java
    • -1
    • +5
    ./externalresource/metadata/ExternalResourceMetaData.java
  1. … 11 more files in changeset.
Use URI instead of String to identity ExternalResource instances.

    • -0
    • +4
    ./externalresource/AbstractExternalResource.java
    • -2
    • +4
    ./externalresource/DefaultLocallyAvailableExternalResource.java
    • -1
    • +7
    ./externalresource/ExternalResource.java
    • -5
    • +5
    ./externalresource/LocalFileStandInExternalResource.java
    • -2
    • +9
    ./externalresource/UrlExternalResource.java
  1. … 25 more files in changeset.
Some simplifications to DefaultExternalResourceArtifactResolver, and removed a couple of now unused classes.

    • -73
    • +0
    ./externalresource/MetaDataOnlyExternalResource.java
    • -68
    • +0
    ./externalresource/MissingExternalResource.java
  1. … 1 more file in changeset.
Move the base resource abstractions from coreImpl to resources.

    • -0
    • +68
    ./externalresource/AbstractExternalResource.java
    • -0
    • +53
    ./externalresource/DefaultLocallyAvailableExternalResource.java
    • -0
    • +88
    ./externalresource/ExternalResource.java
    • -0
    • +92
    ./externalresource/LocalFileStandInExternalResource.java
    • -0
    • +27
    ./externalresource/LocallyAvailableExternalResource.java
    • -0
    • +73
    ./externalresource/MetaDataOnlyExternalResource.java
    • -0
    • +68
    ./externalresource/MissingExternalResource.java
    • -0
    • +65
    ./externalresource/UrlExternalResource.java
    • -0
    • +70
    ./externalresource/metadata/DefaultExternalResourceMetaData.java
    • -0
    • +54
    ./externalresource/metadata/ExternalResourceMetaData.java
    • -0
    • +66
    ./externalresource/metadata/ExternalResourceMetaDataCompare.java
  1. … 16 more files in changeset.
Renamed some packages in the resources project.

    • -65
    • +0
    ./externalresource/local/DefaultLocallyAvailableResource.java
    • -31
    • +0
    ./externalresource/local/LocallyAvailableResource.java
  1. … 33 more files in changeset.
Extracted a 'resources' project out of 'core' and 'coreImpl' to collect up our resource infrastructure. Nothing much in there yet.

    • -0
    • +65
    ./externalresource/local/DefaultLocallyAvailableResource.java
    • -0
    • +31
    ./externalresource/local/LocallyAvailableResource.java
    • -0
    • +31
    ./filestore/FileStore.java
    • -0
    • +29
    ./filestore/FileStoreEntry.java
    • -0
    • +25
    ./filestore/FileStoreSearcher.java
  1. … 11 more files in changeset.