Replies: 2 comments
|
Thanks @shum23 I think moving to just having a We can make temporary release branches while preparing the release as required still. Then if we e.g. want to release only a subset of commits that is currently on main, we can always tag the release branch if required? I think it would be good if we can automate as much of the release cycle as possible too... |
|
Thanks @phrgab. I've updated the installation instructions and contributing guide there in #37. I suggest that once everything is ready, we merge it all into |
Uh oh!
There was an error while loading. Please reload this page.
We've been thinking about whether the current
main+devprotocol is still the most sensible way for contribution and release, and whether migrating to a more streamlined workflow would lower friction for contributors. The current protocol has worked well but as the contributor base grows we've noticed some recurring friction worth addressing. Posting here to gather thoughts first.Current protocol
maintracks the latest stable release on pypi; untouched until a dedicated release branch is merged in.devis where features and fixes land; contributors branch offdevand PR back intodev. A release branch is then made fromdev.devandmain, corresponding to 'latest' and version numbers in the docs switcher.Potential new workflow
main. Feature/fix branches offmainand PR back intomain.Reasoning
dev--> bumpreleaseversion --> mergereleaseintomain--> back-mergemainintodev--> bumpdevversion' includes multiple merges and is a bit back-and-forth and easy to get wrong (e.g. accidental divergence between branches) and adds friction to maintenancemaintodevand this option is not editable once the PR has been raised. A single source is clear and lowers the barrier to entry for new contributors.devbecause auto-closing only works for the default branch (main). Manual closing is often needed.main/devsplit seems to duplicate it. And installing from source still works fine by appending a tagxarray,numpy.Migration
devbranch into main and deletedevpip install git+<repo>@devworkflows will break. Update the installation instructions and contributing guideOpen questions
devvsdev0(dev plus an incremental number) for the dev version suffix?All reactions