Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Shuffled some methods around in the `ExternalResource` hierarchy.

    • -163
    • +0
  1. … 5 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. … 9 more files in changeset.
Rework “network” build operations to model resource operations instead.

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

  1. … 6 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.

    • -5
    • +10
  1. … 12 more files in changeset.
Extracted `o.g.internal.resource.Resource` as a supertype for all 5 of our different resource abstractions.

Currently doesn't allow anything super useful, the various pieces can be migrated over time.

  1. … 21 more files in changeset.
Replaced some more usages of IOException with ResourceException when reading the content of a resource.

    • -0
    • +42
  1. … 18 more files in changeset.
Moved handling of locating, downloading and parsing of a `.sha1` file up out of the ExternalResource abstractions up into the dependency resolution layer.

This means using the `.sha1` file to short-circuit a download when we have some local candidates now works for all transports.

  1. … 12 more files in changeset.
Added ExternalResource.withContent() overload that allows both the content and meta-data of the resource to be accessed in a single operation.

    • -0
    • +127
  1. … 11 more files in changeset.