PEP 752: minor touchups (#3950)

This commit is contained in:
Ofek Lev 2024-09-07 12:25:10 -04:00 committed by GitHub
parent 8fe3ce2fdd
commit 144038b5b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 2 deletions

View File

@ -133,8 +133,9 @@ Parent Namespace
A namespace's parent refers to the namespace without the trailing
hyphenated component e.g. the parent of ``foo-bar`` is ``foo``.
Child Namespace
A namespace's child refers to the namespace with an additional trailing
hyphenated component e.g. the child of ``foo`` is ``foo-bar``.
A namespace's child refers to the namespace with additional trailing
hyphenated components e.g. ``foo-bar`` is a valid child of ``foo`` as is
``foo-bar-baz``.
Specification
=============
@ -217,6 +218,17 @@ other organizations to use the grant. In this case, the authorized
organizations have no special permissions and are equivalent to an open grant
without ownership.
Hidden Grants
-------------
Repositories MAY create hidden grants that are not visible to the public which
prevent their namespaces from being claimed by others. Such grants MUST NOT be
`open <open-namespaces_>`_ and SHOULD NOT be exposed in the
`API <repository-metadata_>`_.
Hidden grants are useful for repositories that wish to enforce upload
restrictions without the need to expose the namespace to the public.
.. _repository-metadata:
Repository Metadata