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

Clion shows packages located in cache as hashes. There should be names #266

Closed
pgorgon-hem opened this issue Jun 8, 2021 · 4 comments
Closed

Comments

@pgorgon-hem
Copy link
Contributor

image
I can propose quick fix in directories naming scheme, ie. add directory with package name inside hash-named directory. The problem is that it brakes current cache structure. I have 2 solutions: additional variable which enables this feature or detection of old cache and use it, copy to the new one or remove and populate again. What do you think?

@pgorgon-hem
Copy link
Contributor Author

Example of my solution:
image
and in code:
image

@iboB
Copy link
Member

iboB commented Jun 8, 2021

I am generally NOT in favor of this for backwards compatibility reasons though it could work with this workaround.

I wonder whether we can request a CLion feature to somehow change the display the name of such directories. It will also work with FetchContent-based projects which don't use CPM

@pgorgon-hem
Copy link
Contributor Author

It also sounds good, but I will make PR, you can look into code. I tried a few options and I think that movement of old cache directories to new location looks the best.

@TheLartians
Copy link
Member

Feature added in #268.

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

No branches or pull requests

3 participants