Commit Graph

105 Commits

Author SHA1 Message Date
Alexandre Archambault 8185c94b1c Add evicted stuff to update report
Should make evicted work fine from sbt-lm-coursier and sbt itself
2019-06-19 17:16:09 +02:00
Alexandre Archambault cbbdd02422 Disable sbt-pgp-coursier tests
Seems some signatures use an algo that bouncycastle doesn't support, and
/ or some stuff broke internally.
2019-05-27 14:50:33 +02:00
Eugene Yokota 21ee54e198 Run MiMa on Travis CI
Ref 62d1ab0249
Ref https://github.com/coursier/coursier/issues/1174
2019-05-22 15:19:46 -04:00
Alexandre Archambault 6bdd0f985a Vendor more stuff in lmcoursier, shade coursier in it
Along with shapeless, argonaut, argonaut-shapeless that coursier depends
on now.
2019-04-25 16:34:08 +02:00
Alexandre Archambault 74d28eb1c4 Tweak .travis.yml 2019-03-04 18:08:06 +01:00
Alexandre Archambault a1dd332d4e Move remaining sbt-coursier specific tests 2018-11-22 14:23:50 +01:00
Alexandre Archambault 6cd9b7e2b4 Move ivy.xml generation stuff to sbt-coursier-shared 2018-11-20 17:18:19 +01:00
Alexandre Archambault cd5e4fc00d Run sbt-lm-coursier tests in separate Travis jobs 2018-11-20 15:59:45 +01:00
Alexandre Archambault d63e328665 Start to run scripted tests for sbt-lm-coursier 2018-11-20 11:48:19 +01:00
Alexandre Archambault 55f457a6f7 Add DependencyResolutionInterface implementation in lm-coursier
Originally based on https://github.com/sbt/librarymanagement/pull/270
2018-11-20 11:25:16 +01:00
Alexandre Archambault ebbf0b105b Split sbt-coursier Travis CI job 2018-10-17 14:18:04 +02:00
Alexandre Archambault 96ae126866 Use handmade metadata from separate repo 2018-10-01 16:55:27 +02:00
Alexandre Archambault 0d161be94d Run sbt-pgp-coursier tests in their own job 2018-09-28 18:31:16 +02:00
Alexandre Archambault 3e05d920a4 Keep only sbt plugins 2018-09-28 18:23:43 +02:00
Alexandre Archambault db1884a84e Remove 2.10 stuff 2018-09-24 15:03:50 +02:00
Alexandre Archambault 9c6335458e Stop publishing snapshots from CI
The corresponding jobs keep running into `java.net.ProtocolException: Too many follow-up requests: 21`.

Might try again to publish those, with sbt-dynver or an equivalent enabled,
via Travis CI stages.
2018-09-24 10:00:16 +02:00
Alexandre Archambault 69e933dd0d Remove deprecated gh-pages related scripts 2018-09-24 09:59:44 +02:00
Alexandre Archambault 6198ef85f2
Run test repo from a more practical script (#901) 2018-09-22 18:32:40 +02:00
Alexandre Archambault 496e40a2be
Updates for 1.1.0-M7 2018-08-02 23:16:59 +02:00
Alexandre Archambault 7dee5f65bd
Updates for 1.1.0-M6 2018-07-17 20:12:29 +02:00
Ryo Fukumuro c5b43d8d35 Make bootstrap safe for arguments including spaces (#882) 2018-07-16 14:05:22 +02:00
Alexandre Archambault 8265c143bb
Updates for 1.1.0-M5 2018-07-10 19:56:57 +02:00
Alexandre Archambault b926591133
Updates for 1.1.0-M4 2018-05-21 19:47:09 +02:00
Alexandre Archambault 38c0d60424 Revert debug stuff 2018-05-21 18:30:54 +02:00
Martynas Mickevičius e4f40b6a1d Partition system and app args to bootstrapped executable (#852) 2018-05-21 18:29:27 +02:00
Alexandre Archambault 2a689408f7
Updates for 1.1.0-M3 2018-05-05 13:04:53 +02:00
Alexandre Archambault 104368a551 Allow to generate assemblies via the bootstrap command
Just pass '-a' or '--assembly' as option
2018-04-30 00:09:06 +02:00
Alexandre Archambault 962debc050 Take into account --property options in bootstrap 2018-04-30 00:02:02 +02:00
Alexandre Archambault d0e9e41ca9 Actually pass Java options to bootstraps 2018-04-30 00:02:02 +02:00
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