Changes between Version 1 and Version 2 of SummerOfCode/bump


Ignore:
Timestamp:
Aug 16, 2019, 5:17:55 AM (5 years ago)
Author:
satraul (Satryaji Aulia)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummerOfCode/bump

    v1 v2  
    2020== What hasn't been done
    2121
    22 **@version/--livecheck argument**
     22**@version argument**
    2323
    2424Ideally, the port maintainer doesn't have to manually update the Portfile's version first before running `port bump`, instead with simply running `port bump @version`, MacPorts will change the version by itself.
     
    2626
    2727This idea can be discussed further with the people from the PR or the Xcode project.
     28
     29**--livecheck argument**
     30
     31As 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
     35We 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.
     36To 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
     40Version successfully updated. Suggested commit message:
     41    chromedriver: update to 6.6.3
     42Review your changes and open a Pull Request at:
     43    https://github.com/macports/macports-ports/compare/master...user:master
     44}}}