Page MenuHomeSoftware Heritage

Consider the absence of --partial as an actionable command.
AbandonedPublic

Authored by vlorentz on Dec 17 2019, 6:56 PM.

Details

Reviewers
ardumont
Group Reviewers
Reviewers
Summary

Before this commit, it was impossible to finish a multipart
deposit without uploading a new archive or metadata file.

It should not happen if the upload was carefully planned,
but a human may realize at some point they don't have anything
else to upload.

Depends on D2464.

Diff Detail

Repository
rDDEP Push deposit
Branch
cli-actionable
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9852
Build 14541: tox-on-jenkinsJenkins
Build 14540: arc lint + arc unit

Event Timeline

That works in test but does that work for real?

You can use the staging area to test this out by the way

swh/deposit/cli/client.py
216

I got a bit confused by this at first.
I think i'm better now...

swh/deposit/tests/cli/test_client.py
184

Same as slug/external_id shenanigans.

We have 2 terms for the same meaning, partial and in-progress deposit are the same thing.

Maybe we should think about unifying this once and for all as partial (choosing partial here because 1. it's shorter 2. it's public facing).
Again, not for now ;)

This revision is now accepted and ready to land.Dec 19 2019, 9:05 AM

That works in test but does that work for real?

Oops, it doesn't. Working on it

It's more trouble than I expected, so I'm not going to do it now.

This revision is now accepted and ready to land.Dec 19 2019, 2:55 PM