Commit Graph

2153 Commits

Author SHA1 Message Date
Alexandre Archambault 5377ce71df
Updates for 1.0.0-RC12-1 2017-10-28 13:33:10 +02:00
Alexandre Archambault 1c9fbaa999 Setting version to 1.0.0-RC12-1 2017-10-28 13:05:47 +02:00
Alexandre Archambault e1a8e0fabe
Merge pull request #679 from coursier/develop
Tweaking
2017-10-28 11:05:04 +02:00
Alexandre Archambault 50277d91f3 Clean-up 2017-10-27 17:19:44 +02: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
Alexandre Archambault d27c0ee46e Quick hack to make publishSigned work again with sbt 1.0.2
Ideally, the scripted tests should still be run with sbt 1.0.1 too, to
ensure there are no regression with it, but the current setup doesn't
make that easy.
2017-10-27 17:19:34 +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 e2f47b0f43 Merge pull request #678 from coursier/topic/java-9
Bump asm version (for shading)
2017-10-26 17:41:46 +02:00
Alexandre Archambault afae0cd7f1 Bump asm version (used by shading)
Seems to fix java.lang.IncompatibleClassChangeError errors when using
shaded code. Release of coursier using the next one for shading should
be fine with Java 9 thanks to that.
2017-10-26 16:07:54 +02:00
Alexandre Archambault a151999016 Merge pull request #677 from coursier/develop
Minor tweaks
2017-10-26 14:26:22 +02:00
Alexandre Archambault 34cce59b65 Minor tweaks 2017-10-26 01:36:55 +02:00
Alexandre Archambault e8214a3229 Add csbt README file 2017-10-24 14:53:48 +02:00
Alexandre Archambault 3e270c9fb2 Add new DEVELOPMENT.md file
Consisting mainly of a cookbook of sbt commands to be used during development.
2017-10-24 14:39:30 +02:00
Alexandre Archambault 3636c58d07 Workaround issue with JAR list in pack directories
With just `sbt cli/pack`, it seems that the JARs of the other projects also
land in the pack directory. A `sbt "project cli" pack` works fine
though.
2017-10-21 02:50:08 +02:00
Alexandre Archambault 5f5b127563 Bump dependencies 2017-10-21 02:30:51 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 5645f8fe6d Remove scoverage
It was unused for now, it may be added back later
2017-10-20 02:48:11 +02:00
Yi Cheng 07e985bffc Fix cli print out completeness and cyclic handling issue (#671)
* simplify

* doc

* rename

* char

* more tests

* add tests then fix bugs

* Small tweak to avoid quadratic calculation
2017-10-20 00:54:58 +02:00
Greg Dorrell 3d47b63d21 Update homebrew installation command (#672)
* Update homebrew installation command

The command to install via homebrew didn't work for me. Presumably this changed in a recent version of homebrew.

This is the error I received:
```
$ brew install coursier/formulas/coursier

Error: coursier/formulas/coursier is a head-only formula
Install with `brew install --HEAD coursier/formulas/coursier`
```

So this change just incorporates the fix it suggests, which works for me.

* Fix other brew command, and report things to doc/README.md
2017-10-17 12:52:37 +02:00
Alexandre Archambault 9b018f6dbc Merge pull request #664 from coursier/develop
Remove scripted workaround
2017-09-23 18:53:29 +02:00
Alexandre Archambault ccd102e2ec Remove scripted workaround
Shouldn't be required anymore since
09c5ce417a
2017-09-23 18:00:38 +02:00
Alexandre Archambault b7c7d5f9e6 Merge pull request #660 from coursier/topic/foo
Minor things
2017-09-22 16:20:53 +02:00
Alexandre Archambault 24fa04d814 Update scala-native setup on Travis CI 2017-09-20 16:58:41 +02:00
Alexandre Archambault 2c4c3aa3d3 Fix README updating in release process 2017-09-20 16:57:31 +02:00
Alexandre Archambault b5a4a7ab01 Update version in README
Next commit fixes the release process for it to handle that
2017-09-20 16:56:33 +02:00
Alexandre Archambault 1252f2b8d5 Use new helper to get coursier version 2017-09-20 16:55:15 +02:00
Alexandre Archambault 9a35ff416a Setting version to 1.0.0-SNAPSHOT 2017-09-20 16:43:17 +02:00
Alexandre Archambault 799619de6e
Updates for 1.0.0-RC12 2017-09-20 15:13:49 +02:00
Alexandre Archambault c2e7bf8ad5 Setting version to 1.0.0-RC12 2017-09-20 14:47:29 +02:00
Alexandre Archambault 0b5b2f25f2 Merge pull request #658 from coursier/topic/cross-version-patch
Fix MatchError when using cross version patch with sbt 1.0
2017-09-20 02:00:19 +02:00
Alexandre Archambault b25fed1ae5 Fix flaky test 2017-09-20 00:12:21 +02:00
Alexandre Archambault 09c5ce417a Quick hack
This ensures something sometimes random is not in some conditions, see https://github.com/coursier/coursier/issues/650
2017-09-20 00:12:20 +02:00
Alexandre Archambault d077a82341 Fix MatchError when using cross version patch with sbt 1.0 2017-09-19 23:23:32 +02:00
Ionuț G. Stan ce1ebc0124 Use latest version in README.md examples 2017-09-11 17:11:25 +02:00
Ben McCann 46a4f7f53f Update version on README 2017-09-11 17:11:25 +02:00
Alexandre Archambault 7298629eaa Merge pull request #651 from coursier/develop
Various sbt plugin-related things
2017-09-11 17:09:04 +02:00
Alexandre Archambault a743f1183e Add helpers for recursive use of sbt-coursier
If sbt-coursier is enabled in `project/project/plugins.sbt`, then one
can just add `addSbtCoursier` in `project/plugins.sbt` instead of
`addSbtPlugin(…)`. In particular, that allow to specify the version of
coursier only once.
2017-09-11 12:33:52 +02:00
Alexandre Archambault ef669e68e4 Filter out preloaded repos by default
These sometimes have POMs without the corresponding JARs for some
dependencies, which coursier doesn't allow for now (if a repo has
POMs, it must the corresponding JARs).

Plus preloaded stuff aren't that useful with sbt-coursier enabled.
2017-09-11 12:33:52 +02:00
Alexandre Archambault ca5ac162f2 More careful handling of sbt task dependencies
E.g. ensure no sbt classifiers tasks get evaluated when doing simple
updates
2017-09-11 12:33:52 +02:00
Alexandre Archambault 308f77e3a0 Merge pull request #654 from coursier/topic/bump-native
Try fixing scala-native things on CI
2017-09-11 12:33:26 +02:00
Alexandre Archambault dd34d03f61 Try fixing scala-native things on CI 2017-09-10 19:02:31 +02:00
Alexandre Archambault 3df3980c5e Merge pull request #648 from coursier/topic/default-org-name-version
Allow exclusions to have no explicit artifact ID in POM
2017-09-05 15:23:37 +02:00
Alexandre Archambault 964151392b Allow exclusions to have no explicit artifact ID in POM 2017-09-04 02:01:36 +02:00
Alexandre Archambault 8d584d9ae0 Add release notes for 1.0.0-RC11 2017-08-31 12:13:37 +02:00
Alexandre Archambault c9f1ebf2e7 Setting version to 1.0.0-SNAPSHOT 2017-08-30 13:03:10 +02:00
Alexandre Archambault 11486ea2ad
Updates for 1.0.0-RC11 2017-08-30 12:57:51 +02:00
Alexandre Archambault 5ef2bc89d3 Setting version to 1.0.0-RC11 2017-08-30 12:18:05 +02:00
Alexandre Archambault 99f1db149e Merge pull request #646 from coursier/topic/xml-truncation
Prevent tags to be split in generated Ivy XML
2017-08-30 02:14:10 +02:00
Alexandre Archambault 8a07fa7124 Merge pull request #645 from coursier/topic/sbt-1.0-fixes
Fixes for sbt 1.0 🤞
2017-08-30 02:04:19 +02:00
Alexandre Archambault 8f988d4d08 Prevent tags to be split in generated Ivy XML 2017-08-30 01:26:46 +02:00