Skip to content
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

Release policy and access #13446

Open
jpakkane opened this issue Jul 18, 2024 · 5 comments
Open

Release policy and access #13446

jpakkane opened this issue Jul 18, 2024 · 5 comments

Comments

@jpakkane
Copy link
Member

Currently I do all the releases. Which is fine and works, but has a bus factor of one. So maybe it should be expanded. We currently do

  • Github release tarballs
  • PyPI packages
  • MSI packages
  • (sortof) Debian packages

So who should have access rights for these? All those with admin rights in Github? Someone else?

Another question is whether some of these could be automated? Like building and uploading PyPI packages when a new release is added to GH? All of these are already done with scripts so this is more of an issue of access token management.

@eli-schwartz
Copy link
Member

I also do Gentoo packages, although like the Debian ones this isn't strictly part of the release process for Meson itself.

I am happy to help out with releasing to github and PyPI, although I'm not set up to do MSI packages.

I already sign all git commits if possible so also signing tags and tarballs is not a problem.

@QuLogic
Copy link
Member

QuLogic commented Jul 18, 2024

PyPI publishing can be automated with Trusted Publishers; there is no need for token management, as permissions can be managed by GitHub environment settings.

@eli-schwartz
Copy link
Member

We need to make the (PGP-signed) release for github releases either way so I'm not entirely sure how much we'd save by automatically making a second copy for PyPI.

@dcbaker
Copy link
Member

dcbaker commented Jul 18, 2024

Has anyone looked at how hard it would be to automate the signed github tarball and MSI installer? We've been doing the "trusted publishers" thing for vscode-meson, which has worked very well (although I might be a bus factor due to being the only one in the packaging orgs...)

@QuLogic
Copy link
Member

QuLogic commented Jul 18, 2024

We need to make the (PGP-signed) release for github releases either way so I'm not entirely sure how much we'd save by automatically making a second copy for PyPI.

Only the tarball is signed though? So Trusted Publishing could be triggered on releases, and do the wheel and PyPI parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants