question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: add `conan cleanup` command

See original GitHub issue
  1. After a package was built the dir .conan/.../build (and possibly .conan/.../source) is unwanted. There should be a way to delete it.
  2. 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.
  3. When using conan test_package a build dir and .pyc files are created in test_package dir. There should be a way to delete them.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
tkhyncommented, Sep 24, 2020

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 the conan clean alias built-in?

2reactions
boussaffawalidcommented, Jun 23, 2020

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.21.9 2.0 I want to cleanup all old versions and only keep 2.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found