RepositoryContentFilteringIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adjust tests and samples to new metadata sources defaults

    • -2
    • +0
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 95 more files in changeset.
wip - fix more tests

    • -2
    • +0
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 46 more files in changeset.
wip - fix more tests

    • -2
    • +0
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 14 more files in changeset.
wip - fix more tests

    • -2
    • +0
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 45 more files in changeset.
wip - fix more tests

    • -2
    • +0
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename methods for consistency of the DSL

    • -2
    • +2
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 2 more files in changeset.
Use repository content filtering when selecting dynamic versions

This commit fixes an issue with content filtering, which led to versions

being silently ignored because we were listing versions, _then_ filtering.

Instead, this commit makes sure we actually only return versions which

do participate in the repository.

    • -0
    • +57
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 6 more files in changeset.
Introduce regular expression based content filtering

This commit adds the regular expression variants of the repository

content filtering methods.

    • -16
    • +72
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 2 more files in changeset.
Introduce a higher level API for repository content filtering

Instead of being imperative, this new API only allows for a

limited set of operations, like describing what groups are

included or excluded.

    • -31
    • +189
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 15 more files in changeset.
Allow Maven repositories to specify a kind

This commit leverages the content filtering feature to allow

a Maven repository to have a kind, where there are actually

3 kinds of repositories:

- snapshot only: we would never try to look for non snapshot

versions of a module there

- releases only: we would never try to look for a SNAPSHOT

version of a module

- mixed: the default, where we assume a repository can host

both snapshots and releases

    • -0
    • +78
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 3 more files in changeset.
Allow access to the module version in repository content filtering

This is a required feature as soon as we want to implement the

common Maven case where snapshots are published in a different

repository from releases: this will let us differentiate between

those kinds of repositories just based on the version number.

    • -1
    • +33
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 7 more files in changeset.
Allow filtering content of a repository based on the configuration name and attributes

This effectively adds the configuration name, as well as its attributes, to the context

details, so a rule can decide to resolve differently.

    • -1
    • +139
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 6 more files in changeset.
Add support for filtering repository content based on the module identifier

This commit allows "matching repositories to dependencies" by adding an API

on repositories to declare if we should look for a module or not. Currently

the API only supports querying by module identifier, and blacklisting. In

other words the API lets you tell when _not_ to look for a module.

    • -0
    • +176
    ./RepositoryContentFilteringIntegrationTest.groovy
  1. … 8 more files in changeset.