Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduce support for OS-specific standard cache directories #676
This cleans up the home directories of users and helps making sure that
The precedence is as follows:
I mean the coursier cache would be in a sub-directory of
About the precedence, I think the last two points should be permuted, like
That way, running a previous version of coursier (which would create a
No, not in this case. There is no platform-independent way to avoid moving GBs of cached files across the network if you put them into the data dir (only Windows supports the distinction with roaming vs. local application data).
Cache is the right folder, because it perfectly fits the distinction of "the only thing users see after deleting the cache is that some things take more time".
On the other hand, packages that are published locally should go into the dataDir, as they are likely not recoverable from the online repositories.
This way, users have the huge benefit of being able to delete their caches without losing their locally published artifacts, and have their locally published artifacts synced across machines without dragging GBs of cached artifacts along with them.
Makes sense, I can change that.
Ooops, sorry I ported directories to Java 6 in soc/directories-jvm@ed193b4 already. I didn't see your PR. :-/ Please let me know if there are any required changes remaining.
Ok, let's go for
And, yep, I'm going to revert my commit about
Oct 27, 2017
@alexarchambault It has been a pleasure!
Did you have any chance yet to verify that the paths chosen by