This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Implement POST /api/stable/repository/collection/{collectionId}/version #164
Labels
Milestone
Comments
Example backup strategy: strategy: fifo-plus-older
strategySpec:
keepLastOlderNotMoreThan: 5d
maxOlderCopies: 2 |
Related: #156 |
Related: #97 |
Related: #122 |
Related: #127 |
Related: #140 |
blackandred
added a commit
that referenced
this issue
Feb 12, 2022
blackandred
added a commit
that referenced
this issue
Feb 13, 2022
blackandred
added a commit
that referenced
this issue
Feb 13, 2022
blackandred
added a commit
that referenced
this issue
Feb 15, 2022
blackandred
added a commit
that referenced
this issue
Feb 15, 2022
GPG validationcurl -s -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE5NjA0MDQ5NzcsImxvZ2luIjoiYWRtaW4iLCJvcmlnX2lhdCI6MTY0NTA0NDk3N30.uedO-28NdW7KQg9H2sqXkM_PzdgBTlD_iaxc65YXi5A' -F "file=@Makefile" 'http://localhost:8080/api/stable/repository/collection/iwa-ait/version' {
"data": {},
"error": "cannot upload version. cannot upload file, cannot copy stream, error: first chunk of uploaded data does not contain a valid GPG header",
"status": false
} |
blackandred
added a commit
that referenced
this issue
Feb 17, 2022
blackandred
added a commit
that referenced
this issue
Feb 17, 2022
blackandred
added a commit
that referenced
this issue
Feb 18, 2022
blackandred
added a commit
that referenced
this issue
Feb 18, 2022
blackandred
added a commit
that referenced
this issue
Feb 18, 2022
blackandred
added a commit
that referenced
this issue
Feb 21, 2022
Locking support {
"data": {},
"error": "cannot upload to same collection in parallel",
"status": false
} |
This was referenced Feb 22, 2022
blackandred
added a commit
that referenced
this issue
Feb 22, 2022
… parallel uploads to the same collection
Implemented. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Implement a file upload
Best would be to not save the file to temporary directory, and stream to storage immediately, while being able to analyze the stream on the fly (e.g. if there are GPG headers present).
File upload should:
fifo
andfifo-plus-older
(selectabe rotation strategies)uploader
in given collection (or system-wide withuploader
orsystemAdmin
) can uploadThe text was updated successfully, but these errors were encountered: