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

Provide better and more complete cleaning options with stats #989

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DevonianTeuchter
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • [x ] Feature
  • [x ] Bug Fix
  • Optimization
  • Content Update

Category

  • zopen build framework
  • [x ] zopen package manager
  • Documentation
  • CI/CD
  • Tools

Description

This PR:

  • updates zopen-clean to clean metadata associated with a package when the --clean option is specified.
  • adds statistics as to space freed on the system after an operation, with --nostats option to hide the stats
  • provides a --deep option that will perform all cleanup operations [--all is used for a different purpose aready]
  • allows for more than one cleanup operation; eg. zopen clean --cache --meta

Related Issues

[optional] Are there any post-deployment tasks or follow-up actions required?

Copy link
Collaborator

@IgorTodorovskiIBM IgorTodorovskiIBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IgorTodorovskiIBM
Copy link
Collaborator

Looks like the metaport tests failed as a result of this change

@DevonianTeuchter
Copy link
Collaborator Author

Looks like the metaport tests failed as a result of this change

Update to zopen_check_clean in metaport should resolve this once merged.

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.

zopen clean does not clean
2 participants