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

sage --package clean command to remove outdated source tarballs #34490

Closed
sagetrac-tmonteil mannequin opened this issue Sep 4, 2022 · 7 comments
Closed

sage --package clean command to remove outdated source tarballs #34490

sagetrac-tmonteil mannequin opened this issue Sep 4, 2022 · 7 comments

Comments

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented Sep 4, 2022

The $SAGE_ROOT/upstream/ accumulates tarballs over the time. The proposed sage --package clean command cleans that directory and keeps only tarballs that are currently needed (i.e. only the versions indicated in $SAGE_ROOT/build/pkgs/*/package-version.txt are kept).

Component: misc

Author: Thierry Monteil

Branch/Commit: 3809a6f

Reviewer: David Coudert

Issue created by migration from https://trac.sagemath.org/ticket/34490

@sagetrac-tmonteil sagetrac-tmonteil mannequin added this to the sage-9.8 milestone Sep 4, 2022
@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Sep 4, 2022

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Sep 4, 2022

New commits:

3809a6fremove outdated source tarballs with "sage --package clean" command

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Sep 4, 2022

Commit: 3809a6f

@dcoudert
Copy link
Contributor

dcoudert commented Sep 4, 2022

comment:3

Something is not working

maserati:/home/dcoudert/sage> ./sage --package clean
usage: sage --package [-h] [--log LOG] {config,list,name,tarball,apropos,update,update-latest,download,upload,fix-checksum,create} ...
sage --package: error: argument subcommand: invalid choice: 'clean' (choose from 'config', 'list', 'name', 'tarball', 'apropos', 'update', 'update-latest', 'download', 'upload', 'fix-checksum', 'create')

@dcoudert
Copy link
Contributor

dcoudert commented Sep 4, 2022

comment:4

Oups, I did a mistake when getting the branch. I did it again and now it's working well.

LGTM.

@dcoudert
Copy link
Contributor

dcoudert commented Sep 4, 2022

Reviewer: David Coudert

@vbraun
Copy link
Member

vbraun commented Sep 22, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants