|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python Packaging User Guide \n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2024-03-04 14:23+0000\n" |
| 11 | +"POT-Creation-Date: 2024-03-07 13:21+0000\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -4737,47 +4737,51 @@ msgstr "" |
4737 | 4737 | msgid "Firstly, it uses the `sigstore/gh-action-sigstore-python GitHub Action`_ to sign the distribution packages. In the next step, an empty GitHub Release from the current tag is created using the ``gh`` CLI. Note this step can be further customised. See the `gh release documentation <https://cli.github.com/manual/gh_release>`_ as a reference." |
4738 | 4738 | msgstr "" |
4739 | 4739 |
|
4740 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:174 |
| 4740 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:176 |
| 4741 | +msgid "You may need to manage your ``GITHUB_TOKEN`` permissions to enable creating the GitHub Release. See the `GitHub documentation <https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-default-github_token-permissions>`_ for instructions. Specifically, the token needs the ``contents: write`` permission." |
| 4742 | +msgstr "" |
| 4743 | + |
| 4744 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:182 |
4741 | 4745 | msgid "Finally, the signed distributions are uploaded to the GitHub Release." |
4742 | 4746 | msgstr "" |
4743 | 4747 |
|
4744 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:184 |
| 4748 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:192 |
4745 | 4749 | msgid "This is a replacement for GPG signatures, for which support has been `removed from PyPI <https://blog.pypi.org/posts/2023-05-23-removing-pgp/>`_. However, this job is not mandatory for uploading to PyPI and can be omitted." |
4746 | 4750 | msgstr "" |
4747 | 4751 |
|
4748 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:190 |
| 4752 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:198 |
4749 | 4753 | msgid "Separate workflow for publishing to TestPyPI" |
4750 | 4754 | msgstr "" |
4751 | 4755 |
|
4752 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:192 |
| 4756 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:200 |
4753 | 4757 | msgid "Now, repeat these steps and create another job for publishing to the TestPyPI package index under the ``jobs`` section:" |
4754 | 4758 | msgstr "" |
4755 | 4759 |
|
4756 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:202 |
| 4760 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:210 |
4757 | 4761 | msgid "Requiring manual approvals in the ``testpypi`` GitHub Environment is typically unnecessary as it's designed to run on each commit to the main branch and is often used to indicate a healthy release publishing pipeline." |
4758 | 4762 | msgstr "" |
4759 | 4763 |
|
4760 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:206 |
| 4764 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:214 |
4761 | 4765 | msgid "The whole CI/CD workflow" |
4762 | 4766 | msgstr "" |
4763 | 4767 |
|
4764 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:208 |
| 4768 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:216 |
4765 | 4769 | msgid "This paragraph showcases the whole workflow after following the above guide." |
4766 | 4770 | msgstr "" |
4767 | 4771 |
|
4768 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:216 |
| 4772 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:224 |
4769 | 4773 | msgid "That's all, folks!" |
4770 | 4774 | msgstr "" |
4771 | 4775 |
|
4772 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:218 |
| 4776 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:226 |
4773 | 4777 | msgid "Now, whenever you push a tagged commit to your Git repository remote on GitHub, this workflow will publish it to PyPI. And it'll publish any push to TestPyPI which is useful for providing test builds to your alpha users as well as making sure that your release pipeline remains healthy!" |
4774 | 4778 | msgstr "" |
4775 | 4779 |
|
4776 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:226 |
| 4780 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:234 |
4777 | 4781 | msgid "If your repository has frequent commit activity and every push is uploaded to TestPyPI as described, the project might exceed the `PyPI project size limit <https://pypi.org/help/#project-size-limit>`_. The limit could be increased, but a better solution may constitute to use a PyPI-compatible server like :ref:`pypiserver` in the CI for testing purposes." |
4778 | 4782 | msgstr "" |
4779 | 4783 |
|
4780 | | -#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:234 |
| 4784 | +#: ../source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst:242 |
4781 | 4785 | msgid "It is recommended to keep the integrated GitHub Actions at their latest versions, updating them frequently." |
4782 | 4786 | msgstr "" |
4783 | 4787 |
|
|
0 commit comments