From 67e78eb81d5d39a5ab86c8def25f6078a256b6ba Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli <zack@upsilon.cc> Date: Wed, 20 Nov 2019 12:56:50 +0100 Subject: [PATCH] PID doc: drop mention of ori PIDs they will remain for internal use only, so should not be mentioned in this public spec this reverts the documentation part of 67fade5f674a57fd8845ad57161a86a2d898d197 --- docs/persistent-identifiers.rst | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/persistent-identifiers.rst b/docs/persistent-identifiers.rst index ee6b49c6..03d213ee 100644 --- a/docs/persistent-identifiers.rst +++ b/docs/persistent-identifiers.rst @@ -44,8 +44,7 @@ entry point of the grammar: <identifier> ::= "swh" ":" <scheme_version> ":" <object_type> ":" <object_id> ; <scheme_version> ::= "1" ; <object_type> ::= - "ori" (* origin *) - | "snp" (* snapshot *) + "snp" (* snapshot *) | "rel" (* release *) | "rev" (* revision *) | "dir" (* directory *) @@ -69,7 +68,6 @@ identifiers that conform to previous versions of the scheme). A persistent identifier points to a single object, whose type is explicitly captured by ``<object_type>``: -* ``ori`` identifiers point to **origins** * ``snp`` to **snapshots**, * ``rel`` to **releases**, * ``rev`` to **revisions**, @@ -80,9 +78,6 @@ The actual object pointed to is identified by the intrinsic identifier ``<object_id>``, which is a hex-encoded (using lowercase ASCII characters) SHA1 computed on the content and metadata of the object itself, as follows: -* for **origins**, intrinsic identifiers are computed as per - :py:func:`swh.model.identifiers.origin_identifier` - * for **snapshots**, intrinsic identifiers are computed as per :py:func:`swh.model.identifiers.snapshot_identifier` @@ -135,8 +130,6 @@ Examples release 2.3.0, dated 24 December 2016 * ``swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453`` points to a snapshot of the entire Darktable Git repository taken on 4 May 2017 from GitHub -* ``swh:1:ori:b63a575fe3faab7692c9f38fb09d4bb45651bb0f`` points to the - repository https://github.com/torvalds/linux . Contextual information -- GitLab