DependencyVerificationIntegrityCheckIntegTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix a number of review comments

    • -27
    • +51
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 15 more files in changeset.
Fix a number of review comments

    • -27
    • +51
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 15 more files in changeset.
Introduce a terse console output for verification failures

This commit switches from a verbose console output when

dependency verification errors occur, to a terse version

which basically only links to the rich report.

It's still possible to use the verbose output by configuring

the build with the Gradle `org.gradle.dependency.verification.console`

property (usual places apply).

    • -18
    • +99
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 12 more files in changeset.
Introduce a terse console output for verification failures

This commit switches from a verbose console output when

dependency verification errors occur, to a terse version

which basically only links to the rich report.

It's still possible to use the verbose output by configuring

the build with the Gradle `org.gradle.dependency.verification.console`

property (usual places apply).

    • -18
    • +99
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 12 more files in changeset.
Introduce a terse console output for verification failures

This commit switches from a verbose console output when

dependency verification errors occur, to a terse version

which basically only links to the rich report.

It's still possible to use the verbose output by configuring

the build with the Gradle `org.gradle.dependency.verification.console`

property (usual places apply).

    • -18
    • +99
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 12 more files in changeset.
Introduce an HTML report for dependency verification

This commit introduces a dependency verification report.

This report is generated for each build which has at least

one dependency verification fatal failure. The goal is to

replace the full, plain text report with a more concise

text block, less intimidating, and redirect to the HTML

report for completeness.

Currently, this report is _always_ generated, and the

console report is left untouched. However, another commit

will replace the console report with a shorter version,

with the ability to configure to build to always use the

long console report version (in case for example it's not

simple to retrieve an HTML report from a CI build).

The HTML report explains what errors the user is facing

in context, and links to the documentation for further

details.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 13 more files in changeset.
Introduce an HTML report for dependency verification

This commit introduces a dependency verification report.

This report is generated for each build which has at least

one dependency verification fatal failure. The goal is to

replace the full, plain text report with a more concise

text block, less intimidating, and redirect to the HTML

report for completeness.

Currently, this report is _always_ generated, and the

console report is left untouched. However, another commit

will replace the console report with a shorter version,

with the ability to configure to build to always use the

long console report version (in case for example it's not

simple to retrieve an HTML report from a CI build).

The HTML report explains what errors the user is facing

in context, and links to the documentation for further

details.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 13 more files in changeset.
Introduce an HTML report for dependency verification

This commit introduces a dependency verification report.

This report is generated for each build which has at least

one dependency verification fatal failure. The goal is to

replace the full, plain text report with a more concise

text block, less intimidating, and redirect to the HTML

report for completeness.

Currently, this report is _always_ generated, and the

console report is left untouched. However, another commit

will replace the console report with a shorter version,

with the ability to configure to build to always use the

long console report version (in case for example it's not

simple to retrieve an HTML report from a CI build).

The HTML report explains what errors the user is facing

in context, and links to the documentation for further

details.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 13 more files in changeset.
Introduce an HTML report for dependency verification

This commit introduces a dependency verification report.

This report is generated for each build which has at least

one dependency verification fatal failure. The goal is to

replace the full, plain text report with a more concise

text block, less intimidating, and redirect to the HTML

report for completeness.

Currently, this report is _always_ generated, and the

console report is left untouched. However, another commit

will replace the console report with a shorter version,

with the ability to configure to build to always use the

long console report version (in case for example it's not

simple to retrieve an HTML report from a CI build).

The HTML report explains what errors the user is facing

in context, and links to the documentation for further

details.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 13 more files in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 2 more files in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 2 more files in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

    • -1
    • +4
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 2 more files in changeset.
Performance optimization for verification

Dependency verification may produce a number of

verification events which are only relevant if,

eventually, a fatal verification failure occurs.

If it's not the case, there will not be any

verification failure, therefore it's unnecessary

to perform formatting of an error message.

Previously, we would always check for verification

failures even if, in the end, there would only

be non fatal ones, which slows down IDE syncing.

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Tweak error messages

    • -2
    • +2
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 3 more files in changeset.
Make some error messages clearer

    • -7
    • +3
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 4 more files in changeset.
Make some error messages clearer

    • -7
    • +3
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 4 more files in changeset.
Rework error message in case verification loading fails

As #11775 shows that dependency verification initialization

may fail for a different reason than not being able to parse

the file, the exception is more generic and the cause will

give the details.

    • -2
    • +3
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 2 more files in changeset.
Rework error message in case verification loading fails

As #11775 shows that dependency verification initialization

may fail for a different reason than not being able to parse

the file, the exception is more generic and the cause will

give the details.

    • -2
    • +3
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 2 more files in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 1 more file in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 11 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 11 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +71
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 11 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 11 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +71
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 11 more files in changeset.
Update the error message to link to the docs

    • -2
    • +7
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 5 more files in changeset.
Update the error message to link to the docs

    • -2
    • +7
    ./DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 5 more files in changeset.