| 28 | |
| 29 | **--livecheck argument** |
| 30 | |
| 31 | As the extension of the @version argument, `port livecheck` should be integrated somehow so MacPorts will bump to the latest version from livecheck. |
| 32 | |
| 33 | ** Extended goals: batch bump, dry run, and Git actions |
| 34 | |
| 35 | We could also implement a batch bump function that bumps a lot of ports at once. Doing this is dangerous unsupervised, so ideally it should also build and test the Port. Or it could run semi-automated with human supervision. |
| 36 | To further extend the functionality, we could take inspiration from brew’s bump-formula-pr which can do a dry run (only printing what would be the changes) or automatically take Git actions, such as commits or opening a PR. Just like the batch functionality, the updated Port should first be built and test before being commit. To avoid over-automating, we could tell the user the link to open a PR instead of doing it for them. For example: |
| 37 | {{{ |
| 38 | $ port bump |
| 39 | ---> Bumping checksums for libpng |
| 40 | Version successfully updated. Suggested commit message: |
| 41 | chromedriver: update to 6.6.3 |
| 42 | Review your changes and open a Pull Request at: |
| 43 | https://github.com/macports/macports-ports/compare/master...user:master |
| 44 | }}} |