Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
if: github.repository_owner == 'pypa' # suppress noise in forks
if: github.event.repository.fork == false # suppress noise in forks
uses: ./.github/workflows/test.yml

...
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions: {}
jobs:
build:
name: ${{ matrix.noxenv }}
if: ${{ github.repository_owner == 'pypa' || github.event_name != 'schedule' }}
if: ${{ github.event.repository.fork == false || github.event_name != 'schedule' }}
runs-on: ubuntu-latest
timeout-minutes: 20
continue-on-error: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'pypa'
if: github.event.repository.fork == false

permissions:
contents: write # to push to I18N_BRANCH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-uv-build-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
update-uv-build-version:
name: Update uv_build version
if: github.repository_owner == 'pypa' # suppress noise in forks
if: github.event.repository.fork == false # suppress noise in forks
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
14 changes: 7 additions & 7 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
html_theme = "furo"

html_theme_options = {
"source_edit_link": "https://github.com/pypa/packaging.python.org/edit/main/source/{filename}",
"source_view_link": "https://github.com/pypa/packaging.python.org/blob/main/source/{filename}?plain=true",
"source_edit_link": "https://github.com/python/packaging.python.org/edit/main/source/{filename}",
"source_view_link": "https://github.com/python/packaging.python.org/blob/main/source/{filename}?plain=true",
}

html_favicon = "assets/py.png"
Expand Down Expand Up @@ -151,10 +151,10 @@
r"https://pypi\.org/manage/.*",
r"https://test\.pypi\.org/manage/.*",
# Temporarily ignored. Ref:
# https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
# https://github.com/python/packaging.python.org/pull/1308#issuecomment-1775347690
r"https://www\.breezy-vcs\.org/.*",
# Ignore while StackOverflow is blocking GitHub CI. Ref:
# https://github.com/pypa/packaging.python.org/pull/1474
# https://github.com/python/packaging.python.org/pull/1474
r"https://stackoverflow\.com/.*",
# Cloudflare challenge blocks automated link checking.
r"https://clickpy\.clickhouse\.com/$",
Expand All @@ -169,7 +169,7 @@
r"https://docutils\.sourceforge\.io/.*",
r"https://hosted\.weblate\.org/.*",
# Temporarily ignored due to expired TLS cert.
# Ref: https://github.com/pypa/packaging.python.org/issues/1998
# Ref: https://github.com/python/packaging.python.org/issues/1998
r"https://blog\.ganssle\.io/.*",
# Temporarily ignored due to expired TLS cert.
r"https://kivy.org/.*",
Expand All @@ -184,7 +184,7 @@
r"https://github\.com/",
r"https://docs\.github\.com/",
# While PyPI has its botscraping defenses active, Sphinx can't resolve the anchors
# https://github.com/pypa/packaging.python.org/issues/1744
# https://github.com/python/packaging.python.org/issues/1744
r"https://pypi\.org/",
]
# Authenticate requests to github.com (when a token is available) to avoid
Expand All @@ -199,7 +199,7 @@
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#configuration

github_url = "https://github.com"
github_repo_org = "pypa"
github_repo_org = "python"
github_repo_name = "packaging.python.org"
github_repo_slug = f"{github_repo_org}/{github_repo_name}"

Expand Down
8 changes: 4 additions & 4 deletions source/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Most of the work on the |PyPUG| takes place on the
`open issues`__ and `pull requests`__. If you're planning to write or edit
the guide, please read the :ref:`style guide <contributing_style_guide>`.

.. __: https://github.com/pypa/packaging.python.org/
.. __: https://github.com/pypa/packaging.python.org/issues
.. __: https://github.com/pypa/packaging.python.org/pulls
.. __: https://github.com/python/packaging.python.org
.. __: https://github.com/python/packaging.python.org/issues
.. __: https://github.com/python/packaging.python.org/pulls

By contributing to the |PyPUG|, you're expected to follow the PSF's
`Code of Conduct`__.
Expand Down Expand Up @@ -86,7 +86,7 @@ please open an issue on `GitHub`_.

.. _Weblate: https://weblate.org/
.. _packaging.python.org: https://hosted.weblate.org/projects/pypa/packaging-python-org/
.. _GitHub: https://github.com/pypa/packaging.python.org/issues
.. _GitHub: https://github.com/python/packaging.python.org/issues
.. _reStructuredText syntax: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html

Adding a language
Expand Down
2 changes: 1 addition & 1 deletion source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tools.
This guide is maintained on `GitHub`_ by the :doc:`Python Packaging Authority <pypa:index>`. We
happily accept :doc:`contributions and feedback <contribute>`. 😊

.. _GitHub: https://github.com/pypa/packaging.python.org
.. _GitHub: https://github.com/python/packaging.python.org


Overview and Flow
Expand Down
4 changes: 2 additions & 2 deletions source/key_projects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ Python Packaging User Guide
===========================

:doc:`Docs <index>` |
`Issues <https://github.com/pypa/packaging.python.org/issues>`__ |
`GitHub <https://github.com/pypa/packaging.python.org>`__
`Issues <https://github.com/python/packaging.python.org/issues>`__ |
`GitHub <https://github.com/python/packaging.python.org>`__

This guide!

Expand Down