Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk staging #21

Merged
merged 8 commits into from
Oct 11, 2024
Merged

Bulk staging #21

merged 8 commits into from
Oct 11, 2024

Conversation

hailihu
Copy link

@hailihu hailihu commented Sep 12, 2024

TODO: Capture this error: 403 Error: Forbidden

@hailihu hailihu marked this pull request as draft September 12, 2024 15:15
@hailihu hailihu linked an issue Sep 12, 2024 that may be closed by this pull request
@hailihu hailihu marked this pull request as ready for review September 12, 2024 15:30
@hailihu
Copy link
Author

hailihu commented Sep 12, 2024

Test commands:

# stage file
./ada --tokenfile tokenfile_prod.conf --stage ${prod_tape_path}/${filename} --lifetime 1D --api "${prod_api_url}" --debug

# stage dir (optionally recursively with --recursive)
./ada --tokenfile tokenfile_prod.conf --stage ${prod_tape_path}/${dirname} --lifetime 1D --api "${prod_api_url}" --debug 

# stage from file (optionally recursively with --recursive)
./ada --tokenfile tokenfile_prod.conf --stage --from-file file-list --lifetime 1D --api "${prod_api_url}" --debug

# unstage file
./ada --tokenfile tokenfile_prod.conf --unstage ${prod_tape_path}/${filename} --api "${prod_api_url}" --debug

# unstage dir (optionally recursively with --recursive)
./ada --tokenfile tokenfile_prod.conf --unstage ${prod_tape_path}/${dirname} --api "${prod_api_url}" --debug 

# unstage from file (optionally recursively with --recursive)
./ada --tokenfile tokenfile_prod.conf --unstage --from-file file-list --api "${prod_api_url}"  --debug

@hailihu hailihu assigned hailihu, natalieda and onnozweers and unassigned hailihu Sep 12, 2024
@natalieda natalieda merged commit 348394f into master Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADA: implement bulk staging
3 participants