Commit Graph

214 Commits

Author SHA1 Message Date
Guillaume Massé 66f801bf92 Compiles with sbt 1.0 and sbt 0.13
1. ascii-graphs

We need a 2.12 version of ascii-graphs. The last commit to the project is in June 2013 (https://github.com/mdr/ascii-graphs/graphs/contributors). We are now in October 2017. I opened a PR (https://github.com/mdr/ascii-graphs/pull/11) but I don't expect any progress on this front. We can maintain a fork or drop ascii-graphs.

2. ignoreMissingUpdate

ignoreMissingUpdate is a tricky one. Here is some explanation:

we need to duplicate the updateTask

in sbt it's define as:

```scala
def updateTask: Initialize[Task[UpdateReport]] = Def.task {
  // ...
  val uc0 = updateConfiguration.value
  // ...
}
```

since it's not scoped to our task (ex: `updateConfiguration in ignoreMissingUpdate`) we cannot just do

```scala
updateConfiguration in ignoreMissingUpdate := {
  updateConfiguration.value.withMissingOk(true)
}
```

For example, the following example yield `"u2: false"

```
val update2 = TaskKey[Unit]("update2", "...")
val update2Configuration = SettingKey[Boolean]("...")

update2 := Def.task {
  val u2 = (update2Configuration in update2).value
  println(s"u2: $u2")
}.value

update2Configuration := false
update2Configuration in update2 := true
```

3. cross publishing

We can use the ^ operator to publish. For example: `sbt "^ publish"` to publish for both sbt 0.13 and 1.0.
2017-10-17 15:42:00 +02:00
Guillaume Massé 8591a5adae Bump to sbt 0.13.16, drop support for sbt 0.12.x 2017-10-16 16:44:26 +02:00
Johannes Rudolph 7a92c224d8 Merge pull request #125 from OleksandrBezhan/docs/readme-markdown
Fix readme markdown
2017-06-06 18:14:32 +02:00
Johannes Rudolph c57a81d226 Merge pull request #127 from xuwei-k/remove-ls
remove ls json
2017-06-06 18:12:32 +02:00
Johannes Rudolph c2193cea09 Merge pull request #126 from xuwei-k/remove-sbt-cross
remove sbt-cross-building, add .travis.yml
2017-06-06 18:10:41 +02:00
xuwei-k 78092eb193 add .travis.yml 2017-06-05 23:42:46 +09:00
xuwei-k 775cad68fe remove sbt-cross-building 2017-06-05 23:07:18 +09:00
xuwei-k 77b0e5a550 remove ls json 2017-06-05 22:58:44 +09:00
Alex Bezhan d81aaf0f9c Fix readme markdown 2017-06-05 14:35:23 +03:00
Johannes Rudolph e397e5b6d2 Merge pull request #64 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-12-17 12:15:25 +01:00
Johannes Rudolph 546e8e2e05 Merge pull request #108 from thetristan/generate-it-report
Generate reports for projects using IntegrationTest config
2016-06-30 08:45:44 +02:00
Tristan Blease db73b6d83c Return empty graph if no update report is found 2016-06-26 13:11:11 -04:00
Tristan Blease 91cb6e0931 Add IntegrationTest as a default config for generating ivy reports 2016-06-26 12:22:58 -04:00
Johannes Rudolph 8ff4397b5a Merge pull request #103 from alkersan/master
Replaced http CDN links with https, fixes #102
2016-05-29 14:19:22 +02:00
Dmytro Aleksandrov e52bb48278 Replaced http CDN links with https 2016-05-29 13:44:36 +03:00
Johannes Rudolph 014c98daf4 Merge pull request #92 from dwijnand/readm-link-to-compatibility-notes
Fix link to Compatibility notes
2016-02-17 09:28:56 +01:00
Dale Wijnand e387d35a43 Fix link to Compatibility notes 2016-02-16 23:18:46 +00:00
Johannes Rudolph d989e8fa01 include space in token in `whatDependsOn` parser for better suggestions, fixes #91 2016-02-10 12:48:00 +01:00
Johannes Rudolph 96aee390df next version 2016-02-01 11:02:29 +01:00
Johannes Rudolph 188a343161
prepare 0.8.2 2016-02-01 11:01:25 +01:00
Johannes Rudolph e551c8f526 Merge pull request #89 from chtefi/patch-1
Use v0.4.16 of dagre-d3 to avoid javascript error
2016-02-01 09:40:29 +01:00
Stéphane Derosiaux b62fcec676 Use v0.4.16 of dagre-d3 to avoid javascript error
When using `dagre-d3` v0.4.10, my browser (Chrome 49) crashes an javascript error and the arrows are not displayed :
```
Uncaught TypeError: t.getTransformToElement is not a function
```
This happens in the function `getCoords` of the library.

Using the latest version v0.4.16 of dagre-d3 fixes the issue.
2016-01-31 18:11:32 +01:00
Johannes Rudolph d6d53ff0e9 0.8.1 notes fixes 2016-01-10 11:25:05 +01:00
Johannes Rudolph 9fe12b8380 next version 2016-01-08 18:41:36 +01:00
Johannes Rudolph 88f0699398 bump version to 0.8.1 2016-01-08 18:38:20 +01:00
Johannes Rudolph c9d1f81149 added `dependencyStats`: a tabular console output showing an overview of jar-sizes, fixes #83 2016-01-08 18:30:01 +01:00
Johannes Rudolph f7e3a49e93 add `dependency-list`, fixes #85 2016-01-08 17:29:42 +01:00
Johannes Rudolph 00d64878aa dependencyDot: fix rendering of HTML labels, fixes #84 2016-01-08 17:29:42 +01:00
Johannes Rudolph cc2c3d1d9e bump version 2016-01-08 17:29:42 +01:00
Johannes Rudolph 0e0a30fd6f update notes 2015-11-26 14:43:44 +01:00
Johannes Rudolph 8e43a2fd02 Better wording 2015-11-26 14:43:22 +01:00
Johannes Rudolph ce4c20dc60 Better README wording 2015-11-26 14:36:04 +01:00
Johannes Rudolph cea712c050 Merge branch '0.8' and fix README 2015-11-26 14:34:57 +01:00
Johannes Rudolph 21ccad2109 fix notes 2015-11-26 14:32:22 +01:00
Johannes Rudolph 5655b98c1e Fix links in README 2015-11-26 13:35:01 +01:00
Johannes Rudolph 90923e9be5 fix scripted tests 2015-11-26 13:31:55 +01:00
Johannes Rudolph 7b7f4d983f update README / notes 2015-11-26 13:31:55 +01:00
Johannes Rudolph 2a54348003 fall back on ivy report XML for sbt < 0.13.6 2015-11-26 13:31:55 +01:00
Johannes Rudolph 21e5b7ce5b refactoring 2015-11-26 11:56:00 +01:00
Johannes Rudolph 83a311b4af make it compile again with sbt 0.13.6 2015-11-26 11:53:47 +01:00
Johannes Rudolph a821b27809 bump version to 0.8.0 and update README to reflect changes 2015-11-25 16:50:30 +01:00
Johannes Rudolph 167a8a3f50 Link to 0.8 branch in README 2015-11-18 18:22:51 +01:00
Johannes Rudolph eac58262d4 preliminary overhaul of the README 2015-11-18 17:58:23 +01:00
Johannes Rudolph 000b0ed253 render a graph in the browser using dagre-d3 and graphlib-dot, fixes #29 2015-11-18 17:41:30 +01:00
Johannes Rudolph ac0ab5189a in DOT graph render special evicted by edges and access new elements through evicted ones 2015-11-18 17:36:55 +01:00
Johannes Rudolph 932085bdf6 rename frontend -> backend 2015-11-17 20:40:00 +01:00
Johannes Rudolph a89e63f956 new backend to generate graph directly from sbt data structures, fixes #39 2015-11-17 20:34:08 +01:00
Johannes Rudolph 191d12aa7a enable plugin automatically 2015-11-17 19:14:36 +01:00
Johannes Rudolph 8f107639ae fix typo 2015-11-17 18:02:01 +01:00
Johannes Rudolph a82235e813 make cycles in the graph more visible 2015-11-17 17:34:51 +01:00