-
Notifications
You must be signed in to change notification settings - Fork 120
[SKIP] re-work bump-version-on-push.yml
#175
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
Conversation
I know I'm a little removed from this project, time constraints and all that, but I'd like to leave a couple comments here. First, traditionally we've done squash commits to keep the history clean and easy to revert. I see that your last commit did not follow that. I personally consider this to be a bad practice. Second, I would be against touching a logic that has been working well, stably, without a single issue, for at least 7 years. I get the need to standardize things but this is such a small file and such a straightforward process to understand that I cannot see what benefits would come from changing (radically) this process. Change for the sake of change isn't great. There are plenty of other things that need work in pdb-tools, CI is definitely not one of them. |
I was hoping to get your attention on this one @JoaoRodrigues :) Yep, I myself also prefer to do squash commits and that's how I do in the other repos - in which most of them are configured to be the only possible way to merge. Which is something that is not configured here. And as for this file, you mentioned it yourself, you are not so involved in this project and I see your credentials are directly linked into this action - something that I consider bad practice. My motivation to remove this and to re-work the CI is to facilitate the maintenance of this code so it follows in line with the other ones, specially considering its kind of of my job. I would rather not touch this repository at all, so it's definitively not just for the sake of change. I'm also fine with keeping it - but then please take your time to re-configure the repository to disallow merge commits and/or configure any other setting that follows your practices. I'm going to set you as a reviewer here so you can decide on it. |
I think the documentation here is clear enough regarding the processes we implemented originally. Feel free to change whatever settings and credentials you need, I see you are an admin of the project so you should have the authority to do so. I was just offering my opinion based on my experience with this project (and others) throughout the years. |
Thanks! I guess we can keep this logic of automatic version bumping. But I'd still suggest a reconfiguration of the repository to enforce the contributing guidelines rather than assume people will follow it and re-work the credentials. Even more so because this project is not under https://pypi.org/user/bonvinlab. We can re-use this PR to work on that. Let's follow rule #1 (: @amjjbonvin, would you rather re-configure or keep as is? |
Thanks! I guess we can keep this logic of automatic version bumping. But I'd still suggest a reconfiguration of the repository to enforce the contributing guidelines rather than assume people will follow it and re-work the credentials. Even more so because this project is not under https://pypi.org/user/bonvinlab.
Agreed.
|
bump-version-on-push.yml
bump-version-on-push.yml
bump-version-on-push.yml
bump-version-on-push.yml
I added logic in I changed Finally changed the job of publishing a package to PyPI to use Trusted Publisher Management in place of credentials baked in the repository. Tried to be as conservative as possible in these changes, tested out the |
This PR removes thebump-version-on-push.yml
- while it's a nice implementation it is also outdated and we should use a similar pipeline to the other codes from the group.This PR re-works the
bump-version-on-push.yml
, replacing the deprecatedbump2version
and changing the way the versions are pushed to pypi