Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7147886
D4811.id17049.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
761 B
Subscribers
None
D4811.id17049.diff
View Options
diff --git a/docs/user-manual.rst b/docs/user-manual.rst
--- a/docs/user-manual.rst
+++ b/docs/user-manual.rst
@@ -394,7 +394,22 @@
Update deposit
--------------
-* replace deposit:
+* Update deposit metadata:
+
+ - only possible if the deposit status is ``done``, ``--deposit-id <id>`` and
+ ``--swhid <swhid>`` are provided
+
+ - by using the ``--metadata`` flag, a path to an xml file
+
+.. code:: console
+
+ $ swh deposit upload \
+ --username name --password secret \
+ --deposit-id 11 \
+ --swhid swh:1:dir:2ddb1f0122c57c8479c28ba2fc973d18508e6420 \
+ --metadata ../deposit-swh.update-metadata.xml
+
+* Replace deposit:
- only possible if the deposit status is ``partial`` and
``--deposit-id <id>`` is provided
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 2:39 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219712
Attached To
D4811: user-manual: Add deposit metadata update scenario
Event Timeline
Log In to Comment