-
Notifications
You must be signed in to change notification settings - Fork 13
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
Review/release process #3
Comments
Just make this automatic and publish from GitHub Actions on new tag |
Let's make it two weeks to give people some time. |
Two weeks can be a very long time in some cases though. E.g. when devs discover a bug in the typings, and may be required to wait two weeks before a fix is merged. |
Two weeks is what we agreed on for the specs, but I see that for code it could be a long time. If it doesn't make the process too complicated, maybe one week for patches, two weeks for changes that will result in a new minor/major version? |
Yeah, some compromise may be needed. Just need to avoid PRs that only get reviewed by one or two people while others are unavailable. What if we did something like this:
We can adjust those numbers based on consensus. **Edit: ** I might actually prefer @bergos suggestion or some hybrid. Want to keep it simple but always hard to anticipate what protocols will be like in practice. |
Both suggestions sound good to me, no preference for either one on my end. This is also something we can tweak afterwards if we notice that things are not working out. |
I'd also propose we
There are a few tools to do things like this: changesets, api-extractor, typedoc |
👍 to atlassian changesets but they will make deployment more difficult to automate. I have never really tried their proposed GitHub Actions workflow
And what if the 3 types packages were indeed 3 types packages.
And then we can keep |
That's an interesting thought, but I think since the types are fairly coupled together: I don't see a real reason to split them up now, but if |
I also don't think splitting is needed. A single typings package should be fine. Regarding changelogs, I don't have a big preference, as long as it doesn't put too much overhead on the release process. |
Splitting would be useful if we'd want to version the types for each spec independently. Dependencies between them are not a problem and changesets handles that nicely. Otherwise the preferred usage will be to install the meta package anyway. Otherwise, I've been using standard-version for generating version increments and changelog based on conventional commit messages. That has a downside thought that requires rewriting history is we make mistakes and is a potential barrier for contributors and a burden on maintainers. Yes, thinking out loud here, I would vote for |
Let's push this forward. We are almost done with the publishing. Might get back to the organisational decisions. How do you reflect on your original proposals @blake-regalia? I see that entire team core has admin right to the repo. DO you intend to keep it that way? |
I created a types team and started adding people; we should follow this thread up with a PR for adding a PR template and contributing guidelines in README. I can get this started |
About teams and access, I would also reduce core team to Also, I propose branch protection rule for master to require reviews. |
Let's discuss the review and release process that we want to follow in this package.
I propose the following:
I would give everyone of the GH team 'types' npm publish rights. The person who merges the PR is the one who publishes to npm.
The text was updated successfully, but these errors were encountered: