diff --git a/talks-public/2018-02-04-deposit-vault-walkthrough/deposit-vault-walkthrough.org b/talks-public/2018-02-04-deposit-vault-walkthrough/deposit-vault-walkthrough.org --- a/talks-public/2018-02-04-deposit-vault-walkthrough/deposit-vault-walkthrough.org +++ b/talks-public/2018-02-04-deposit-vault-walkthrough/deposit-vault-walkthrough.org @@ -61,22 +61,22 @@ #+BEAMER: \tiny #+BEGIN_SRC - - Je suis GPL - ext-id - forge.softwareheritage.org/source/jesuisgpl/ - Yes, this is another implementation of - "Hello, world!” when you run it. - - GPL - https://www.gnu.org/licenses/gpl.html - - - Reuben Thomas and Sami Kerola - Maintainers - - + + Je suis GPL + ext-id + forge.softwareheritage.org/source/jesuisgpl/ + Yes, this is another implementation of + "Hello, world!” when you run it. + + GPL + https://www.gnu.org/licenses/gpl.html + + + Reuben Thomas and Sami Kerola + Maintainers + + #+END_SRC @@ -86,7 +86,7 @@ *** Pushing a single deposit with metadata #+BEAMER: \tiny #+BEGIN_SRC -$ swh-deposit --username 'name' --password 'pass' je-suis-gpl.tgz +$ swh-deposit --username 'name' --password 'pass' --archive je-suis-gpl.tgz #+END_SRC #+BEAMER: \pause @@ -94,20 +94,11 @@ *** Response #+BEAMER: \tiny #+BEGIN_SRC - - 11 - Jan. 4, 2018, 2:51 p.m. - je-suis-gpl.tar.gz - ready-for-checks - - - - - - - ... - +{ + 'deposit_id': '15', + 'deposit_status': 'deposited', + 'deposit_date': 'Jan. 30, 2018, 9:37 a.m.' +} #+END_SRC ** Deposit walkthrough @@ -115,7 +106,7 @@ #+BEAMER: \footnotesize A multipart deposit with *partial* status can be: - completely replaced - - updated with new content or metadata + - updated with new content and/or metadata #+BEAMER: \pause @@ -124,22 +115,25 @@ #+BEGIN_SRC $ swh-deposit --username 'name' --password 'secret' \ - --deposit-id 11 updated-je-suis-gpl.tar.gz + --deposit-id 11 --replace \ + --archive updated-je-suis-gpl.tar.gz #+END_SRC #+BEAMER: \pause -*** Complete multipart deposit +*** Complete multistep deposit #+BEAMER: \tiny #+BEGIN_SRC $ swh-deposit --username 'name' --password 'secret' --partial \ - foo.tar.gz + --archive foo.tar.gz $ swh-deposit --username 'name' --password 'secret' --partial \ - --deposit-id 42 add-foo.tar.gz + --deposit-id 42 \ + --archive add-foo.tar.gz $ swh-deposit --username 'name' --password 'secret' \ - --deposit-id 42 last-foo.tar.gz + --deposit-id 42 \ + --archive last-foo.tar.gz #+END_SRC @@ -179,7 +173,7 @@ *** Checking the deposit's state #+BEAMER: \tiny #+BEGIN_SRC -$ swh-deposit --login 'name' --pass 'secret' --deposit-id '11' \ +$ swh-deposit --username 'name' --pass 'secret' --deposit-id '11' \ --collection 'col' --status #+END_SRC #+BEAMER: \pause @@ -187,15 +181,13 @@ *** #+BEAMER: \tiny #+BEGIN_SRC -HTTP/1.0 200 OK -Date: Thu, 04 Jan 2018 15:20:12 GMT... - - 11 - done - The deposit has been successfully loaded into - the Software Heritage archive - swh:1:rev:sha1:608757ea... - +{ + 'deposit_id': 11, + 'deposit_status': 'done', + 'deposit_status_detail': The deposit has been successfully loaded + into the Software Heritage archive', + 'deposit_swh_id': 'swh:1:rev:608757ea9bd8494d729732cc9a414948c160bd3c' +} #+END_SRC **