Page MenuHomeSoftware Heritage
Paste P212

checking hal deposit archive
ActivePublic

Authored by ardumont on Jan 18 2018, 3:46 PM.
Retrieve the deposit concerned:
```
softwareheritage-deposit=> select dr.archive from deposit d inner join deposit_request dr on d.id=dr.deposit_id where external_id='hal-01243618' and dr.type_id=1;
archive
--------------------------
client_2/swh-1243618.zip
(1 row)
```
Checking the deposited archive:
```
swhdeposit@uffizi:/srv/storage/space/swh-deposit/uploads/client_2$ 7z l swh-1243618.zip
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs Common KVM processor (F61),ASM)
Scanning the drive for archives:
1 file, 7864 bytes (8 KiB)
Listing archive: swh-1243618.zip
--
Path = swh-1243618.zip
Type = zip
Physical Size = 7864
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2016-12-02 15:24:46 ..... 13026 3718 Sender.php
2018-01-05 13:47:00 ..... 3888 3888 tt.zip
------------------- ----- ------------ ------------ ------------------------
2018-01-05 13:47:00 16914 7606 2 files
```

Event Timeline

ardumont changed the title of this paste from untitled to checking hal deposit archive.Jan 18 2018, 3:48 PM
ardumont updated the paste's language from autodetect to bash.
ardumont edited the content of this paste. (Show Details)
ardumont added a project: SWORD deposit.
ardumont added a subscriber: moranegg.