Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set max ram usage to higher defaultv2.0.0-RC4 | Jakob Odersky | 2018-08-01 | 1 | -1/+10 |
| | |||||
* | Use default versioning (git and env) only in library projects | Jakob Odersky | 2018-08-01 | 3 | -33/+20 |
| | |||||
* | Import root certificates to the correct keystore | Jakob Odersky | 2018-08-01 | 1 | -2/+3 |
| | |||||
* | Upgrade version of openjdk used in container images | Jakob Odersky | 2018-08-01 | 1 | -1/+1 |
| | |||||
* | Set undefined custom commands | Jakob Odersky | 2018-08-01 | 1 | -0/+1 |
| | |||||
* | Include git commit hash in docker image tags (#5) | Jakob Odersky | 2018-07-23 | 1 | -10/+8 |
| | | | | | | * Include git commit hash in docker image tags * Add timestamp and make git commit optional | ||||
* | Formatting | Jakob Odersky | 2018-07-03 | 2 | -3/+9 |
| | |||||
* | Improve reporting of fatal warnings | Jakob Odersky | 2018-07-02 | 1 | -13/+27 |
| | |||||
* | Refactor settings to use autoplugins (#4) | Jakob Odersky | 2018-06-29 | 6 | -424/+229 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Overview and motivation** This consolidates settings that were previously implemented as functions and/or implicit conversions into a suite of sbt autoplugins. The rationale is that this is well-defined pattern by sbt and allows easy build introspection with standard sbt functionality (for example, `sbt plugins` will list all active plugins in a build). Furthermore, it makes it very easy to disable certain features when required, such as removing linting during development. **Migration from current version** All features from the previous version should still be provided by the changes proposed here. The migration path is quite straight-forward: - Replace `project.driverService(name)` with `project.enablePlugins(Service)` (same goes for libraries) and make sure the project's name corresponds to the service's name - Linting, which was previously enabled by adding `lintingSettings` and `formatSettings` to a project, is automatically enabled. It may be removed by disabling the plugin: `project.dsiablePlugin(Linting)` All tasks and settings provided by sbt-settings should remain the same. **Additional features** An additional feature is that versioning is now handled the same way between libraries and services; that is, the version is derived from the latest git tag. Since services may be deployed from the same tag mutliple times, it is required that versions can be explicitly set to include additional information, such as a build number from a CI system. This was previously done interactively, using sbt's `set` command: ``` export TAG="$(sbt -no-colors version | tail -1 | awk '{ print $2 }').$TRAVIS_BUILD_NUMBER" sbt "set version := \"$TAG\"" docker:publishLocal ``` While this approach works, it has the downsides of requiring mutliple sbt invocations. The changes proposed in this PR will read the version from a VERSION environment variable first, defaulting to git if unavailable. Therefore, the additional sbt invocation can be removed with a CI script similar to the following: ``` export VERSION="$(git describe).$TRAVIS_BUILD_NUMBER"" sbt docker:publishLocal // use version in other steps ``` Using an autoplugin-based approach may also make it easier to cross-compile projects to ScalaJS and Native in the future, as support for them is built into sbt-crossproject. | ||||
* | Remove acyclic | Jakob Odersky | 2018-02-15 | 1 | -2/+0 |
| | |||||
* | Move fatal warnings check from plugin to settings | Jakob Odersky | 2018-02-15 | 2 | -31/+15 |
| | |||||
* | Add fatal warnings checking that doesn't consider deprecations | Jakob Odersky | 2018-02-14 | 2 | -1/+31 |
| | |||||
* | Enable JMX | Jakob Odersky | 2018-02-13 | 1 | -9/+7 |
| | |||||
* | Remove library dependencies from sbt settings | Jakob Odersky | 2018-02-13 | 1 | -4/+0 |
| | |||||
* | Remove last remnants of Scala 2.11 | Jakob Odersky | 2018-02-13 | 1 | -19/+7 |
| | |||||
* | Only build for scala 2.12; 2.11 is not required anymore | Jakob Odersky | 2018-01-24 | 1 | -1/+1 |
| | |||||
* | Fix unused parameters flag for scala 2.12.4 | Jakob Odersky | 2017-11-19 | 1 | -1/+1 |
| | | | | See https://github.com/scala/bug/issues/10572 | ||||
* | Setting version to 1.0.5v1.0.5 | Jakob Odersky | 2017-11-19 | 2 | -36/+21 |
| | |||||
* | Remove credentials | Jakob Odersky | 2017-11-18 | 1 | -5/+3 |
| | |||||
* | Upgrade Scala version | Jakob Odersky | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Proposed scalafmt settings (#26) | Miguel Cervera | 2017-10-17 | 1 | -5/+29 |
| | |||||
* | More lenient linter settings | Jakob Odersky | 2017-09-22 | 1 | -8/+21 |
| | |||||
* | Move to sbt 1 | Jakob Odersky | 2017-09-22 | 1 | -35/+31 |
| | |||||
* | Include test dependencies in integration tests | Jakob Odersky | 2017-09-01 | 2 | -55/+55 |
| | |||||
* | Package integration tests | Jakob Odersky | 2017-08-28 | 1 | -0/+86 |
| | |||||
* | Move scalac linting options to default linting settings | Jakob Odersky | 2017-08-24 | 1 | -11/+13 |
| | | | | | | | This makes it easier to disable linting settings when debugging, simply by commenting out lintingSettings. Previously, `-Xfatal-warnings` also needed to be manually subtracted from scalacOptions. | ||||
* | Prepare to support scala 2.12 | Jakob Odersky | 2017-07-31 | 1 | -4/+4 |
| | |||||
* | PR comments | Zach Smith | 2017-06-20 | 1 | -10/+31 |
| | |||||
* | Add scalafmt to test | Zach Smith | 2017-06-20 | 1 | -0/+8 |
| | |||||
* | Remove commented out code | Zach Smith | 2017-06-20 | 1 | -33/+0 |
| | |||||
* | Try out new-sbt-scalafmt | Zach Smith | 2017-06-20 | 1 | -32/+32 |
| | |||||
* | Exposing JMX | vlad | 2017-05-30 | 1 | -8/+15 |
| | |||||
* | Merge remote-tracking branch 'origin/master' | vlad | 2017-05-17 | 1 | -1/+6 |
|\ | |||||
| * | Merge pull request #16 from drivergroup/hao/PDS-959 | ilovehao | 2017-05-09 | 1 | -1/+6 |
| |\ | | | | | | | Fix the release version bump for snapshot version | ||||
| | * | Fix the release version bump for snapshot version | Hao Huang | 2017-05-09 | 1 | -1/+6 |
| | | | |||||
* | | | Increased timeout after scalafmt chmod, hope it will make builds more stable | vlad | 2017-05-17 | 1 | -1/+1 |
|/ / | |||||
* / | Upgrade scala to latest patch level | Jakob Odersky | 2017-05-09 | 1 | -1/+1 |
|/ | |||||
* | Remove the next version in sbt-release | Hao Huang | 2017-05-03 | 1 | -6/+21 |
| | |||||
* | Refactor the sbt release behavior for services | Hao Huang | 2017-05-03 | 1 | -54/+79 |
| | |||||
* | Giving enough time for chmod ;) | vlad | 2017-05-02 | 1 | -0/+1 |
| | |||||
* | Generating scalastyle-config.xml before running scalastyle ;) | vlad | 2017-05-01 | 1 | -9/+12 |
| | |||||
* | Trying to fix scalafmt command | vlad | 2017-05-01 | 1 | -1/+2 |
| | |||||
* | Trying to fix scalafmt command | vlad | 2017-05-01 | 1 | -1/+1 |
| | |||||
* | Generating scalafmt | vlad | 2017-05-01 | 1 | -2/+12 |
| | |||||
* | Trying to use scalafmt from resources again | vlad | 2017-05-01 | 1 | -3/+3 |
| | |||||
* | Trying to install scalafmt via coursier | vlad | 2017-05-01 | 1 | -2/+4 |
| | |||||
* | Expecting scalafmt in $PATH, not in the project folder | vlad | 2017-05-01 | 1 | -1/+1 |
| | |||||
* | Trying to make scalafmt dependent on scalafmt.conf generation | vlad | 2017-05-01 | 1 | -6/+8 |
| | |||||
* | Fixing version.sbt generation for git-versioned projects + Starting to rely ↵ | vlad | 2017-05-01 | 1 | -23/+16 |
| | | | | on locally installed scalafmt binary | ||||
* | Correct scalafmt command line call | vlad | 2017-04-28 | 1 | -1/+1 |
| |