-
Notifications
You must be signed in to change notification settings - Fork 981
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
Gitlab's repository URL didn't marked as verified after trusted publishing #16475
Comments
What happens if you change your GitLab URL to remove the warehouse/warehouse/forklift/legacy.py Lines 485 to 488 in 293a230
(Tweaking this check is tricky, but not necessarily impossible -- we'd need to special case suffixes like |
Didn't tested it yet, but I believe it will be fine
Just a note here that the repository URL example in the "Writing your pyproject.toml" PyPA article have (it's a place where I referenced while writing pyproject.toml for my initial pypi publishing) |
Gotcha! TIL that's recommended in the PyPA guide 🙂 (I was off in my estimation too -- it should be relatively easy for us to specialize the suffix check for GitHub and GitLab.) |
Describe the bug
I just tested URL verify (merged in the #16205) for Gitlab and found that repository git URL didn't became verified: https://pypi.org/project/apt-mirror/9a1/
Expected behavior
Gitlab URLs like
https://gitlab.com/apt-mirror2/apt-mirror2.git
are verified after trusted publishing.The text was updated successfully, but these errors were encountered: