-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Update contributing guide #1196
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@hynek drop the requirement for the branches to be rebased. |
what exactly does that mean? I've switched off the need update 🤔: Is it linear history? |
linear history off doesn't work either |
This is no productive workflow, I've given you admin privileges please look yourself. ;) |
but yeah lock branch was always on, so nobody pushes directly. |
Okay, will do :) |
That doesn't sound right. It's supposed to block virtually any updates, unless you merge bypassing the restrictions.. |
@hynek so yeah, I think I've unchecked |
@hynek I'll leave clicking "Merge when ready" to you so you could experience how this works. |
stares excitedly |
It didn't trigger the pypi workflow but I think that's OK. I've removed the requirement. |
@hynek ah, this https://github.com/python-attrs/attrs/actions/runs/6694666592? It still happened post-merge, on |
I've been doing something different lately which is similar to your sdist workflow but goes a step further: https://github.com/hynek/svcs/blob/84726ff72eb080f6464e1ec8f9d25912eb3230a8/.github/workflows/ci.yml#L21-L66 I'll move attrs to it when… I have time 🤡 |
@hynek it's actually pretty much the same AFAICS |
@hynek did you replace the action with a |
Yeah the wheel was the reason. Given I want to use my own builder/linter it didn't give me much if anything. I don't remember the exact details anymore, but I'm not sure what I'd need an opaque action for? Like what could I save compared to status quo? it's just a download + un-tar. 🤔 But yes, "pre-built wheels for code, everything else from sdist" is the way to go IMHO. Nothing gets closer to what we ship so I really like it. |
Here's a PR @webknjaz – I even made it out of sync with main. ;)