Skip to content

Consider providing an option to warn users about read-only source files when dryRun feature is used #5009

Answered by timtebeek
gnsuryan asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for the additional context; my expectation would be that you run rewrite:dryRun, and then git apply the .patch file it produces; That way you'll get notified about any write issues at that stage, and can alert the users as needed.

Others might have a different workflow, for instance running a dryRun on a CI environment where it's perfectly fine to have read only source files. As such I don't think it makes sense for us to report a warning in those cases, especially with that eye towards Maven 4.

I will however monitor further replies and comments here such that if more demand for this pops up in the future we can reevaluate then. Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gnsuryan
Comment options

@timtebeek
Comment options

Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants