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

Add PyPI trusted publisher as an option #93

Merged
merged 15 commits into from
Mar 4, 2024
Merged

Add PyPI trusted publisher as an option #93

merged 15 commits into from
Mar 4, 2024

Conversation

M-Chan
Copy link
Collaborator

@M-Chan M-Chan commented Feb 9, 2024

closes #40

@M-Chan M-Chan requested a review from coretl February 9, 2024 17:01
Copy link
Contributor

@coretl coretl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you also add a "migration" for version 2.0.0 that print a message to the user to visit https://diamondlightsource.github.io/python-copier-template/2.0.0/how-to/pypi.html to find out how to setup PyPI trusted publishing. I will add to this PR to modify pypi.md so it has the right docs and change the developer portal to match.

catalog-info.yaml Outdated Show resolved Hide resolved
copier.yml Outdated Show resolved Hide resolved
@coretl
Copy link
Contributor

coretl commented Feb 15, 2024

I've force pushed and added docs so when you're done with the changes I can review it again

@M-Chan M-Chan requested a review from coretl February 23, 2024 11:01
Copy link
Contributor

@coretl coretl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think my commits to pypi.md got lost at some point, please can you restore:
5253eb3

copier.yml Outdated Show resolved Hide resolved
copier.yml Outdated Show resolved Hide resolved
template/README.md.jinja Outdated Show resolved Hide resolved
template/README.md.jinja Outdated Show resolved Hide resolved
@M-Chan M-Chan requested a review from coretl February 27, 2024 09:16
copier.yml Outdated Show resolved Hide resolved
coretl
coretl previously approved these changes Feb 27, 2024
@coretl coretl requested a review from gilesknap February 27, 2024 17:20
gilesknap
gilesknap previously approved these changes Feb 28, 2024
Copy link
Contributor

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks all good to me.

I see that we are opinionated on requiring use of trusted publishing. Approved.

@coretl coretl requested a review from gilesknap March 4, 2024 10:28
Copy link
Contributor

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@M-Chan M-Chan merged commit bac6c94 into main Mar 4, 2024
12 checks passed
@coretl coretl deleted the for_1.1.0_release branch March 4, 2024 10:42
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

Successfully merging this pull request may close these issues.

Add PyPI trusted publisher
3 participants