Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124045
D3560.id12548.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
D3560.id12548.diff
View Options
diff --git a/docs/extrinsic-metadata-specification.rst b/docs/extrinsic-metadata-specification.rst
--- a/docs/extrinsic-metadata-specification.rst
+++ b/docs/extrinsic-metadata-specification.rst
@@ -32,7 +32,7 @@
An authority is uniquely defined by these properties:
* its type, representing the kind of authority, which is one of these values:
- * `deposit`, for metadata pushed to Software Heritage at the same time
+ * `deposit_client`, for metadata pushed to Software Heritage at the same time
as a software artifact
* `forge`, for metadata pulled from the same source as the one hosting
the software artifacts (which includes package managers)
@@ -44,9 +44,9 @@
=============== =================================
type url
=============== =================================
-deposit https://hal.archives-ouvertes.fr/
-deposit https://hal.inria.fr/
-deposit https://software.intel.com/
+deposit_client https://hal.archives-ouvertes.fr/
+deposit_client https://hal.inria.fr/
+deposit_client https://software.intel.com/
forge https://gitlab.com/
forge https://gitlab.inria.fr/
forge https://0xacab.org/
diff --git a/swh/storage/interface.py b/swh/storage/interface.py
--- a/swh/storage/interface.py
+++ b/swh/storage/interface.py
@@ -1212,7 +1212,7 @@
"""Retrieve information about an authority
Args:
- type: one of "deposit", "forge", or "registry"
+ type: one of "deposit_client", "forge", or "registry"
url: unique URI identifying the authority
Returns:
diff --git a/swh/storage/sql/30-swh-schema.sql b/swh/storage/sql/30-swh-schema.sql
--- a/swh/storage/sql/30-swh-schema.sql
+++ b/swh/storage/sql/30-swh-schema.sql
@@ -420,7 +420,7 @@
comment on table metadata_authority is 'Metadata authority information';
comment on column metadata_authority.id is 'Internal identifier of the authority';
-comment on column metadata_authority.type is 'Type of authority (deposit/forge/registry)';
+comment on column metadata_authority.type is 'Type of authority (deposit_client/forge/registry)';
comment on column metadata_authority.url is 'Authority''s uri';
comment on column metadata_authority.metadata is 'Other metadata about authority';
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 11:06 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3226131
Attached To
D3560: Rename 'deposit' authority type to 'deposit_client'.
Event Timeline
Log In to Comment