Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove 'compare-gradle-builds' plugin from distribution (#10198)

* Remove non-public ProjectOutcomes model type

* Remove 'compare-gradle-builds' plugin from distribution

    • -47
    • +0
    ./internal/ByTypeAndNameBuildOutcomeAssociatorTest.groovy
    • -219
    • +0
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -132
    • +0
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -126
    • +0
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
    • -125
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 135 more files in changeset.
Remove 'compare-gradle-builds' plugin from distribution

    • -47
    • +0
    ./internal/ByTypeAndNameBuildOutcomeAssociatorTest.groovy
    • -219
    • +0
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -132
    • +0
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -126
    • +0
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
    • -125
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 125 more files in changeset.
Remove 'compare-gradle-builds' plugin from distribution

    • -47
    • +0
    ./internal/ByTypeAndNameBuildOutcomeAssociatorTest.groovy
    • -219
    • +0
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -132
    • +0
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -126
    • +0
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
    • -125
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 124 more files in changeset.
Remove 'compare-gradle-builds' plugin from distribution

    • -47
    • +0
    ./internal/ByTypeAndNameBuildOutcomeAssociatorTest.groovy
    • -219
    • +0
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -132
    • +0
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -126
    • +0
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
    • -125
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 124 more files in changeset.
Revert "Revert "Merge branch 'sg/lazy/publish-register-2' into release""

This reverts commit 0937d57caa43dabc31d331dea6c9c0cf72de8607.

    • -74
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 23 more files in changeset.
Revert "Merge branch 'sg/lazy/publish-register-2' into release"

This reverts commit 975120ec3997139e2e81e9ad4c03df89fa0748e5, reversing

changes made to 2eb24bc6b76a7d76b97036ca2c716730bc156d76.

    • -0
    • +74
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 24 more files in changeset.
Replace various ConfigurablePublishArtifact types with a single one backed by Providers

    • -74
    • +0
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 19 more files in changeset.
Rework task dependency inference so that `Provider` implementations use the same `TaskDependencyContainer` interface that most other things use to declare their producer task to the task resolution infrastructure, rather than having special knowledge sprinkled around various places.

Cleaned up a bunch of `Provider` and `Property` implementations so that more logic is reused rather than reimplemented.

    • -1
    • +1
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 30 more files in changeset.
Support propagation of the producer task for provider instances that are created using `Provider.map()`.

Now, when a provider represents a task or task output, whether mapped or not, that task is taken as the producer of the value and the mapping function is not called. Otherwise, the value of the provider is unpacked and resolved, as it previously was.

Rework the protocol by which providers communicate their build dependencies to consumers.

    • -4
    • +12
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 34 more files in changeset.
Only infer task dependencies once when transforming a build outcome

    • -2
    • +2
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 1 more file in changeset.
Use LazyPublishArtifact for lazy archive tasks

    • -4
    • +31
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 15 more files in changeset.
Introduce ArchiveProviderPublishArtifact for lazily created tasks

    • -2
    • +2
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 13 more files in changeset.
Make ArchivePublishArtifact take a lazy provider

    • -1
    • +4
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 9 more files in changeset.
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

    • -12
    • +2
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 97 more files in changeset.
Fix Test on Java 9 with a workaround Groovy runtime/compiler bug

https://issues.apache.org/jira/browse/GROOVY-7879 on Java 9

+review REVIEW-6073

    • -12
    • +11
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -4
    • +4
    ./internal/archive/entry/ArchiveEntryTest.groovy
Workaround for Groovy runtime/compiler bug

https://issues.apache.org/jira/browse/GROOVY-7879

+review REVIEW-6073

    • -10
    • +9
    ./internal/archive/entry/ArchiveEntryTest.groovy
  1. … 3 more files in changeset.
Don't run ArchiveEntryTest#"equals and hash code".

- It doesn't work with Java9 because of some strangeness with how Groovy

is attempting to cast it's default set implementation to an immutable

set.

    • -0
    • +7
    ./internal/archive/entry/ArchiveEntryTest.groovy
  1. … 1 more file in changeset.
Annotate another Java9 failing test.

    • -0
    • +6
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
  1. … 1 more file in changeset.
Make test cleanup files.

- This also makes it an error to leave files behind after a test.

    • -1
    • +3
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 1 more file in changeset.
Revert AbstractProjectBuilderSpec useage

- This reverts commit 950ef846426be8ce0dbaac93300fc7d8cfc8cb3c.

- It looks like trying to use the AbstractClass breaks on Windows.

    • -2
    • +13
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 2 more files in changeset.
Use AbstractProjectBuilderSpec build-comparision

- This change also makes it an error in our builds if tests in the

build-comparision subproject begin leaving files behind again.

    • -13
    • +2
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 2 more files in changeset.
Cleanup test outputs for 'build-comparison'

    • -1
    • +5
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
Detect base Jar task type, not the stub Groovy subclass.

+review REVIEW-5306

    • -3
    • +7
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 1 more file in changeset.
some cleanup on buildcomparison integtests - seperate integtest for nested archives - introduce buildcomparison report fixture

+review REVIEW-5251

    • -1
    • +1
    ./internal/archive/entry/ArchiveEntryTest.groovy
  1. … 57 more files in changeset.
compare archive entries case sensitive +review REVIEW-5251

    • -1
    • +23
    ./internal/archive/entry/ArchiveEntryTest.groovy
  1. … 1 more file in changeset.
Some simplifications to nested archive entries.

+review REVIEW-5251

    • -61
    • +73
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -0
    • +13
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -42
    • +23
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
  1. … 6 more files in changeset.
Make ArchiveEntry immutable.

It's effectively a value type.

+review REVIEW-5251

    • -14
    • +16
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -71
    • +18
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -2
    • +6
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
    • -63
    • +0
    ./internal/archive/entry/ZipEntryToArchiveEntryTransformerTest.groovy
  1. … 4 more files in changeset.
Compare ZIP archives recursively in the buildcomparison

    • -3
    • +76
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
    • -0
    • +93
    ./internal/archive/entry/ArchiveEntryTest.groovy
    • -5
    • +80
    ./internal/archive/entry/FileToArchiveEntrySetTransformerTest.groovy
  1. … 4 more files in changeset.
GRADLE-2777 Consider the absence of a build artifact in source and target build of buildcomparison as equality

    • -1
    • +1
    ./internal/archive/GeneratedArchiveBuildOutcomeComparatorTest.groovy
  1. … 2 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

    • -2
    • +2
    ./internal/tooling/PublishArtifactToFileBuildOutcomeTransformerTest.groovy
  1. … 145 more files in changeset.