-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We really do not need a release branch for this package #40
Comments
I don't feel qualified to give an opinion here as I don't actually manage releases. It took me long enough to figure out the current release model. Can you explain a bit about the new workflow? And
|
We have to open a PR and/or merge what's getting released onto the release branch, where the version string is then manually updated, pushed, then tagged. Too many steps when we are 100% of the time merging
That's the thing. There would only be one maintained version of the package,
Nope. While we do this on PyVista, it just doesn't make sense here. This package is too small, and there should only be one maintained version: latest... I want to emphasize this what we are already doing here in practice... just with extra steps.
The PRs would go away, but the release notes listing all the changes would still get generated on the GitHub Release itself. If we switch to use The advantage of this approach is that you never have to hard-code a version. The version numbers are created when installing it (e.g., Example of version numbers:
This makes it so we can just tag |
I want to add that, AFAIK, using |
What we have implemented here (adopted from practices set for PyVista) is adopted from trunked based development which is tailored to large projects with lots of active development: https://trunkbaseddevelopment.com/branch-for-release/ |
Oops, I came here via email notification and didn't notice this wasn't the pyvista main repo... Sorry, and please ignore my concerns (but I'll read your detailed reply later when I get the chance). |
All good! I find it useful to document these things either way FYI, we won't be getting rid of release branches for the main PyVista repo anytime soon - PyVista is an excellent example of where it makes sense to use release branches |
I'm +1 for making it simpler here. Although when I released here, it was pretty painless other than bumping version numbering. But any friction is bad if it is unneeded. |
That's a bit surprising because I've never heard of it (which is not a very strong statement, mind you). I took a quick look around the "big" libraries I usually have around (numpy, scipy, matplotlib, pandas, sympy) and only matplotlib uses it. In any case if it would be useful, it should be fine. |
Having a dedicated release branch is massive overkill for this package and adds overhead to cutting releases. We should switch the versioning mechanism to use
setuptools_scm
and tag directly on themain
branch.@pyvista/developers, thoughts?
The text was updated successfully, but these errors were encountered: