resources

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactor HTTP deprecation logic to use HttpRedirectVerifier

    • -3
    • +11
    ./ApiTextResourceAdapterTest.groovy
  1. … 60 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 90 more files in changeset.
Fix unit tests

  1. … 2 more files in changeset.
Remove TextResourceLoader.Factory

  1. … 32 more files in changeset.
Fix integration tests failing due to new dperication

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 10 more files in changeset.
Deprecate download of resources over HTTP; Require opt-in

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 54 more files in changeset.
Move file collection APIs out of core (#6525)

This change breaks out code that directly relates to handling `FileCollection`s and their build dependencies (called `TaskDependency` at this time) into a separate subproject (`:files`). This is so that other modules can build on just this module instead of having to depend on the oversized `:core`.

As part of the change `Provider`s have been moved to `:base-services`. In a possible followup step `:base-services` could be split into a module that captures the very basic concepts of Gradle's data model: it's all about `DomainObjectCollection`s that can be configured via `Action`s, transformed via `Transformer`s, lazyness can be provided via `Provider`s and rich mutable data types can be created via `Property` objects.

Another addition to `:base-serivces` is the directed graph traversal algorithms used in many parts of Gradle.

  1. … 442 more files in changeset.
Add support for URI-backed text resources

This can be used to point tasks like Checkstyle

to a remote, shared configuration file without

having to package it into an archive and using

dependency resolution.

The implementation reuses the same caching logic

we have for remote build scripts.

    • -0
    • +83
    ./ApiTextResourceAdapterTest.groovy
  1. … 20 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

    • -1
    • +1
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
  1. … 86 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

    • -1
    • +1
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
  1. … 86 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

    • -1
    • +1
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedTextResourceTest.groovy
    • -1
    • +1
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
  1. … 86 more files in changeset.
Close reader

Fix some tests that were leaking file handles

    • -2
    • +0
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -3
    • +1
    ./FileCollectionBackedTextResourceTest.groovy
    • -3
    • +0
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
  1. … 14 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
    • +1
    ./CharSourceBackedTextResourceTest.groovy
  1. … 21 more files in changeset.
Simplify start script generation and fix a few problems.

Most notably, we no longer hold readers open eagerly.

+review REVIEW-5416

    • -0
    • +32
    ./CharSourceBackedTextResourceTest.groovy
  1. … 20 more files in changeset.
Introduce TextResource#asFile(String charset) (REVIEW-5217)

    • -1
    • +2
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -2
    • +2
    ./FileCollectionBackedTextResourceTest.groovy
    • -1
    • +2
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
  1. … 5 more files in changeset.
Add test for TextResource packaged as tar.gz

    • -35
    • +0
    ./FileCollectionBackedArchiveTextResourceTest.groovy
    • -0
    • +34
    ./FileCollectionBackedTarArchiveTextResourceTest.groovy
    • -0
    • +35
    ./FileCollectionBackedZipArchiveTextResourceTest.groovy
Add tests for TextResource implementations

- fixed NPE in StringBackedTextResource

- removed incorrect @Nullable annotation in TemporaryFileProvider

    • -0
    • +39
    ./AbstractTextResourceTest.groovy
    • -0
    • +35
    ./FileCollectionBackedArchiveTextResourceTest.groovy
    • -0
    • +30
    ./FileCollectionBackedTextResourceTest.groovy
    • -0
    • +27
    ./StringBackedTextResourceTest.groovy
  1. … 2 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1213 more files in changeset.
Fixes to the URIBuilder. Should also fix windows CI.

  1. … 1 more file in changeset.
Made sure our implementations of resources have unique URIs...

The downside is that it is not not possible to create a File directly from the gzipResource.getURI().

    • -0
    • +32
    ./URIBuilderTest.groovy
  1. … 4 more files in changeset.