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

Feature request: archive capability #185

Open
hagertnl opened this issue Nov 7, 2024 · 0 comments
Open

Feature request: archive capability #185

hagertnl opened this issue Nov 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hagertnl
Copy link
Contributor

hagertnl commented Nov 7, 2024

One nice feature would be the capability to archive old tests (either just compressing in-place via tar or moving to an archive storage location, or some combination of that). I imagine this to be a tool in harness/utilities called rgt_archive_tests.py or something similar, with usage similar to the following:

rgt_archive_tests.py [options]
    --compress : when set, compresses each run as a gzip'd tar archive
    --age : how old a test must be to archive it, e.g: "1d", "3w", "4m" for 1 day, 3 weeks, or 4 months.
    --to : location to archive tests to. Options: "in-place" or a path to a directory (default: "in-place")
    --no-delete : when set, copies to the archive but does not remove the test directories (default: delete test directories when moved)
    --preserve-workdir : when set, does NOT delete the work/scratch directory (default: delete scratch directory)
    --preserve-builddir: when set, does NOT delete the build directory (default: delete build directory)

An inverse utility to restore from archive would be excellent.

@hagertnl hagertnl added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant