-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
git tag was not created for 4.3.0 #2753
Comments
I wonder if it's a limitation of using |
As far as I remember, we already had discussions about PATs, but tried to avoid it as they have a limited lifetime as well. According to the docs, our approach should work, although it seems like push protections prevent this from actually running correctly. |
Yes, my guess was as well that this is a security mechanism. I'm uncertain if there is a reasonable way around it. In the end, I also would trust you @stefan6419846 / @pubpub-zz enough to handle releases for pypdf. So I'm also thinking about simply giving you maintainer permissions. |
It looks to me like there's a tag there (at least now), but it's not signed, which is a departure from previous releases. |
We do.
Scott K
|
I could force-push a signed tag. Could that cause issues? The workflow will attempt to create a new release on pypi, but that will fail (which is ok) |
In Debian our tooling is set up to pull from a signed tag, so for us, that's what's most important. |
@pubpub-zz @stefan6419846 You have done a great job as core contributors to pypdf for an extended period of time. I trust your intentions and abilities, hence I gave both of you the "Maintainer" permissions on the pypdf repository. That should mean you can trigger the release by merging a "REL: XYZ" commit in future. |
Yes. I can wait for the next release.
Scott K
|
Release 4.3.1 failed in CI again. As far as I understand, the executing user (probably GitHub Actions in this case) needs push permissions for protected branches - even if just creating a tag: https://github.blog/changelog/2021-11-19-allow-bypassing-required-pull-requests/ |
I've created the tag manually via I'll look more into that next week 👀 🥲 |
That worked. Thanks. |
@MartinThoma |
@MartinThoma |
@kitterma |
@MartinThoma |
No. I can see the tag, but it's not signed. The commit is signed, but the tag is not. If you look in the GitHub U/I both 4.2.0 and 5.0.0 both show as verified, but if you click on the little verified tag for the tag it shows a signed tag in 4.2.0 (and 4.3.1) and a signed commit in 5.0.0. I guess this is progress, but it's the tag we need to verify. |
Could you please elaborate why each tag needs to be signed and verifiable in this case? While I appreciate a good relationship and factual discussion between downstream and upstream, I do not really understand why you as the downstream packager for a distro have to strictly rely on each of our upstream tags to actually be signed? (The goal is to further automate creating tags once we manage to fix the remaining CI issues and AFAIK these tags will not be signed as well unless we explicitly implement it.) |
at next release (most probably by end of the month) I will test if the tag can be signed. |
This is mostly a reminder for me to check why the git tag was not created for the commit
REL: 4.3.0
.Something does not work as expected with https://github.com/py-pdf/pypdf/blob/main/.github/workflows/release.yaml
The text was updated successfully, but these errors were encountered: