Commit Graph

76 Commits

Author SHA1 Message Date
Alexandre Archambault e37fb65fba Tweak bootstrap test 2018-04-30 00:02:01 +02:00
Alexandre Archambault 66c7f7e900
Updates for 1.1.0-M2 2018-04-28 15:56:42 +02:00
Alexandre Archambault ec15269192
Update proguard settings, test proguarded JAR on CI (#811) 2018-04-23 11:38:16 +02:00
Alexandre Archambault e4361d6fde
Only specify scala release versions in one place (#830) 2018-04-04 11:30:59 +02:00
Alexandre Archambault 4e4aa7cfa2 Switch to scala 2.12.5 2018-03-31 15:30:27 +02:00
Alexandre Archambault f8884d4170 Re-enable Nexus proxy tests, launch the mirrors from the tests 2018-03-16 13:44:43 +01:00
Alexandre Archambault 44b4ffee84
Updates for 1.1.0-M1 2018-03-14 12:29:36 +01:00
Alexandre Archambault dbf3763037 Don't require publishing stuff locally prior to running scripted tests 2018-03-12 21:50:36 +01:00
Alexandre Archambault dc2e4996f4 Require Java 8 from now on 2018-03-12 21:50:35 +01:00
Alexandre Archambault fb5a2fde12 Merge cache and fetch-js projects 2018-03-12 20:50:22 +01:00
Alexandre Archambault 37aff72ada
Updates for 1.0.2 2018-02-09 11:26:37 +01:00
Alexandre Archambault c2d0d42018 Use echo to test native bootstrap generation 2018-02-07 10:23:07 +01:00
Alexandre Archambault 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01:00
Alexandre Archambault d36cf0c57b Updates for 1.0.1 2018-02-03 18:11:16 +01:00
Alexandre Archambault 695c677269 Updates for 1.0.1-M1 2018-02-01 23:57:24 +01:00
Jon Pretty 359ebf9fe5 Added simple ZSH completions, and updated README with install details (#756)
These completions were generated by copy/pasting details from the
version 1.0.0 '--help' output, and had a small amount of human input.
The completions are by no means perfect, and there is no intelligent
completion of parameter values (except `--mode`, which was trivial).

I hope that completions prove to be useful, and can form a basis that
other users of coursier can build upon, to improve the interactivity of
the command-line client.
2018-01-31 15:29:58 +01:00
Alexandre Archambault f414cf96b1 Fix Java 6 test 2018-01-09 14:32:14 +01:00
Alexandre Archambault 0bbdcb8446 Remove remaining sbt launcher stuff 2017-12-28 11:47:04 +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 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 00fd13e786 Update version numbers in CI scripts after 1.0.0 release 2017-12-18 12:00:03 +01:00
Alexandre Archambault 384f7ecc47
Updates for 1.0.0 2017-12-14 12:50:01 +00:00
Alexandre Archambault cbf3ff5558
Updates for 1.0.0-RC14 2017-12-12 02:05:09 +01:00
Alexandre Archambault ee9c61393c Move FromSbt / ToSbt helpers to separate module 2017-12-11 10:07:04 +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 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 a10b4ad0b0
Updates for 1.0.0-RC13 2017-10-29 15:08:20 +01:00
Alexandre Archambault 5377ce71df
Updates for 1.0.0-RC12-1 2017-10-28 13:33:10 +02:00
Alexandre Archambault 3636c58d07 Workaround issue with JAR list in pack directories
With just `sbt cli/pack`, it seems that the JARs of the other projects also
land in the pack directory. A `sbt "project cli" pack` works fine
though.
2017-10-21 02:50:08 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 799619de6e
Updates for 1.0.0-RC12 2017-09-20 15:13:49 +02:00
Alexandre Archambault 11486ea2ad
Updates for 1.0.0-RC11 2017-08-30 12:57:51 +02:00
Alexandre Archambault 6cc60bea1a
Updates for 1.0.0-RC10 2017-08-09 15:41:45 +02:00
Alexandre Archambault ef596c12c3
Updates for 1.0.0-RC9 2017-08-05 15:32:06 +02:00
Alexandre Archambault ad78a388f6
Updates for 1.0.0-RC8 2017-07-20 00:23:14 +02:00
Alexandre Archambault 6e86986cde
Updates for 1.0.0-RC7 2017-07-18 17:43:40 +02:00
Alexandre Archambault b91031034c Use custom published scala-native stuff 2017-07-11 20:36:00 +02:00
Alexandre Archambault 3271d90b26 Use custom published version of jarjar 2017-07-11 19:11:18 +02:00
Alexandre Archambault 7d69815f64 Allow to generate native bootstraps 2017-07-08 14:32:16 +02:00
Alexandre Archambault d25df01bf5 Updates for 1.0.0-RC6 2017-06-25 15:13:46 +02:00
Alexandre Archambault 361e4167a4
Updates for 1.0.0-RC5 2017-06-21 09:38:28 +02:00
Alexandre Archambault ac5d4cb9cc Updates for 1.0.0-RC4 2017-06-18 19:53:58 +02:00
Alexandre Archambault 4b42181dd8 Don't run the full scripted test suite for sbt 1.0.0-M6
Currently taking too long on both CIs...
2017-06-17 18:07:51 +02:00
Alexandre Archambault 995e8c70fd Add sbt-pgp-coursier plugin 2017-06-07 14:24:21 +02:00
Alexandre Archambault dbd602d5a8 Really run Travis tests in Mac env
The sudo:required seems to make it switch to Linux
2017-06-06 18:01:28 +02:00
Alexandre Archambault 69ffdeb553 Don't return duplicated artifacts from Ivy repos 2017-06-06 18:01:28 +02:00
Alexandre Archambault 1c83799218 Check that README.md doesn't change after a tut run on CI 2017-06-01 09:19:06 +02:00