-
Notifications
You must be signed in to change notification settings - Fork 4
Description
We will remake the current rectify. This whole process was started in a now closed PR #337 which ended with this final discussion point by @nevrome
Stephan and I had another discussion about this. Here's a quick summary of my understanding of the results:
The old, non-smart rectify was useful and should be preserved as is. It should get a new name (e.g. modify/alter/manipulate). Its flaw of editing every package below the base directory should be documented clearly. We could consider extra measures like a warning when editing multiple packages, or even a flag that has to be set in case multiple packages will be affected.
A new, smart subcommand rectify should be added. It automatically adds and corrects checksums and bumps the version of packages whose checksums have changed. It has only four options: -d (naturally), --packageVersion VPART and --logText STRING (mandatory), and --newContributors DSL (optional).