Commit Graph

17422 Commits

Author SHA1 Message Date
Eugene Yokota f8f9ed0c67 Nightly setup 2020-11-14 19:46:04 -05:00
Eugene Yokota 868d804679 Nightly requires extra resolver 2020-11-14 19:30:57 -05:00
Eugene Yokota 897cc2b50c Fix cross building of util-interface 2020-11-14 18:58:25 -05:00
Eugene Yokota aac0f5e010 Nightly requires io +publishLocal 2020-11-14 15:16:46 -05:00
eugene yokota d606be8c67
Merge pull request #6083 from eed3si9n/wip/multiple
Add fresh build validation
2020-11-14 15:00:10 -05:00
Eugene Yokota 1523601696 Build from fresh modules 2020-11-14 14:23:48 -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 4b1c479525
Merge pull request #343 from eed3si9n/wip/build
Migrate to GitHub Actions
2020-11-09 12:45:09 -05:00
Eugene Yokota 39a2492ae7 Python 3.7 2020-11-09 12:34:59 -05:00
Eugene Yokota e8eda76278 Downgrade integration test to use sbt 1.3.13 2020-11-09 11:58:06 -05:00
Eugene Yokota 0939c1c78e Comment out sbt --client test 2020-11-09 11:46:36 -05:00
Scala Steward 5825e8cf47
Update sbt-ci-release to 1.5.4 (#288) 2020-11-09 14:29:20 +01:00
Scala Steward b3c27d08e8
Update scalatest to 3.2.3 (#289) 2020-11-09 14:24:17 +01:00
eugene yokota d651c95c03
Merge pull request #6077 from eed3si9n/wip/build
Migrate to GitHub Actions
2020-11-09 05:22:10 -05:00
Eugene Yokota 3d02f8902e Mark project/src-scala-binary-version as pending 2020-11-09 04:13:41 -05:00
Eugene Yokota 4c0885f84e Work around compiler bridge concurrency issue 2020-11-09 03:58:20 -05:00
Eugene Yokota 86f9061fae Migrate to GitHub Actions 2020-11-09 01:51:21 -05:00
eugene yokota 3faeccaeb5
Merge pull request #342 from eed3si9n/wip/bogusbuild
Preparatory GitHub Actions
2020-11-09 01:24:40 -05:00
Eugene Yokota 1d957bdef2 Preparatory GitHub Actions 2020-11-09 01:17:07 -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 ecc40471b5 Migrate to GitHub Actions
Ref https://github.com/sbt/sbt/issues/6031
2020-11-08 20:04:48 -05:00
eugene yokota 5e9677e338
Merge pull request #6076 from eed3si9n/wip/bogusbuild
Preparatory GitHub Actions
2020-11-08 19:16:25 -05:00
Eugene Yokota 476b9ef541 Preparatory GitHub Actions
Ref https://github.com/sbt/sbt/issues/6031
2020-11-08 19:12:42 -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 839ff7d0f2
Merge pull request #34 from sbt/wip/scala-3-test
Add test for Scala 3.0.0-M1
2020-11-08 14:41:14 -05:00
Eugene Yokota c9de67f980 Add test for Scala 3.0.0-M1
Ref https://github.com/sbt/sbt-projectmatrix/issues/33
2020-11-08 13:24:27 -05:00
eugene yokota e3131a8205
Merge pull request #6067 from eatkins/sbt-ci
Fix console with -Dsbt.ci=true
2020-11-06 17:40:19 -05:00
eugene yokota 031d2c6655
Merge pull request #6071 from eatkins/join-thread
Throw timeoutexception in JoinThread
2020-11-06 17:37:24 -05:00
eugene yokota ac6c962a63
Merge pull request #6073 from eatkins/fix-console-cancellation
Fix console task cancellation
2020-11-06 17:37:06 -05:00
Ethan Atkins ceee8ac492 Fix console task cancellation
When the sbt main loop is blocked by console, any other connected client
is prompted that they can kill the task by typing cancel. The
implementation for the console task is to write some input that will
cause the console to exit because the scala 2.12 console cannot be
safely killed with an interrupt. This input, however, was being blocked
from written to the console because the console input stream was holding
the readThread lock. We can be fix this and propagate the input to the
console we wish to terminate by synchronizing on a different lock
object. This should have no impact outside of cancelling the console
because that is the only place where we call the write method of
WriteableInputStream.
2020-11-06 13:56:01 -08:00
eugene yokota 92cbaa925f
Merge pull request #6069 from eatkins/remove-unnecessary-log-line
Remove unnecessary log line in thin client
2020-11-06 07:39:32 -05:00
eugene yokota 87b168b8b3
Merge pull request #6068 from eatkins/color-completions
Fix tab completions if color is disabled
2020-11-06 07:36:37 -05:00
Ethan Atkins 748dfd6e67 Throw timeoutexception in JoinThread
Rather than throwing an interrupted exception if we fail to join a
thread, we should throw a timeout exception.
2020-11-05 11:09:01 -08:00
Ethan Atkins 583ad06aac Remove unnecessary log line in thin client
When a batch command is run with the thin client, it logs an info
message that the command completed. This is unnecessary given that
completion is implied by the success or failure method that follows. It
made the output look a little different in the thin client vs the
console.
2020-11-05 10:13:21 -08:00
Ethan Atkins c1fcf5c531 Fix console with -Dsbt.ci=true
If a user runs sbt -Dsbt.ci=true with the latest code, sbt immediately
exits. This was because we were passing the SimpleTerminal into jline3
and jline 3 would end up exiting immediately. Instead we can still make
a console terminal if there is a console available. An alternative
approach would have been to use a dumb terminal with -Dsbt.ci=true, but
the dumb terminal experience is not great (tab completions don't work
for example), so I thought this was a better fix.
2020-11-05 10:02:37 -08:00
Ethan Atkins e18f14b3c3 Fix tab completions if color is disabled
Tab completions did not work well in sbt 1.4.x when run with
-Dsbt.color=false. This was because we were stripping a bunch of ansi
codes, which caused some problems with the jline 3 completion engine.
Instead of stripping the ansi codes, we can set the jline max_colors
capability to 1 if color is disabled. With this change, the completions
are similar to 1.3.13 except that in jline 2 the user has to hit tab
twice to see all of the available candidates while in jline 3, the
candidates are immediately printed below the prompt.
2020-11-05 09:55:20 -08:00
eugene yokota e5164cdf43
Merge pull request #6063 from eed3si9n/wip/sbt-bumps
Bump sbt versions
2020-11-05 00:40:29 -05:00
Ethan Atkins 2b55aa38ae Bump sbt versions 2020-11-04 23:45:59 -05:00
eugene yokota f967c8f0b2
Merge pull request #341 from eed3si9n/wip/sbtn_debian
Don't include sbtn into Debian or RPM
2020-11-04 23:12:10 -05:00
eugene yokota 19ae383f9f
Merge pull request #6041 from eatkins/active-json
Start server if active.json file is removed
2020-11-04 23:06:45 -05:00
eugene yokota a0cf4b5b42
Merge pull request #6051 from eatkins/virtual-console
Only create console terminal if process has console
2020-11-04 23:04:14 -05:00
eugene yokota b78f8f390b
Merge pull request #6054 from eatkins/scripted-batch-execution
Restore old `scriptedBatchExecution := false` semantics
2020-11-04 23:03:54 -05:00
eugene yokota aba92ad90e
Merge pull request #6052 from eatkins/old-scripted-tests
Move scripted-sbt-old ScriptedTests file
2020-11-04 23:03:31 -05:00
Eugene Yokota 8511c4bbbe Don't include sbtn into Debian or RPM
Ref https://github.com/sbt/sbt/issues/6053
2020-11-04 22:28:18 -05:00
Ethan Atkins 5376c33cd7
Merge branch 'develop' into old-scripted-tests 2020-11-04 18:48:15 -08:00
Ethan Atkins 749d32df36 Set the default scriptedBatchExecution to true
sbt itself effectively runs its scripted test with
scriptedBatchExecution true and scriptedParallelInstances 1. The
performance is much better when this works. This can cause issues, see
https://github.com/sbt/sbt/issues/6042, but we inadvertently made this
behavior the default in 1.4.0 and it took about a month before #6042 was
reported so I think most users would benefit from this default.
2020-11-04 18:47:31 -08:00