Commit Graph

17940 Commits

Author SHA1 Message Date
Eugene Yokota 66f345a303 Cross publish utilCollection
Fixes sbt/util#72
2017-04-03 03:20:36 -04:00
Eugene Yokota 304d167813 Send ObjectEvent as JSON 2017-04-03 03:17:57 -04:00
Alexandre Archambault c176adca3c Enable sbt plugin hack in Maven repo paths by default 2017-04-03 00:19:51 +02:00
Alexandre Archambault c1c21339bd Add CONTRIBUTING guide 2017-04-02 22:44:43 +02:00
Alexandre Archambault 3f88fb9449 Merge pull request #476 from coursier/topic/rework-build-sbt
Rework build.sbt
2017-04-02 22:43:44 +02:00
Alexandre Archambault 96b188b9a9 Merge pull request #474 from coursier/topic/fix-warnings
Fix some warnings
2017-04-02 22:02:22 +02:00
Alexandre Archambault 13262a3831 Rework build.sbt 2017-04-02 21:51:11 +02:00
Eugene Yokota 093fc061cc Send testing events to logger 2017-04-01 17:19:45 -04:00
Eugene Yokota d6e0fd2f0d Sort the import alphabetically in Defaults 2017-04-01 17:13:28 -04:00
eugene yokota 9cf41bbf36 Merge pull request #77 from dwijnand/ssh-based-repo-apis
Recover lost ssh-based repo API
2017-03-31 10:20:48 -07:00
eugene yokota fcaea6787f Merge pull request #76 from dwijnand/cross-version-suffix
Allow for some customization in CrossVersion results
2017-03-31 10:20:13 -07:00
Dale Wijnand 084c94a93c
Recover lost ssh-based repo API
Recover APIs I accidentally removed in
f2efa10af1.
2017-03-31 15:02:16 +01:00
Dale Wijnand fb049d181b
Add prefix support to Binary/Full 2017-03-31 10:48:45 +01:00
Dale Wijnand 87e8d87811
Allow for some customization in CrossVersion results
The old way to customize CrossVersion results was a `String => String`
function called 'remapVersion', removed in
301ec787f2.

That was removed because it's not possible to serialise Function1s, and
we want to serialise CrossVersion (and therefore ModuleID, etc) to be
able to transfer them in sbt server.

This commit reintroduces a less-powerful way to vary the results of
apply CrossVersion, but just providing the opportunity to define a
suffix. From looking at the users of CrossVersion (Scala.js'
sbt-scalajs-plugin & Scala Native's sbt-crossproject) this looks to be
sufficient.
2017-03-31 10:24:16 +01:00
Dale Wijnand 92cc7c4cb1
Remove some compile warnings 2017-03-31 10:19:47 +01:00
eugene yokota 4e267e5cb5 Merge pull request #3055 from dwijnand/build-warnings
Remove warnings in the build setup
2017-03-29 18:34:30 -07:00
Dale Wijnand 0dcb57b587
Remove warnings in the build setup 2017-03-29 14:43:41 +01:00
eugene yokota 1adce0a656 Merge pull request #3049 from dwijnand/scripted-crossed-note
Add a note that the scripted plugin is cross-versioned now
2017-03-28 20:49:20 -07:00
Dale Wijnand ece85b44bd Merge pull request #3032 from dwijnand/setting-query-json
Start handling default types when serialising query setting values
2017-03-28 10:45:46 +01:00
Dale Wijnand b1b66a241e
Add a note that the scripted plugin is cross-versioned now 2017-03-28 10:25:24 +01:00
eugene yokota 64ed7c7756 Merge pull request #3045 from dwijnand/fix-StateOps-fail
Fix StateOps#fail != fail
2017-03-27 19:48:52 -07:00
eugene yokota cb8acb2150 Merge pull request #3044 from dwijnand/propagate-weak-type-tags
Fix inputTaskDyn not working
2017-03-27 19:47:28 -07:00
Alexandre Archambault 8134809c99 Use the newly-added Resolution.metadataErrors instead of errors 2017-03-27 16:23:29 +02:00
Alexandre Archambault 44e3eee0d3 Fix deprecation warning 2017-03-27 16:18:17 +02:00
Alexandre Archambault 79e60f17ca Fix one-arg deprecated annotation warnings 2017-03-27 16:16:17 +02:00
Dale Wijnand c7be291946
Fix StateOps#fail != fail 2017-03-27 14:38:02 +01:00
Dale Wijnand 2bc5ba02f3
Add three more missing WeakTypeTags
.. accidentally removed in 12c2734052
2017-03-27 14:36:56 +01:00
Dale Wijnand 30bf72482b
Add test for a LM type
Use libraryDependencies which is a Seq[ModuleID]
2017-03-27 14:15:12 +01:00
Dale Wijnand 52de082b2e
Add OptJsonWriter to SettingKey 2017-03-27 14:15:11 +01:00
Dale Wijnand ad2f91e357
Extra getName/getImplicit in KeyMacro 2017-03-27 14:15:11 +01:00
Dale Wijnand 6950a1e061
Use the OptJsonWriter on AttributeKey 2017-03-27 14:15:10 +01:00
Dale Wijnand 63fcca5543
Test setting query functionality 2017-03-27 14:15:10 +01:00
Dale Wijnand 70ac55d0b4
Encode success/failure in setting query response 2017-03-27 14:15:10 +01:00
Dale Wijnand 875cf6f4dc
Simplify JValueFormat 2017-03-27 12:29:42 +01:00
Dale Wijnand 6211e8d7da
Move some things from terms to imports 2017-03-27 12:29:41 +01:00
Dale Wijnand 43eec230e6
Switch SettingQueryResponse to JValue, implement JValueFormat 2017-03-27 12:29:41 +01:00
Dale Wijnand f2b70de538
Implement a Manifest-based lookup 2017-03-27 12:29:41 +01:00
Dale Wijnand 342fc2cf8f
Commit to the current JsonFormatRegistry. 2017-03-27 12:29:41 +01:00
Dale Wijnand ede2b865b4
Allow disablePlugins(SbtScalariform) to work
SbtScalariform is now an AutoPlugin, so its scalariformSettings are
already added to the project. So don't add it again otherwise
`disablePlugins(SbtScalariform)` won't work.

And miscellaneous cleanups.
2017-03-27 12:29:40 +01:00
Dale Wijnand 6e6f66d6d0
Start structure to discover JsonWriter 2017-03-27 12:29:40 +01:00
Dale Wijnand 371f14d9a5
BuildStructure#root is SessionSettings#currentBuild 2017-03-27 12:29:40 +01:00
Dale Wijnand 992b35af3c
Start setup for JSON-format setting values 2017-03-27 12:29:39 +01:00
Dale Wijnand aa69d0d042
Split setting query things out into SettingQuery.scala 2017-03-27 12:29:39 +01:00
Dale Wijnand 4566c615c7
Move setting query things into SettingQuery 2017-03-27 12:29:39 +01:00
Dale Wijnand 8081661a7d
Fix ordering 2017-03-27 12:29:38 +01:00
Dale Wijnand 9f13499bcf
Don't double wrap setting value
Oh the wonderful world of Object#toString
2017-03-27 12:29:38 +01:00
Alexandre Archambault 3cd79fc29c Merge pull request #472 from coursier/topic/low-level-clean-up
Low level clean up
2017-03-27 11:39:32 +02:00
Alexandre Archambault f0d16c88d8 Merge pull request #421 from kzys/fix-408
Trim whitespaces around version specifiers
2017-03-27 10:55:04 +02:00
Alexandre Archambault 3bdfee3b8c Merge branch 'jentsch/low-level-clean-up' into topic/low-level-clean-up 2017-03-27 10:36:32 +02:00
Alexandre Archambault 9dd6d78ba8 Merge pull request #437 from kzys/checksum-errors
Create Resolution#errors from its errorCache
2017-03-27 10:31:59 +02:00