|
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-04-03 17:18+0000\n" |
| 11 | +"POT-Creation-Date: 2024-04-13 15:31+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" |
@@ -1987,7 +1987,7 @@ msgstr "" |
1987 | 1987 |
|
1988 | 1988 | #: ../source/guides/analyzing-pypi-package-downloads.rst:75 |
1989 | 1989 | #: ../source/specifications/dependency-specifiers.rst:29 |
1990 | | -#: ../source/specifications/direct-url-data-structure.rst:342 |
| 1990 | +#: ../source/specifications/direct-url-data-structure.rst:344 |
1991 | 1991 | #: ../source/specifications/version-specifiers.rst:1067 |
1992 | 1992 | msgid "Examples" |
1993 | 1993 | msgstr "" |
@@ -8124,7 +8124,7 @@ msgstr "" |
8124 | 8124 | #: ../source/specifications/binary-distribution-format.rst:421 |
8125 | 8125 | #: ../source/specifications/core-metadata.rst:848 |
8126 | 8126 | #: ../source/specifications/dependency-specifiers.rst:476 |
8127 | | -#: ../source/specifications/direct-url-data-structure.rst:392 |
| 8127 | +#: ../source/specifications/direct-url-data-structure.rst:394 |
8128 | 8128 | #: ../source/specifications/direct-url.rst:67 |
8129 | 8129 | #: ../source/specifications/entry-points.rst:164 |
8130 | 8130 | #: ../source/specifications/externally-managed-environments.rst:472 |
@@ -9301,233 +9301,233 @@ msgid "A ``vcs`` key (type ``string``) MUST be present, containing the name of t |
9301 | 9301 | msgstr "" |
9302 | 9302 |
|
9303 | 9303 | #: ../source/specifications/direct-url-data-structure.rst:61 |
9304 | | -msgid "A ``requested_revision`` key (type ``string``) MAY be present naming a branch/tag/ref/commit/revision/etc (in a format compatible with the VCS)." |
| 9304 | +msgid "A ``requested_revision`` key (type ``string``) MAY be present naming a branch/tag/ref/commit/revision/etc (in a format compatible with the VCS). This field MUST match the revision requested by the user and MUST NOT exist when the user did not select a specific revision." |
9305 | 9305 | msgstr "" |
9306 | 9306 |
|
9307 | | -#: ../source/specifications/direct-url-data-structure.rst:63 |
| 9307 | +#: ../source/specifications/direct-url-data-structure.rst:65 |
9308 | 9308 | msgid "A ``commit_id`` key (type ``string``) MUST be present, containing the exact commit/revision number that was/is to be installed. If the VCS supports commit-hash based revision identifiers, such commit-hash MUST be used as ``commit_id`` in order to reference an immutable version of the source code." |
9309 | 9309 | msgstr "" |
9310 | 9310 |
|
9311 | | -#: ../source/specifications/direct-url-data-structure.rst:71 |
| 9311 | +#: ../source/specifications/direct-url-data-structure.rst:73 |
9312 | 9312 | msgid "Archive URLs" |
9313 | 9313 | msgstr "" |
9314 | 9314 |
|
9315 | | -#: ../source/specifications/direct-url-data-structure.rst:73 |
| 9315 | +#: ../source/specifications/direct-url-data-structure.rst:75 |
9316 | 9316 | msgid "When ``url`` refers to a source archive or a wheel, the ``archive_info`` key MUST be present as a dictionary with the following keys:" |
9317 | 9317 | msgstr "" |
9318 | 9318 |
|
9319 | | -#: ../source/specifications/direct-url-data-structure.rst:76 |
| 9319 | +#: ../source/specifications/direct-url-data-structure.rst:78 |
9320 | 9320 | msgid "A ``hashes`` key SHOULD be present as a dictionary mapping a hash name to a hex encoded digest of the file." |
9321 | 9321 | msgstr "" |
9322 | 9322 |
|
9323 | | -#: ../source/specifications/direct-url-data-structure.rst:79 |
| 9323 | +#: ../source/specifications/direct-url-data-structure.rst:81 |
9324 | 9324 | msgid "Multiple hashes can be included, and it is up to the consumer to decide what to do with multiple hashes (it may validate all of them or a subset of them, or nothing at all)." |
9325 | 9325 | msgstr "" |
9326 | 9326 |
|
9327 | | -#: ../source/specifications/direct-url-data-structure.rst:83 |
| 9327 | +#: ../source/specifications/direct-url-data-structure.rst:85 |
9328 | 9328 | msgid "These hash names SHOULD always be normalized to be lowercase." |
9329 | 9329 | msgstr "" |
9330 | 9330 |
|
9331 | | -#: ../source/specifications/direct-url-data-structure.rst:85 |
| 9331 | +#: ../source/specifications/direct-url-data-structure.rst:87 |
9332 | 9332 | msgid "Any hash algorithm available via :py:mod:`hashlib` (specifically any that can be passed to :py:func:`hashlib.new()` and do not require additional parameters) can be used as a key for the hashes dictionary. At least one secure algorithm from :py:data:`hashlib.algorithms_guaranteed` SHOULD always be included. At time of writing, ``sha256`` specifically is recommended." |
9333 | 9333 | msgstr "" |
9334 | 9334 |
|
9335 | | -#: ../source/specifications/direct-url-data-structure.rst:91 |
| 9335 | +#: ../source/specifications/direct-url-data-structure.rst:93 |
9336 | 9336 | msgid "A deprecated ``hash`` key (type ``string``) MAY be present for backwards compatibility purposes, with value ``<hash-algorithm>=<expected-hash>``." |
9337 | 9337 | msgstr "" |
9338 | 9338 |
|
9339 | | -#: ../source/specifications/direct-url-data-structure.rst:94 |
| 9339 | +#: ../source/specifications/direct-url-data-structure.rst:96 |
9340 | 9340 | msgid "Producers of the data structure SHOULD emit the ``hashes`` key whether one or multiple hashes are available. Producers SHOULD continue to emit the ``hash`` key in contexts where they did so before, so as to keep backwards compatibility for existing clients." |
9341 | 9341 | msgstr "" |
9342 | 9342 |
|
9343 | | -#: ../source/specifications/direct-url-data-structure.rst:98 |
| 9343 | +#: ../source/specifications/direct-url-data-structure.rst:100 |
9344 | 9344 | msgid "When both the ``hash`` and ``hashes`` keys are present, the hash represented in the ``hash`` key MUST also be present in the ``hashes`` dictionary, so consumers can consider the ``hashes`` key only if it is present, and fall back to ``hash`` otherwise." |
9345 | 9345 | msgstr "" |
9346 | 9346 |
|
9347 | | -#: ../source/specifications/direct-url-data-structure.rst:103 |
| 9347 | +#: ../source/specifications/direct-url-data-structure.rst:105 |
9348 | 9348 | msgid "Local directories" |
9349 | 9349 | msgstr "" |
9350 | 9350 |
|
9351 | | -#: ../source/specifications/direct-url-data-structure.rst:105 |
| 9351 | +#: ../source/specifications/direct-url-data-structure.rst:107 |
9352 | 9352 | msgid "When ``url`` refers to a local directory, the ``dir_info`` key MUST be present as a dictionary with the following key:" |
9353 | 9353 | msgstr "" |
9354 | 9354 |
|
9355 | | -#: ../source/specifications/direct-url-data-structure.rst:108 |
| 9355 | +#: ../source/specifications/direct-url-data-structure.rst:110 |
9356 | 9356 | msgid "``editable`` (type: ``boolean``): ``true`` if the distribution was/is to be installed in editable mode, ``false`` otherwise. If absent, default to ``false``." |
9357 | 9357 | msgstr "" |
9358 | 9358 |
|
9359 | | -#: ../source/specifications/direct-url-data-structure.rst:111 |
| 9359 | +#: ../source/specifications/direct-url-data-structure.rst:113 |
9360 | 9360 | msgid "When ``url`` refers to a local directory, it MUST have the ``file`` scheme and be compliant with :rfc:`8089`. In particular, the path component must be absolute. Symbolic links SHOULD be preserved when making relative paths absolute." |
9361 | 9361 | msgstr "" |
9362 | 9362 |
|
9363 | | -#: ../source/specifications/direct-url-data-structure.rst:117 |
| 9363 | +#: ../source/specifications/direct-url-data-structure.rst:119 |
9364 | 9364 | msgid "Projects in subdirectories" |
9365 | 9365 | msgstr "" |
9366 | 9366 |
|
9367 | | -#: ../source/specifications/direct-url-data-structure.rst:119 |
| 9367 | +#: ../source/specifications/direct-url-data-structure.rst:121 |
9368 | 9368 | msgid "A top-level ``subdirectory`` field MAY be present containing a directory path, relative to the root of the VCS repository, source archive or local directory, to specify where ``pyproject.toml`` or ``setup.py`` is located." |
9369 | 9369 | msgstr "" |
9370 | 9370 |
|
9371 | | -#: ../source/specifications/direct-url-data-structure.rst:124 |
| 9371 | +#: ../source/specifications/direct-url-data-structure.rst:126 |
9372 | 9372 | msgid "Registered VCS" |
9373 | 9373 | msgstr "" |
9374 | 9374 |
|
9375 | | -#: ../source/specifications/direct-url-data-structure.rst:126 |
| 9375 | +#: ../source/specifications/direct-url-data-structure.rst:128 |
9376 | 9376 | msgid "This section lists the registered VCS's; expanded, VCS-specific information on how to use the ``vcs``, ``requested_revision``, and other fields of ``vcs_info``; and in some cases additional VCS-specific fields. Tools MAY support other VCS's although it is RECOMMENDED to register them by writing a PEP to amend this specification. The ``vcs`` field SHOULD be the command name (lowercased). Additional fields that would be necessary to support such VCS SHOULD be prefixed with the VCS command name." |
9377 | 9377 | msgstr "" |
9378 | 9378 |
|
9379 | | -#: ../source/specifications/direct-url-data-structure.rst:136 |
| 9379 | +#: ../source/specifications/direct-url-data-structure.rst:138 |
9380 | 9380 | msgid "Git" |
9381 | 9381 | msgstr "" |
9382 | 9382 |
|
9383 | | -#: ../source/specifications/direct-url-data-structure.rst:139 |
9384 | | -#: ../source/specifications/direct-url-data-structure.rst:166 |
9385 | | -#: ../source/specifications/direct-url-data-structure.rst:184 |
9386 | | -#: ../source/specifications/direct-url-data-structure.rst:202 |
| 9383 | +#: ../source/specifications/direct-url-data-structure.rst:141 |
| 9384 | +#: ../source/specifications/direct-url-data-structure.rst:168 |
| 9385 | +#: ../source/specifications/direct-url-data-structure.rst:186 |
| 9386 | +#: ../source/specifications/direct-url-data-structure.rst:204 |
9387 | 9387 | msgid "Home page" |
9388 | 9388 | msgstr "" |
9389 | 9389 |
|
9390 | | -#: ../source/specifications/direct-url-data-structure.rst:139 |
| 9390 | +#: ../source/specifications/direct-url-data-structure.rst:141 |
9391 | 9391 | msgid "https://git-scm.com/" |
9392 | 9392 | msgstr "" |
9393 | 9393 |
|
9394 | | -#: ../source/specifications/direct-url-data-structure.rst:142 |
9395 | | -#: ../source/specifications/direct-url-data-structure.rst:169 |
9396 | | -#: ../source/specifications/direct-url-data-structure.rst:187 |
9397 | | -#: ../source/specifications/direct-url-data-structure.rst:205 |
| 9394 | +#: ../source/specifications/direct-url-data-structure.rst:144 |
| 9395 | +#: ../source/specifications/direct-url-data-structure.rst:171 |
| 9396 | +#: ../source/specifications/direct-url-data-structure.rst:189 |
| 9397 | +#: ../source/specifications/direct-url-data-structure.rst:207 |
9398 | 9398 | msgid "vcs command" |
9399 | 9399 | msgstr "" |
9400 | 9400 |
|
9401 | | -#: ../source/specifications/direct-url-data-structure.rst:142 |
9402 | | -#: ../source/specifications/direct-url-data-structure.rst:145 |
| 9401 | +#: ../source/specifications/direct-url-data-structure.rst:144 |
| 9402 | +#: ../source/specifications/direct-url-data-structure.rst:147 |
9403 | 9403 | msgid "git" |
9404 | 9404 | msgstr "" |
9405 | 9405 |
|
9406 | | -#: ../source/specifications/direct-url-data-structure.rst:145 |
9407 | | -#: ../source/specifications/direct-url-data-structure.rst:172 |
9408 | | -#: ../source/specifications/direct-url-data-structure.rst:190 |
9409 | | -#: ../source/specifications/direct-url-data-structure.rst:208 |
| 9406 | +#: ../source/specifications/direct-url-data-structure.rst:147 |
| 9407 | +#: ../source/specifications/direct-url-data-structure.rst:174 |
| 9408 | +#: ../source/specifications/direct-url-data-structure.rst:192 |
| 9409 | +#: ../source/specifications/direct-url-data-structure.rst:210 |
9410 | 9410 | msgid "``vcs`` field" |
9411 | 9411 | msgstr "" |
9412 | 9412 |
|
9413 | | -#: ../source/specifications/direct-url-data-structure.rst:149 |
9414 | | -#: ../source/specifications/direct-url-data-structure.rst:175 |
9415 | | -#: ../source/specifications/direct-url-data-structure.rst:193 |
9416 | | -#: ../source/specifications/direct-url-data-structure.rst:212 |
| 9413 | +#: ../source/specifications/direct-url-data-structure.rst:151 |
| 9414 | +#: ../source/specifications/direct-url-data-structure.rst:177 |
| 9415 | +#: ../source/specifications/direct-url-data-structure.rst:195 |
| 9416 | +#: ../source/specifications/direct-url-data-structure.rst:214 |
9417 | 9417 | msgid "``requested_revision`` field" |
9418 | 9418 | msgstr "" |
9419 | 9419 |
|
9420 | | -#: ../source/specifications/direct-url-data-structure.rst:148 |
| 9420 | +#: ../source/specifications/direct-url-data-structure.rst:150 |
9421 | 9421 | msgid "A tag name, branch name, Git ref, commit hash, shortened commit hash, or other commit-ish." |
9422 | 9422 | msgstr "" |
9423 | 9423 |
|
9424 | | -#: ../source/specifications/direct-url-data-structure.rst:152 |
9425 | | -#: ../source/specifications/direct-url-data-structure.rst:178 |
9426 | | -#: ../source/specifications/direct-url-data-structure.rst:196 |
9427 | | -#: ../source/specifications/direct-url-data-structure.rst:217 |
| 9424 | +#: ../source/specifications/direct-url-data-structure.rst:154 |
| 9425 | +#: ../source/specifications/direct-url-data-structure.rst:180 |
| 9426 | +#: ../source/specifications/direct-url-data-structure.rst:198 |
| 9427 | +#: ../source/specifications/direct-url-data-structure.rst:219 |
9428 | 9428 | msgid "``commit_id`` field" |
9429 | 9429 | msgstr "" |
9430 | 9430 |
|
9431 | | -#: ../source/specifications/direct-url-data-structure.rst:152 |
| 9431 | +#: ../source/specifications/direct-url-data-structure.rst:154 |
9432 | 9432 | msgid "A commit hash (40 hexadecimal characters sha1)." |
9433 | 9433 | msgstr "" |
9434 | 9434 |
|
9435 | | -#: ../source/specifications/direct-url-data-structure.rst:156 |
| 9435 | +#: ../source/specifications/direct-url-data-structure.rst:158 |
9436 | 9436 | msgid "Tools can use the ``git show-ref`` and ``git symbolic-ref`` commands to determine if the ``requested_revision`` corresponds to a Git ref. In turn, a ref beginning with ``refs/tags/`` corresponds to a tag, and a ref beginning with ``refs/remotes/origin/`` after cloning corresponds to a branch." |
9437 | 9437 | msgstr "" |
9438 | 9438 |
|
9439 | | -#: ../source/specifications/direct-url-data-structure.rst:163 |
| 9439 | +#: ../source/specifications/direct-url-data-structure.rst:165 |
9440 | 9440 | msgid "Mercurial" |
9441 | 9441 | msgstr "" |
9442 | 9442 |
|
9443 | | -#: ../source/specifications/direct-url-data-structure.rst:166 |
| 9443 | +#: ../source/specifications/direct-url-data-structure.rst:168 |
9444 | 9444 | msgid "https://www.mercurial-scm.org/" |
9445 | 9445 | msgstr "" |
9446 | 9446 |
|
9447 | | -#: ../source/specifications/direct-url-data-structure.rst:169 |
9448 | | -#: ../source/specifications/direct-url-data-structure.rst:172 |
| 9447 | +#: ../source/specifications/direct-url-data-structure.rst:171 |
| 9448 | +#: ../source/specifications/direct-url-data-structure.rst:174 |
9449 | 9449 | msgid "hg" |
9450 | 9450 | msgstr "" |
9451 | 9451 |
|
9452 | | -#: ../source/specifications/direct-url-data-structure.rst:175 |
| 9452 | +#: ../source/specifications/direct-url-data-structure.rst:177 |
9453 | 9453 | msgid "A tag name, branch name, changeset ID, shortened changeset ID." |
9454 | 9454 | msgstr "" |
9455 | 9455 |
|
9456 | | -#: ../source/specifications/direct-url-data-structure.rst:178 |
| 9456 | +#: ../source/specifications/direct-url-data-structure.rst:180 |
9457 | 9457 | msgid "A changeset ID (40 hexadecimal characters)." |
9458 | 9458 | msgstr "" |
9459 | 9459 |
|
9460 | | -#: ../source/specifications/direct-url-data-structure.rst:181 |
| 9460 | +#: ../source/specifications/direct-url-data-structure.rst:183 |
9461 | 9461 | msgid "Bazaar" |
9462 | 9462 | msgstr "" |
9463 | 9463 |
|
9464 | | -#: ../source/specifications/direct-url-data-structure.rst:184 |
| 9464 | +#: ../source/specifications/direct-url-data-structure.rst:186 |
9465 | 9465 | msgid "https://www.breezy-vcs.org/" |
9466 | 9466 | msgstr "" |
9467 | 9467 |
|
9468 | | -#: ../source/specifications/direct-url-data-structure.rst:187 |
9469 | | -#: ../source/specifications/direct-url-data-structure.rst:190 |
| 9468 | +#: ../source/specifications/direct-url-data-structure.rst:189 |
| 9469 | +#: ../source/specifications/direct-url-data-structure.rst:192 |
9470 | 9470 | msgid "bzr" |
9471 | 9471 | msgstr "" |
9472 | 9472 |
|
9473 | | -#: ../source/specifications/direct-url-data-structure.rst:193 |
| 9473 | +#: ../source/specifications/direct-url-data-structure.rst:195 |
9474 | 9474 | msgid "A tag name, branch name, revision id." |
9475 | 9475 | msgstr "" |
9476 | 9476 |
|
9477 | | -#: ../source/specifications/direct-url-data-structure.rst:196 |
| 9477 | +#: ../source/specifications/direct-url-data-structure.rst:198 |
9478 | 9478 | msgid "A revision id." |
9479 | 9479 | msgstr "" |
9480 | 9480 |
|
9481 | | -#: ../source/specifications/direct-url-data-structure.rst:199 |
| 9481 | +#: ../source/specifications/direct-url-data-structure.rst:201 |
9482 | 9482 | msgid "Subversion" |
9483 | 9483 | msgstr "" |
9484 | 9484 |
|
9485 | | -#: ../source/specifications/direct-url-data-structure.rst:202 |
| 9485 | +#: ../source/specifications/direct-url-data-structure.rst:204 |
9486 | 9486 | msgid "https://subversion.apache.org/" |
9487 | 9487 | msgstr "" |
9488 | 9488 |
|
9489 | | -#: ../source/specifications/direct-url-data-structure.rst:205 |
9490 | | -#: ../source/specifications/direct-url-data-structure.rst:208 |
| 9489 | +#: ../source/specifications/direct-url-data-structure.rst:207 |
| 9490 | +#: ../source/specifications/direct-url-data-structure.rst:210 |
9491 | 9491 | msgid "svn" |
9492 | 9492 | msgstr "" |
9493 | 9493 |
|
9494 | | -#: ../source/specifications/direct-url-data-structure.rst:211 |
| 9494 | +#: ../source/specifications/direct-url-data-structure.rst:213 |
9495 | 9495 | msgid "``requested_revision`` must be compatible with ``svn checkout`` ``--revision`` option. In Subversion, branch or tag is part of ``url``." |
9496 | 9496 | msgstr "" |
9497 | 9497 |
|
9498 | | -#: ../source/specifications/direct-url-data-structure.rst:215 |
| 9498 | +#: ../source/specifications/direct-url-data-structure.rst:217 |
9499 | 9499 | msgid "Since Subversion does not support globally unique identifiers, this field is the Subversion revision number in the corresponding repository." |
9500 | 9500 | msgstr "" |
9501 | 9501 |
|
9502 | | -#: ../source/specifications/direct-url-data-structure.rst:220 |
| 9502 | +#: ../source/specifications/direct-url-data-structure.rst:222 |
9503 | 9503 | msgid "JSON Schema" |
9504 | 9504 | msgstr "" |
9505 | 9505 |
|
9506 | | -#: ../source/specifications/direct-url-data-structure.rst:222 |
| 9506 | +#: ../source/specifications/direct-url-data-structure.rst:224 |
9507 | 9507 | msgid "The following JSON Schema can be used to validate the contents of ``direct_url.json``:" |
9508 | 9508 | msgstr "" |
9509 | 9509 |
|
9510 | | -#: ../source/specifications/direct-url-data-structure.rst:344 |
| 9510 | +#: ../source/specifications/direct-url-data-structure.rst:346 |
9511 | 9511 | msgid "Source archive:" |
9512 | 9512 | msgstr "" |
9513 | 9513 |
|
9514 | | -#: ../source/specifications/direct-url-data-structure.rst:357 |
| 9514 | +#: ../source/specifications/direct-url-data-structure.rst:359 |
9515 | 9515 | msgid "Git URL with tag and commit-hash:" |
9516 | 9516 | msgstr "" |
9517 | 9517 |
|
9518 | | -#: ../source/specifications/direct-url-data-structure.rst:370 |
| 9518 | +#: ../source/specifications/direct-url-data-structure.rst:372 |
9519 | 9519 | msgid "Local directory:" |
9520 | 9520 | msgstr "" |
9521 | 9521 |
|
9522 | | -#: ../source/specifications/direct-url-data-structure.rst:379 |
| 9522 | +#: ../source/specifications/direct-url-data-structure.rst:381 |
9523 | 9523 | msgid "Local directory in editable mode:" |
9524 | 9524 | msgstr "" |
9525 | 9525 |
|
9526 | | -#: ../source/specifications/direct-url-data-structure.rst:394 |
| 9526 | +#: ../source/specifications/direct-url-data-structure.rst:396 |
9527 | 9527 | msgid "March 2020: This specification was approved through :pep:`610`, defining the ``direct_url.json`` metadata file." |
9528 | 9528 | msgstr "" |
9529 | 9529 |
|
9530 | | -#: ../source/specifications/direct-url-data-structure.rst:396 |
| 9530 | +#: ../source/specifications/direct-url-data-structure.rst:398 |
9531 | 9531 | msgid "January 2023: Added the ``archive_info.hashes`` key (`discussion <archive-info-hashes_>`_)." |
9532 | 9532 | msgstr "" |
9533 | 9533 |
|
|
0 commit comments