Commit Graph

2153 Commits

Author SHA1 Message Date
Alexandre Archambault d3360d640d Workaround for method not found for sbt 0.13 scripted tests 2017-12-27 16:38:21 +01:00
Alexandre Archambault 948361e429 More refined, and manual, activation of scripted
Allows to do a `sbt ++2.11.11 test:compile`, without the sbt plugin
modules or scripted being an issue.
2017-12-27 16:38:21 +01:00
Alexandre Archambault 6f37e95be6 Switch to sbt 1.0.4 2017-12-27 16:38:21 +01:00
Alexandre Archambault 9df9c617be
Merge pull request #720 from coursier/topic/remove-http-server
Remove http-server module
2017-12-27 09:07:58 +01:00
Alexandre Archambault e97eaa18b5 Remove http-server module
Now has its own repo at https://github.com/coursier/http-server

Same Maven coordinates as before, `io.get-coursier:http-server_2.12`
2017-12-27 02:18:35 +01:00
Alexandre Archambault 0cba087fa0
Merge pull request #719 from coursier/topic/remove-echo
Remove echo project
2017-12-27 01:08:55 +01:00
Alexandre Archambault 3199d3ad54 Remove echo project
It now lives in its own repository at https://github.com/coursier/echo

Same Maven coordinates as before, io.get-coursier:echo
2017-12-26 23:56:02 +01:00
Yi Cheng a4258f48ce
Add json report to fetch and local exclusion option (#692)
This patch introduces changes for cli with json output #659. Format as follows:
```
{
  "conflict_resolution": {
    "org:name:version" (requested): "org:name:version" (reconciled) 
  },
  "dependencies": [
    {
      "coord": "orgA:nameA:versionA",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgY:nameY:versionY>,
      ]
    },
    {
      "coord": "orgB:nameB:versionB",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgZ:nameZ:versionZ>,
      ]
    },
  ]
}
```
For example:
```
fetch -t org.apache.avro:trevni-avro:1.8.2  org.slf4j:slf4j-api:1.7.6 --json-output-file x.out
  Result:
├─ org.apache.avro:trevni-avro:1.8.2
│  ├─ org.apache.avro:trevni-core:1.8.2
│  │  ├─ org.apache.commons:commons-compress:1.8.1
│  │  ├─ org.slf4j:slf4j-api:1.7.7
│  │  └─ org.xerial.snappy:snappy-java:1.1.1.3
│  └─ org.slf4j:slf4j-api:1.7.7
└─ org.slf4j:slf4j-api:1.7.6 -> 1.7.7
```
would produce the following json file:
```
$ jq < x.out 
{
  "conflict_resolution": {
    "org.slf4j:slf4j-api:1.7.6": "org.slf4j:slf4j-api:1.7.7"
  },
  "dependencies": [
    {
      "coord": "org.apache.avro:trevni-core:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-core/1.8.2/trevni-core-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.apache.avro:trevni-avro:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-avro/1.8.2/trevni-avro-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.apache.avro:trevni-core:1.8.2",
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.slf4j:slf4j-api:1.7.7",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.apache.commons:commons-compress:1.8.1",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.xerial.snappy:snappy-java:1.1.1.3",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/xerial/snappy/snappy-java/1.1.1.3/snappy-java-1.1.1.3.jar"
        ]
      ],
      "dependencies": []
    }
  ]
}

```
2017-12-26 10:46:35 -08:00
Alexandre Archambault b21042a42a
Merge pull request #715 from coursier/topic/fix-build-1.0
Update version numbers in CI scripts after 1.0.0 release
2017-12-18 12:44:40 +01:00
Alexandre Archambault 1c134dc2a6 Update test fixtures if snapshot version changes 2017-12-18 12:00:10 +01:00
Alexandre Archambault 00fd13e786 Update version numbers in CI scripts after 1.0.0 release 2017-12-18 12:00:03 +01:00
Alexandre Archambault bee3a368c3 Add release notes for 1.0.0-RC14 and 1.0.0. 2017-12-14 22:55:58 +00:00
Alexandre Archambault 272aece8ba Setting version to 1.0.1-SNAPSHOT 2017-12-14 13:13:49 +00:00
Alexandre Archambault 384f7ecc47
Updates for 1.0.0 2017-12-14 12:50:01 +00:00
Alexandre Archambault b8aa0aadde Setting version to 1.0.0 2017-12-14 12:07:23 +00:00
Yi Cheng 7dd739e923
Merge pull request #713 from wisechengyi/patch-1
Fix typo in doc
2017-12-12 10:53:14 -08:00
Alexandre Archambault 196b530bae Setting version to 1.0.0-SNAPSHOT 2017-12-12 02:12:09 +01:00
Alexandre Archambault cbf3ff5558
Updates for 1.0.0-RC14 2017-12-12 02:05:09 +01:00
Alexandre Archambault b86b80c3d8 Setting version to 1.0.0-RC14 2017-12-12 01:39:52 +01:00
Yi Cheng 3c634d3fa8
Fix typo in doc 2017-12-11 09:22:33 -08:00
Alexandre Archambault 617fe5cc3d
Merge pull request #712 from coursier/topic/update-report-exclusions
Write exclusions and transitiveness in sbt update reports, add sbt-shared module
2017-12-11 17:50:27 +01:00
Yi Cheng 1296459de3 Add Pants build tool (#709) 2017-12-11 17:50:04 +01:00
Alexandre Archambault ee9c61393c Move FromSbt / ToSbt helpers to separate module 2017-12-11 10:07:04 +01:00
Alexandre Archambault 930ac74dd8
Merge pull request #711 from coursier/topic/proper-cache
Incur less IO via more careful use of Def.task / taskDyn
2017-12-11 01:29:05 +01:00
Alexandre Archambault 97a137b0bb Write exclusions and transitiveness in sbt update reports
Makes it unnecessary to add a jboss repository for plugins in some
cases, like when using sbt-assembly
2017-12-11 01:25:49 +01:00
Alexandre Archambault c384797744 Incur less IO via more careful use of Def.task / taskDyn
Previousy, even when the update report was found in the in-memory cache,
some IO was still incurred because of the coursierArtifacts key, which
was evaluated in all cases. This PR makes sure it is not evaluated when
the update report is found in cache.
2017-12-11 00:36:35 +01:00
Tobi Akomolede AKA Mocuto da7fd6585f Fix for: Coursier not resilient to changing local ivy cache directory #665 (#705)
* https://github.com/coursier/coursier/issues/665
2017-12-06 18:20:57 +01:00
Alexandre Archambault 4ea6b9673f
Merge pull request #708 from coursier/topic/bump-directories
Switch to latest directories master
2017-12-05 11:19:38 +01:00
Alexandre Archambault 09ecaa489f Switch to latest directories master 2017-12-04 17:48:10 +01:00
Alexandre Archambault a532d545a2
Merge pull request #706 from coursier/topic/fallback-version
More careful handling of extenstion / type with snapshot versioning
2017-12-04 17:46:21 +01:00
Alexandre Archambault 03f7cbb42d More careful handling of extenstion / type with snapshot versioning 2017-12-04 13:39:40 +01:00
Alexandre Archambault 217940d0ef
Merge pull request #702 from coursier/topic/fix-version-parsing-divergence
Fix divergence when parsing versions
2017-11-30 14:05:20 +01:00
Alexandre Archambault 389375da5d Fix divergence when parsing versions
Those starting with neither a letter, nor a digit, nor a known separator
2017-11-30 13:03:17 +01:00
Alexandre Archambault 0632262218
Merge pull request #690 from olivierdeckers/clean-inmemory-caches
Implemented clean task + added integration test. Fixes #685
2017-11-03 16:09:38 +01:00
Olivier Deckers ebb7e66a26 Implemented clean task + added integration test. Fixes #685 2017-11-03 15:21:39 +01:00
Alexandre Archambault 86de793517 Typo 2017-11-03 01:19:45 +01:00
Alexandre Archambault 0ca0862508 Update development cookbook 2017-11-02 16:21:00 +01:00
Alexandre Archambault eac0c2ce45
Merge pull request #683 from coursier/topic/tweak-appveyor-config
Cache less things on Windows CI
2017-11-01 23:37:52 +01:00
Alexandre Archambault 5351d572fa Cache less things on Windows CI
These don't speed up things much, and seem to get corrupted from time to
time.
2017-11-01 21:35:13 +01:00
Alexandre Archambault 6e24d6036f
Merge pull request #630 from coursier/topic/bump-scala-2.12
Switch to scala 2.12.4
2017-11-01 17:22:55 +01:00
Alexandre Archambault c8815118de Work around spurious issue during tut command in 2.12 2017-11-01 16:20:47 +01:00
Alexandre Archambault 7ac3038d2e Switch to scala 2.12.4 2017-11-01 16:20:47 +01:00
Alexandre Archambault affc902de4 Mention submodules in DEVELOPMENT document 2017-10-31 23:44:36 +01:00
Alexandre Archambault dbd229198b Remove cruft from generate-launcher script 2017-10-31 23:27:26 +01:00
Alexandre Archambault 5a827a6340 Remove deprecated script 2017-10-31 23:10:17 +01:00
Alexandre Archambault 2d8d11f4f1 Add release notes for 1.0.0-RC12 and 1.0.0-RC13 2017-10-31 23:05:45 +01:00
Alexandre Archambault 46ff6b12fd Setting version to 1.0.0-SNAPSHOT 2017-10-29 15:09:55 +01:00
Alexandre Archambault a10b4ad0b0
Updates for 1.0.0-RC13 2017-10-29 15:08:20 +01:00
Alexandre Archambault 82b10e81da Setting version to 1.0.0-RC13 2017-10-29 14:33:13 +01:00
Alexandre Archambault caa935c956 Setting version to 1.0.0-SNAPSHOT 2017-10-28 13:36:35 +02:00