Commit Graph

67 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
Ryo Fukumuro c5b43d8d35 Make bootstrap safe for arguments including spaces (#882) 2018-07-16 14:05:22 +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 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 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 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 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 f414cf96b1 Fix Java 6 test 2018-01-09 14:32:14 +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 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 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 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 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