Commit Graph

1433 Commits

Author SHA1 Message Date
Adrien Piquerez 51d64c7eef Add scala3doc artifact 2020-12-29 16:42:20 +01:00
eugene yokota d282f3cb1f
Merge pull request #358 from jtjeferreira/patch-1
Update sbt-contraband to 0.5.1
2020-12-21 12:47:03 -05:00
João Ferreira 997ce66a1a regen contraband 2020-12-21 17:43:24 +00:00
João Ferreira 65b4130e6b
Update plugins.sbt 2020-12-21 13:47:50 +00:00
eugene yokota a1f577a591
Merge pull request #356 from eed3si9n/wip/eviction_error
EvictionError
2020-12-20 20:44:48 -05:00
Eugene Yokota 9297139f6a Implement EvictionError
Ref https://eed3si9n.com/enforcing-semver-with-sbt-strict-update

This adds EvictionError, a replacement for EvictionWarning.
The problem with the current eviction warning is that it has too many
false positives. Using the versionScheme information that could be
supplied by the library authors and/or the build users, this eliminates
the guessing work. At which point, we can fail the resolution.
2020-12-20 19:35:15 -05:00
Eugene Yokota aac1edb426 Add Strict and Always support 2020-12-20 19:34:03 -05:00
Eugene Yokota 5f2f6ac161 Fix Ivy parsing of versionScheme 2020-12-20 19:33:00 -05:00
eugene yokota 28a77a39df
Merge pull request #354 from eed3si9n/wip/pvp
Use evalPvp
2020-12-20 17:27:31 -05:00
Eugene Yokota dc0d873f7b Use evalPvp
Follow-up on https://github.com/sbt/librarymanagement/pull/352
2020-12-20 16:58:50 -05:00
eugene yokota 7547f67294
Merge pull request #352 from eed3si9n/wip/match_error
Fixes match error when using withDottyCompat
2020-12-19 17:32:40 -05:00
Eugene Yokota 2308d0a3a7 Fixes match error when using withDottyCompat
Fixes https://github.com/sbt/sbt/issues/6210

scodec-bits is published with pvp versionScheme (nice), this means that
we should just evaluate the version portion for pvp-ness, but I was
using `guessSecondSegment` that checks for Scala suffix. That's mistake
1.

`guessSecondSegment` assumes that the Scala suffix uses the given
ScalaModuleInfo, but with 2.13-3 sandwich we can't assume this.
In the reported case, Scala module is 3.0.0-M3 but scodec-bits uses
2.13. So that's mistake 2.

This attempts to correct both the mistakes.
1. Instead of `guessSecondSegment`, this adds a simpler `evalPvp`
function.
2. `guessSecondSegment` just looks for `_2.` or `_3` and ignores the
Scala module.
2020-12-19 17:08:24 -05:00
eugene yokota 8e06d2315d
Merge pull request #351 from adpi2/sbt-dotty
Adapt ScalaOverride to Scala 3
2020-12-18 13:57:39 -05:00
Adrien Piquerez 24f85fd18c Adapt ScalaOverride to Scala 3 2020-12-18 17:28:47 +01:00
eugene yokota 0672da475d
Merge pull request #350 from adpi2/sbt-dotty
Add Scala 3 artifacts and binary versioning
2020-12-17 11:04:09 -05:00
Adrien Piquerez 48b2a7a0a1 Add Scala 3 artifacts 2020-12-17 09:32:40 +01:00
Adrien Piquerez f1ede7cd06 Add Scala 3 binary versioning 2020-12-17 09:32:40 +01:00
eugene yokota 6c1926603f
Merge pull request #347 from 3rwww1/enhancement/update-ivy
Ivy 2.3.0-sbt-fbc4f586aeeb1591710b14eb4f41b94880dcd745
2020-11-22 14:22:07 -05:00
Erwan Queffélec 8b12c2bfa6 Update Ivy to the latest version 2020-11-22 09:41:25 +01:00
eugene yokota 4b06278db2
Merge pull request #346 from sbt/wip/nightly
Use Bintray for nightly
2020-11-15 02:36:02 -05:00
Eugene Yokota 349a4134e5 Use Bintray for nightly 2020-11-15 00:58:52 -05:00
Eugene Yokota f8f9ed0c67 Nightly setup 2020-11-14 19:46:04 -05:00
eugene yokota 3db3dff537
Merge pull request #345 from eed3si9n/wip/build2
sbt-extras uses different environment variable name
2020-11-09 14:37:20 -05:00
Eugene Yokota b7d4614f54 Use HOME 2020-11-09 14:30:11 -05:00
Eugene Yokota 796ab41db0 sbt-extras uses different environment variable name 2020-11-09 14:23:05 -05:00
eugene yokota c3fe13d658
Merge pull request #344 from eed3si9n/wip/build
Migrate to GitHub Actions
2020-11-08 23:05:25 -05:00
Eugene Yokota 7583ef5f77 Migrate to GitHub Actions 2020-11-08 19:04:16 -05:00
eugene yokota 46f36f7935
Merge pull request #343 from eed3si9n/wip/bogusbuild
Preparatory GitHub Actions
2020-11-08 18:53:06 -05:00
Eugene Yokota 388b4c20b5 Preparatory GitHub Actions
This runs existing actions and then echoes hello
2020-11-08 18:51:05 -05:00
eugene yokota 13b4bf4fdb
Merge pull request #342 from eed3si9n/wip/bumputil
Upgrade to Util 1.4.0
2020-10-04 12:52:23 -04:00
Eugene Yokota f63adb4a8a Util 1.4.0 2020-10-04 12:42:46 -04:00
eugene yokota 949e1a6196
Merge pull request #341 from izharahmd/retry-on-server-error
Retry publish on all 5XX errors
2020-09-29 10:33:33 -04:00
izharahmd 07e3815261 retry publish on all 5XX errors 2020-09-29 19:20:42 +05:30
Eugene Yokota 39090fa0d3 Formatting 2020-09-21 22:29:08 -04:00
eugene yokota 18d9348905
Merge pull request #340 from izharahmd/wip/ivy-publish-with-retry-backoff
Retry with backoff while publishing
2020-09-15 16:34:23 -04:00
izharahmd fa0f859552 retry with backoff while publishing 2020-09-15 20:32:38 +05:30
eugene yokota 1e870ce40b
Merge pull request #339 from eed3si9n/wip/versionscheme
Automatic eviction warning
2020-08-05 17:06:08 -04:00
Eugene Yokota 9d87715100 Automatic eviction warning
This extracts info.versionScheme from POM and uses that to guide the
eviction report instead of taking a stab in the dark that all Scala
libraries are using pvp.
2020-08-05 16:39:11 -04:00
eugene yokota 50ca3902c3
Merge pull request #337 from eed3si9n/wip/unc
support UNC path
2020-06-25 23:40:04 -04:00
Eugene Yokota 5f4cbad6c4 support UNC path
Fixes https://github.com/sbt/sbt/issues/5596
2020-06-25 23:24:43 -04:00
eugene yokota 68008ee251
Merge pull request #336 from iRevive/patch-1
Add information on how to enable overwriting using `pushRemoteCache`
2020-06-17 16:35:20 -04:00
Maksim Ochenashko c8626e5402
Update ConvertResolver.scala
Add information on how to enable overwriting using `pushRemoteCache`.
2020-06-17 13:27:26 +03:00
Eugene Yokota f55b3c1c7a issue template 2020-06-09 12:42:49 -04:00
eugene yokota c3dca6880d
Merge pull request #334 from eed3si9n/wip/http
Make validateProtocol return Boolean
2020-06-06 20:02:03 -04:00
Eugene Yokota 375613efbf Make validateProtocol return Boolean
Ref https://github.com/sbt/sbt/issues/4905

To deprecate and unsupport HTTP, first log all the error messages out then throw at sbt level.
2020-06-06 19:29:09 -04:00
eugene yokota 1c462be007
Merge pull request #332 from eed3si9n/wip/bumpivy
Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad
2020-05-28 10:37:47 -04:00
Eugene Yokota c1dbeca90f Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad 2020-05-28 00:48:36 -04:00
eugene yokota 3b3aa2f495
Merge pull request #331 from eed3si9n/wip/contraband_
Bump Contraband
2020-04-06 18:26:03 -04:00
Eugene Yokota fd71e8cb17 Bump Contraband 2020-04-06 18:15:46 -04:00
Eugene Yokota ab06affe7c Bump util 2020-04-06 18:15:29 -04:00