Commit Graph

6 Commits

Author SHA1 Message Date
Dorothy Ordogh c469899040 Copy local artifact to cache (#831) 2018-04-26 11:16:09 +02:00
Alexandre Archambault 2d4ab34408
Switch to latest directories (#806)
* Switch to latest directories

* bump soc to 6 for Pants
2018-03-09 09:43:13 +01:00
Yi Cheng 1296459de3 Add Pants build tool (#709) 2017-12-11 17:50:04 +01:00
Alexandre Archambault 07ad16da71 Tweak v1 component handling in cache path
Up to coursier 1.0.0-RC12, setting COURSIER_CACHE=foo makes files land
in e.g. foo/https/repo1.maven.org/….
https://github.com/coursier/coursier/pull/676 changed that to foo/v1/https/….
This commit reverts things back to what they were before that.

In the long term, it would be better to keep the v1 component there, but
I'd prefer not to change that behavior right now.
2017-10-27 17:19:44 +02:00
soc 1871610751 Introduce support for OS-specific standard cache directories (#676)
This cleans up the home directories of users and helps making sure that
Coursier's cache is not accidentically backed up by applications or OS
functionality.

The precedence is as follows:

- existing $COURSIER_CACHE environment variable
- existing coursier.cache Java property
- existing operating system specific standards:
  - Linux:   $XDG_CACHE_HOME/coursier, with fallback to ~/.cache/coursier
  - Windows: {SpecialFolder.LocalApplicationData}/cache/Coursier
  - macOS:   $HOME/Library/Caches/Coursier
- existing ~/.coursier/
- fallback to operating system specific standard directory else.

See discussion in https://github.com/coursier/coursier/pull/676#issuecomment-338974822
2017-10-27 14:35:01 +02:00
Alexandre Archambault 9e7cc6dec4 Have boostraps use the main coursier cache 2017-06-09 18:13:13 +02:00