featurelifecycle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Enhance WarningMode

* Now has a method to indicate if deprecation warnings have to be

printed inline or not

    • -1
    • +1
    ./LoggingDeprecatedFeatureHandler.java
  1. … 1 more file in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

    • -1
    • +12
    ./LoggingDeprecatedFeatureHandler.java
    • -0
    • +24
    ./WarningException.java
  1. … 3 more files in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

* Enhances the build result, possibly

making its failure a MultipleBuildFailures

Fixes #6491

    • -1
    • +13
    ./LoggingDeprecatedFeatureHandler.java
  1. … 4 more files in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

* Enhances the build result, possibly

making its failure a MultipleBuildFailures

Fixes #6491

    • -2
    • +14
    ./LoggingDeprecatedFeatureHandler.java
  1. … 5 more files in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

* Enhances the build result, possibly

making its failure a MultipleBuildFailures

Fixes #6491

    • -2
    • +14
    ./LoggingDeprecatedFeatureHandler.java
  1. … 5 more files in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

* Enhances the build result, possibly

making its failure a MultipleBuildFailures

Fixes #6491

    • -1
    • +13
    ./LoggingDeprecatedFeatureHandler.java
  1. … 4 more files in changeset.
Fail on deprecation warning

* Adds one more option to warning-mode: fail

* If fail is activated, the build will fail at the end if any

deprecation warnings were reported

* Enhances the build result, possibly

making its failure a MultipleBuildFailures

Fixes #6491

    • -2
    • +14
    ./LoggingDeprecatedFeatureHandler.java
  1. … 4 more files in changeset.
Upgrade commons-lang{->3} replacing packages

  1. … 175 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./DefaultDeprecatedUsageProgressDetails.java
  1. … 1004 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./DefaultDeprecatedUsageProgressDetails.java
  1. … 998 more files in changeset.
Stack traces emitted by Gradle are stabilised to improve deduplication (#7859)

  1. … 2 more files in changeset.
Stack traces emitted by Gradle are stabilised to improve deduplication

- filtering out all system stackframes from emitted stacktraces

  1. … 2 more files in changeset.
Deprecate JDepend plugin

Issue: #6652

  1. … 8 more files in changeset.
Reinstate requirement for removal details in deprecation notices (#6080)

* Reinstate requirement for removal details in deprecation notices

If something is deprecated, it must be removed at some point (otherwise there is no point). Removing doesn't have to mean “physically” removing the _thing_. In the case in question, we will be removing the functionality but keeping the method (because its part of an interface we have to fulfill).

  1. … 3 more files in changeset.
Allow nullable removal advice in deprecations

Polish the deprecation model (#6073)

- Tighten up nullability

- Strengthen the model by making how incubating and deprecated usages explicit

    • -2
    • +2
    ./DefaultDeprecatedUsageProgressDetails.java
    • -2
    • +1
    ./DeprecatedUsageBuildOperationProgressBroadaster.java
    • -0
    • +20
    ./DeprecatedUsageProgressDetails.java
    • -0
    • +23
    ./IncubatingFeatureUsage.java
    • -3
    • +3
    ./LoggingDeprecatedFeatureHandler.java
    • -2
    • +2
    ./LoggingIncubatingFeatureHandler.java
  1. … 8 more files in changeset.
Deprecation progress events are enriched to allow better visualisation (#6034)

Update deprecation model; tweak deprecation messages

* some renamings in feature usage

* introduce feature usage type

* introduce contextual advice for deprecation messages

    • -4
    • +14
    ./DefaultDeprecatedUsageProgressDetails.java
    • -2
    • +11
    ./DeprecatedUsageProgressDetails.java
    • -2
    • +2
    ./LoggingIncubatingFeatureHandler.java
  1. … 25 more files in changeset.
Expose deprecation warning messages and stacktraces via build operations (#5881)

Expose deprecation warnings as operation progress events

- introduce split of message, warning and advice

- make deprecation progress events immutable

- rework deprecation handling/messages to support more a richer model

- update build operation progress model

- tweak existing deprecation warnings to match new model

- Add performance test + make stacktrace calculation for build ops lazy

- Always include a trace with FeatureUsage now that its always required

    • -0
    • +46
    ./DefaultDeprecatedUsageProgressDetails.java
    • -0
    • +49
    ./DeprecatedUsageBuildOperationProgressBroadaster.java
    • -0
    • +37
    ./DeprecatedUsageProgressDetails.java
    • -14
    • +21
    ./LoggingDeprecatedFeatureHandler.java
  1. … 61 more files in changeset.
Fix location

    • -2
    • +1
    ./LoggingDeprecatedFeatureHandler.java
Adjust deprecation message

    • -4
    • +10
    ./LoggingDeprecatedFeatureHandler.java
    • -0
    • +1
    ./buildscan/DeprecationMessagesBuildOperationType.java
    • -4
    • +13
    ./buildscan/PublishDeprecationMessageOperation.java
Polish up deprecation message publishing

    • -44
    • +20
    ./LoggingDeprecatedFeatureHandler.java
    • -0
    • +30
    ./buildscan/DeprecationMessagesBuildOperationType.java
    • -0
    • +46
    ./buildscan/PublishDeprecationMessageOperation.java
Implement the build-scan integration

    • -2
    • +41
    ./LoggingDeprecatedFeatureHandler.java
  1. … 3 more files in changeset.
It doesn't matter

    • -1
    • +1
    ./LoggingDeprecatedFeatureHandler.java
  1. … 2 more files in changeset.
Make deprecation summary actionable

See https://github.com/gradle/gradle/issues/4379.

    • -1
    • +3
    ./LoggingDeprecatedFeatureHandler.java
  1. … 1 more file in changeset.
Refactor SingleMessageLogger

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -0
    • +26
    ./FeatureHandler.java
    • -0
    • +103
    ./FeatureUsage.java
    • -10
    • +32
    ./LoggingDeprecatedFeatureHandler.java
    • -0
    • +41
    ./LoggingIncubatingFeatureHandler.java
  1. … 14 more files in changeset.
Move warning summary to immediately before build summary

This makes it much more likely that the last 2 things the user will

see in order are: warning summary then build summary (then

build scan link, if configured)

Issue: #4042

Signed-off-by: Eric Wendelin <eric@gradle.com>

    • -3
    • +7
    ./LoggingDeprecatedFeatureHandler.java
  1. … 11 more files in changeset.
Change "there're" to "there are" in deprecation warnings

Signed-off-by: Eric Wendelin <eric@gradle.com>

    • -1
    • +1
    ./LoggingDeprecatedFeatureHandler.java
  1. … 4 more files in changeset.
Rename WarningType to WarningMode

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -7
    • +7
    ./LoggingDeprecatedFeatureHandler.java
  1. … 29 more files in changeset.
Use warningType instead of warningTypes

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -9
    • +5
    ./LoggingDeprecatedFeatureHandler.java
  1. … 24 more files in changeset.
Rebase master and polish up #3847

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -3
    • +7
    ./LoggingDeprecatedFeatureHandler.java
  1. … 9 more files in changeset.