Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed a class.

    • -0
    • +30
    ./org/gradle/internal/resource/ReadableContent.java
  1. … 13 more files in changeset.
Shuffled some methods around in the `ExternalResource` hierarchy.

  1. … 3 more files in changeset.
Moved a class to break a package cycle.

  1. … 3 more files in changeset.
Moved `FileResourceConnector` from 'dependencyManagement' to 'resources' project.

    • -0
    • +63
    ./org/gradle/internal/resource/local/FileResourceConnector.java
  1. … 10 more files in changeset.
Detangled the `ExternalResource` implementation that represents a local resource, from the implement that represents a local copy of a remote resource.

  1. … 6 more files in changeset.
Added `FileResourceRepository` as a global service for creating various file backed `ExternalResource` implementations. Use this in various places instead of creating these implementations directly.

    • -0
    • +42
    ./org/gradle/internal/resource/local/FileResourceRepository.java
  1. … 41 more files in changeset.
Javadocs.

Moved `ExternalResourceRepository` from 'dependencyManagement' to 'resources' project.

    • -0
    • +42
    ./org/gradle/internal/resource/ExternalResourceRepository.java
  1. … 20 more files in changeset.
Moved `LazyExternalResource` from 'dependencyManagement' to 'resources' project, and reused to implement `UrlExternalResource`.

  1. … 6 more files in changeset.
Include the number of bytes written in the resource write build operation result.

    • -0
    • +32
    ./org/gradle/internal/resource/ExternalResourceWriteResult.java
  1. … 3 more files in changeset.
Wrap calls to write to a resource in a build operation of type `ExternalResourceWriteBuildOperationType`. No result is attached for these build operations yet.

  1. … 1 more file in changeset.
Wrap calls to list the children of a resource during dependency resolution in a build operation of type `ExternalResourceListBuildOperationType`.

  1. … 2 more files in changeset.
Wrap calls to get the meta-data of a resource during dependency resolution in a build operation of type `ExternalResourceReadMetadataBuildOperationType`.

  1. … 2 more files in changeset.
Revert to ungrouped plain output

Only the stderr output event listener is getting the

EndOutputEvent which caused JVMs to be left open (as evidenced

by the failure of ToolingApiIntegrationTest).

Continue use of ungrouped ProgressLogEventGenerator and find a

better way to do this in a future version of Gradle.

    • -0
    • +194
    ./org/gradle/internal/resource/DownloadBuildOperationFiringExternalResourceDecorator.java
  1. … 10 more files in changeset.
Moved a class to remove package cycle.

    • -0
    • +30
    ./org/gradle/internal/resource/LocalResource.java
  1. … 13 more files in changeset.
Moved `put()` and `list()` from `ExternalResourceRepository` to `ExternalResource`.

  1. … 16 more files in changeset.
Replaced `ExternalResourceRepository.getResourceMetaData()` with `ExternalResource.getMetaData()`.

Also changed the file backed implementation of `ExternalResource` to use `FileSystem.stat()` to calculate the file meta-data, rather than using the `File` API.

  1. … 47 more files in changeset.
Rework “network” build operations to model resource operations instead.

  1. … 4 more files in changeset.
Rename network request build operation and drop unused attributes.

    • -0
    • +237
    ./org/gradle/internal/resource/BuildOperationFiringExternalResourceDecorator.java
  1. … 4 more files in changeset.
Show remote resource downloads in the console 'work in progress' section.

  1. … 1 more file in changeset.
Removed unused `ExternalResource.isLocal()`

  1. … 3 more files in changeset.
Further reworking external resource APIs to remove `ExternalResourceRepository.getResource()` and corresponding `ExternalResource.close()`.

Now, all `ExternalResource` implementations are live, rather than some implementations being live and some being an awkward one shot instance.

  1. … 14 more files in changeset.
Started reworking `ExternalResourceRepository` so that no network request spans more than one method call on `ExternalResourceRepository` or `ExternalResource`.

This is work in progress and this change leaves `ExternalResourceRepository` in an intermediate state between the old and new behaviours. A subsequent change will remove the old behaviours entirely.

The semantics of the `ExternalResourceDownloadBuildOperationType` have changed in several ways:

- The build operation wraps the entire network request, rather than the "download" portion of the request.

- The build operation events are fired regardless of whether the network request was successful or not.

- No content type or content length are included in the operation's detail.

This build operation type is yet to be refactored or documented to reflect these changes.

  1. … 8 more files in changeset.
Pushed usage of `ExternalResourceName` instead of `URI` to represent a remote resource closer to the origin.

  1. … 22 more files in changeset.
Reorganise the rich build operation details/results type to further decouple from producer side semantics.

    • -0
    • +155
    ./org/gradle/internal/resource/DownloadBuildOperationFiringExternalResourceDecorator.java
  1. … 81 more files in changeset.
Reuse `FileUtils#canonicalize`

    • -10
    • +3
    ./org/gradle/internal/resource/UriTextResource.java
Reverted changes from PR#1900

  1. … 24 more files in changeset.
Convey the number of content bytes read in the download build operation result.

This provides a more (but not absolutely) reliable indicator of bytes transferred than the advertised content length pre transfer.

    • -0
    • +65
    ./org/gradle/internal/resource/ExternalResourceReadResult.java
  1. … 10 more files in changeset.
Made settings.gradle apply works (and added test)

  1. … 14 more files in changeset.
Javadocs.

  1. … 2 more files in changeset.