Enhancement: add `conan cleanup` command
See original GitHub issue- After a package was built the dir
.conan/.../build
(and possibly.conan/.../source
) is unwanted. There should be a way to delete it. - Some binary tools and libs (Qt, for instance) write cache, config, etc. in their directories (
.conan/.../package
) during application build. There should be a way to delete all files that are not in the package manifest. - When using
conan test_package
abuild
dir and.pyc
files are created intest_package
dir. There should be a way to delete them.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
conan remove — conan 1.44.1 documentation
Removes packages or binaries matching pattern from local cache or remote. It can also be used to remove the temporary source or build...
Read more >Conan packages in the Package Registry - GitLab Docs
To run conan commands, you must add the Package Registry as a Conan remote for your ... Delete ~/.conan/data to clean up the...
Read more >Repository clean up - cmake - Stack Overflow
Is there a way to clean repository folders where sources are duplicated, after package creation (keeping only the folder needed for "dependency ...
Read more >Artifactory Release Notes - JFrog
This audit command should return results as Artifactory is connected to Xray and ... added to the Artifactory system.yaml file called releasebundle.cleanup.
Read more >Enhance Button - TV Tropes
A staple of any crime drama, the "Enhance Button" is a computer function that ... to "clean up" the image with his mad...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, as #2050 was closed, and as I agree with @maddanio that
conan remove * -b -s -f
is hard to remember (I have had to google my way here a few times already!), would it be possible to add theconan clean
alias built-in?is there an easy way to delete all old packages but only keep latest version. For example, I have a package A with these versions in the local cache:
1.0
1.1
1.2
…1.9
2.0
I want to cleanup all old versions and only keep2.0