Commit Graph

17940 Commits

Author SHA1 Message Date
Dale Wijnand 87f7fcbe51 Merge pull request #140 from eed3si9n/wip/apifix
Fixes sbtApiVersion logic
2017-07-24 15:21:06 +01:00
Eugene Yokota 3db33720a9 Use IvyAuthenticator and JavaNetAuthenticator
Fixes sbt/sbt#3331

The siatuation is a bit complicated.
Currently the credentials are stored in Ivy's credential store.
This needs to be translated into `java.net.Authenticator` by installing `IvyAuthenticator` and `ErrorMessageAuthenticator` in succession.
This, then, needs to be translated into OkHttp Authenticator using `okhttp3.JavaNetAuthenticator`.
2017-07-24 05:16:42 -04:00
Dale Wijnand d6803f0645 Merge pull request #3351 from Duhemm/wip/fix-3299
Allow `.value` on SettingKey inside ifs & lambdas
2017-07-24 07:42:58 +01:00
Alexandre Archambault 56b6f57f96 Merge pull request #620 from coursier/develop
Various things
2017-07-23 19:15:39 +02:00
Eugene Yokota 26fa1c5f4b Fixes sbtApiVersion logic
The NonRelease pattern matcher is ony checking for the third segment, but for sbt 1.x, we need to check both the second and third segment since 1.1.0-M1 would be bincompat with 1.0.

Fixes sbt/sbt#3360
2017-07-23 02:34:36 -04:00
Alexandre Archambault 9dfed94053 Add short syntax for jitpack repo 2017-07-22 17:29:33 +02:00
Alexandre Archambault 4ed2e2a261 Tweak display
Simply display an empty progress bar when size is unknown
2017-07-22 17:29:30 +02:00
Alexandre Archambault 862169c6bb Add more guarantees that a same module can't be downloaded concurrently
traverse called in ResolutionProcess.fetchAll relies on Applicative, so
doesn't guarantee that the module groups will be fetched one after the
other. The Applicative instance of scalaz.concurrent.Task doesn't
parallelize the tasks by default, so it works fine here. But that extra
security ensures that code can be fine with other monads.
2017-07-22 17:29:29 +02:00
Alexandre Archambault ef59fb5e49 Add small test of the code ensuring a module isn't fetched concurrently twice 2017-07-22 17:29:28 +02:00
Alexandre Archambault d3bedc838f Fix updateSbtClassifiers 2017-07-22 17:29:27 +02:00
Alexandre Archambault ea8927d7b2 Don't unnecesarily mark some artifacts as optional 2017-07-22 17:29:26 +02:00
Alexandre Archambault bddf67cc17 Always try to get artifacts corresponding to packaging 2017-07-22 17:29:25 +02:00
Eugene Yokota a58b1ebce0 Keep ConsoleChannel open
Fixes #3282

For now, don't try to shutdown ConsoleChannel while the network is processing the command in the background.
2017-07-22 03:35:42 -04:00
Eugene Yokota 7b2b7d696b Don't wrap InputStream for Windows
Ref #3282

We used to wrap InputStream so it will inject Thread.sleep, which then allows the thread to be cancelled, emulating a non-blocking readLine. This trick doesn't seem to work for Windows.
For non-Cygwin, actually just removing the wrapping does the job, but I couldn't get it to work for Cygwin.

To test, run some command via network, and then type `show name` into the terminal. On Cygwin, it will not respond.
2017-07-22 03:34:10 -04:00
eugene yokota acb0b696ce Merge pull request #3354 from xuwei-k/lightbend
s/Typesafe subscriptions/Lightbend subscriptions
2017-07-21 19:07:49 -04:00
xuwei-k ba37d568f8 s/Typesafe subscriptions/Lightbend subscriptions 2017-07-22 07:14:42 +09:00
Martin Duhem 9dfe1a8406
Allow `.value` on SettingKey inside ifs & lambdas
Calling `.value` on a SettingKey doesn't trigger any execution and
doesn't have any side effect, so we can safely allow calls to `.value`
inside conditionals and lambdas.

Fixes #3299
2017-07-21 16:26:45 +02:00
Dale Wijnand da9084b2d8
Add, configure & enable MiMa 2017-07-21 09:26:35 +01:00
eugene yokota b3702ee55d Merge pull request #139 from dwijnand/mima
Add, configure & enable MiMa
2017-07-20 15:02:14 -04:00
Dale Wijnand 66b8863d79
Add, configure & enable MiMa 2017-07-20 17:13:35 +01:00
eugene yokota 4f42e2aa50 Merge pull request #3346 from dwijnand/imports
Add missing aliases in Imports
2017-07-20 11:37:04 -04:00
eugene yokota 1d87f09831 Merge pull request #135 from dwijnand/constant-alias
Add Constant aliases to CrossVersion
2017-07-20 11:35:30 -04:00
eugene yokota 1b68c909c6 Merge pull request #3345 from dwijnand/rm-Seq2Vector
Un-implicit & deprecated Seq2Vector
2017-07-20 11:18:58 -04:00
eugene yokota 1844458e54 Merge pull request #137 from dwijnand/sbt1
sbt 1.0.0-RC2
2017-07-20 11:16:34 -04:00
Dale Wijnand f821ddb6de
Add missing aliases in Imports
Fixes #3341
2017-07-20 11:37:05 +01:00
Dale Wijnand 60dfb6e0b1 Merge pull request #136 from sbt/revert-133-sbt1
Revert "sbt 1.0.0-RC2"
2017-07-20 11:32:47 +01:00
Dale Wijnand 8c3955258b Revert "sbt 1.0.0-RC2" 2017-07-20 11:32:24 +01:00
Dale Wijnand 462d7c3e76 Merge pull request #133 from dwijnand/sbt1
sbt 1.0.0-RC2
2017-07-20 11:31:42 +01:00
Dale Wijnand be1b4897e9
Un-implicit & deprecated Seq2Vector 2017-07-20 11:29:55 +01:00
Dale Wijnand c5c20db754
Add Constant aliases to CrossVersion 2017-07-20 11:13:52 +01:00
Eugene Yokota d004e9e31a
sbt 1.0.0-RC2 2017-07-20 10:37:17 +01:00
Dale Wijnand a068736836 Merge pull request #3342 from sbt/wip/sbt1
sbt 1.0.0-RC2
2017-07-20 10:36:48 +01:00
Eugene Yokota b2220fe9d4
sbt 1.0.0-RC2 2017-07-20 06:56:37 +01:00
Dale Wijnand 7d91a25608 Merge pull request #102 from eed3si9n/wip/sbt1
sbt 1.0.0-RC2
2017-07-20 06:44:00 +01:00
Eugene Yokota 855638243a sbt 1.0.0-RC2 2017-07-19 21:36:11 -04:00
Alexandre Archambault d4cb232e65 Add release notes for 1.0.0-RC8 2017-07-20 00:40:29 +02:00
Alexandre Archambault 3971b49d41 Setting version to 1.0.0-SNAPSHOT 2017-07-20 00:23:20 +02:00
Alexandre Archambault ad78a388f6
Updates for 1.0.0-RC8 2017-07-20 00:23:14 +02:00
Alexandre Archambault e2e0f71831 Setting version to 1.0.0-RC8 2017-07-19 23:57:06 +02:00
Alexandre Archambault e6bac2bc4a Merge pull request #616 from coursier/topic/fix-scripted-tests
Fix scripted tests
2017-07-19 22:40:36 +02:00
Alexandre Archambault 53af094c7a Merge pull request #611 from jonas/patch-1
Fix links to generate-launcher.sh
2017-07-19 19:01:19 +02:00
Alexandre Archambault d2c6db0f49 Fix sbt-shading scripted tests
Error not caught on CI because of local caches...
2017-07-19 18:59:50 +02:00
Alexandre Archambault 6c2e62080c Fix sbt 1.0 scripted tests
These are only run locally
2017-07-19 18:59:04 +02:00
Alexandre Archambault 5a271fffc5 Merge pull request #614 from coursier/topic/fix-compatibility-api
Fix compatibility API
2017-07-19 15:30:26 +02:00
Alexandre Archambault 95f08e99d6 Merge pull request #613 from coursier/topic/max-iteration
Factor default max # of iterations
2017-07-19 15:30:19 +02:00
Jonas Fonseca 4938d52c7e Fix links to generate-launcher.sh 2017-07-19 08:43:34 -04:00
Alexandre Archambault 2815897b7a Fix compatibility API
It wasn't returning some (non optional) artifacts
2017-07-19 14:38:03 +02:00
Alexandre Archambault 4fbb2f1992 Merge pull request #612 from coursier/topic/test-jar
Don't require adding type test-jar to classpathTypes
2017-07-19 13:00:52 +02:00
Alexandre Archambault ce00dcc231 Merge pull request #610 from coursier/topic/sbt-1.0.0-RC2
Switch to sbt 1.0.0-RC2
2017-07-19 13:00:37 +02:00
Alexandre Archambault db3679dce4 Factor default max # of iterations 2017-07-19 02:07:15 +02:00