Commit Graph

3522 Commits

Author SHA1 Message Date
eugene yokota 500a0ce43d Merge pull request #1476 from sbt/wip/exclude-rules-ivy
Add caching around dependency exclude rule evaluation
2014-07-31 17:14:01 -04:00
Eugene Yokota d06bd002ff Add Release.javaVersionCheckSettings to Release.settings 2014-07-31 15:18:39 -04:00
Eugene Yokota eeb9898954 Fix contributing.md 2014-07-31 04:37:45 -04:00
eugene yokota d3842d87f4 Merge pull request #1482 from joscha/patch-1
Remove whitespaces at the end of Google Group URL
2014-07-31 04:34:13 -04:00
Joscha Feth 58e4f757cb Remove whitespaces at the end of Google Group URL 2014-07-31 10:31:16 +02:00
Eugene Yokota 0a00d0625a Added sbt-javaversioncheck to the build, and bumped up sbt/ivy version to 2.3.0-sbt-14d4d23e25f354cd296c73bfff405544434d5f80 2014-07-30 19:52:59 -04:00
Eugene Yokota a1c54bfb59 Updates internal Ivy to 2.3.0-sbt-fac2aaab6f982c4424b47e6b190190bef50a6f59 for exclude rule perf 2014-07-29 22:06:05 -04:00
Eugene Yokota f77b6b2b03 scalariform formatting 2014-07-29 22:03:02 -04:00
eugene yokota ea2c7f7d46 Merge pull request #1473 from sbt/wip/resolve-consolidation2
Improved consolidated resolution testing. #1454
2014-07-29 21:29:47 -04:00
eugene yokota 99335c959e Merge pull request #1474 from sbt/wip/0136-m1-notes1
Updated release notes
2014-07-29 21:29:20 -04:00
Eugene Yokota 38ba0181f3 Move one item to bug fix 2014-07-29 21:06:33 -04:00
Eugene Yokota b5bc76e2d1 Updated notes 2014-07-29 18:35:48 -04:00
Eugene Yokota 5687f72557 Improved consolidated resolution testing. #1454 2014-07-29 12:49:50 -04:00
Josh Suereth 57aaaf7a60 Merge pull request #1467 from sbt/wip/eviction-warning
Eviction warnings (Fixes #1200)
2014-07-29 11:08:42 -04:00
Eugene Yokota d6dbbaaf2e Improve doc on ModuleDetailReport per @jsuereth 2014-07-28 13:25:54 -04:00
Eugene Yokota cdf3c6e857 notes. #1200 2014-07-27 12:53:49 -04:00
Eugene Yokota c8af32950d Implements eviction warning stories. #1200
This implements all stories from https://github.com/sbt/sbt/wiki/User-Stories%3A-Conflict-Warning.
When scalaVersion is no longer effective an eviction warning will display.

    Scala version was updated by one of library dependencies:
        * org.scala-lang:scala-library:2.10.2 -> 2.10.3

When there're suspected incompatibility in directly depended Java libraries,
eviction warnings will display.

   There may be incompatibilities among your library dependencies.
   Here are some of the libraries that were evicted:
      * commons-io:commons-io:1.4 -> 2.4

When there's suspected incompatiblity in directly depended Scala libraries,
eviction warnings will display.

  There may be incompatibilities among your library dependencies.
  Here are some of the libraries that were evicted:
      * com.typesafe.akka:akka-actor_2.10:2.1.4 -> 2.3.4

This also adds 'evicted' task, which displays more detailed eviction warnings.
2014-07-27 12:26:12 -04:00
Eugene Yokota 3e3d7651f8 pseudo-case class VersionNumber
VersionNumber is a pseudo-case class that represents any form of
version number. The unapply extractor can parse String into
three sequences that makes up VersionNumber.
VersionNumberCompatibility trait uses two VersionNumber instances
to evaluate binary compatibility between them.
Two implementations SemVer and SecondSegment are provided.
2014-07-27 12:14:30 -04:00
Eugene Yokota f2ad294984 Fixing more NullPointerError by wrapping license URL with Option 2014-07-27 12:01:11 -04:00
Eugene Yokota bb6e3e34e6 Fixing NullPointerError caused by reading String from Ivy directly 2014-07-25 03:51:20 -04:00
Eugene Yokota d40733807f Implemented general eviction warning. #1200
a> update
    [info] Updating {file:/foo/}a...
    [info] Resolving org.fusesource.jansi#jansi;1.4 ...
    [info] Done updating.
    [warn] Some dependencies were evicted:
    [warn]  * org.scala-lang:scala-library (2.10.1) -> 2.10.3
2014-07-25 03:51:20 -04:00
Eugene Yokota 855e7f176b Expand ModuleReport into the full Ivy resolution report. #1200
Currently sbt's update task generates UpdateReport from
Ivy's resolution report.
For each configuration there's ConfigurationReport, which contains
just enough information on the resolved module/revision/artifact.

Speaking of module, in Ivy module means organization and name,
and organization, name, and version is called module revision.
In sbt, module revision is called Module.
This is relevant because to talk about evictions, we need
a terminology for organization and name combo.

In any case ConfigurationReport is expanded to have `details`
field, which contains Seq[ModuleDetailReport], which represents
organization and name combo plus all the modules
just like Ivy's resolution report XML.
Furthermore, ModuleReport is expanded to include licenses,
eviction, callers, etc.
2014-07-25 03:51:19 -04:00
eugene yokota 5b070b9dcc Merge pull request #1454 from sbt/wip/resolve-consolidation
Consolidated resolution
2014-07-24 02:13:01 -04:00
Eugene Yokota e997769971 Consolidated resolution. Fixes #413
This adds a new setting key called updateOptions, which can enable
consolidated resolution for update task.
The consolidated resolution automatically generates an artificial
module descriptor based on the SHA-1 of all external dependencies.
This consolidates the Ivy resolution of identical Ivy dependency
graph across multiple subprojects.

This is how it's enabled:

    updateOptions := updateOptions.value.withConsolidatedResolution(true)
2014-07-24 02:12:46 -04:00
eugene yokota 0bb882b186 Merge pull request #1463 from jaceklaskowski/docs-contributing
Contributing updated
2014-07-23 23:54:31 -04:00
Jacek Laskowski cb21614258 Contributing updated 2014-07-24 00:57:36 +02:00
eugene yokota 9df5882766 Merge pull request #1456 from sbt/wip/build-sbt-vals-in-set-command
Export build.sbt values inside sbt.
2014-07-21 10:30:39 -04:00
Josh Suereth 50696398a1 Minor cleanups and fix Eval tests to work correctly. 2014-07-17 23:32:29 -04:00
Josh Suereth 31c9de8efd Fix the val extractor to only pull sbt types rather than all. 2014-07-17 19:54:52 -04:00
Josh Suereth 13fc1114de Export build.sbt values inside sbt.
* Expose the values PAST the Eval/sbt.compiler package.
* Find projects using the name API rather than finding htem and dropping all values immediately.
* Adds a test to make sure the .sbt values are discovered and set-able
* Expose .sbt values in Set command and inside BuildUnit methods.
* Ensure `consoleProject` can see build.sbt values.
* Add notes for where we can look in the build if we want to expose .sbt values between files.
2014-07-17 16:29:06 -04:00
eugene yokota 9c442d3aed Merge pull request #1451 from sbt/fix/issue-1434-disable-plugins
Make it so we can disable all default plugins (except the core plugin).
2014-07-17 14:49:05 -04:00
Josh Suereth e2949222b3 Make it so we can disable all default plugins (except the core plugin). 2014-07-15 00:51:55 -04:00
Josh Suereth 4f3da04515 Merge pull request #1447 from sbt/wip/improve-resolve-exception
Improve resolve exception
2014-07-14 10:05:13 -04:00
Josh Suereth e9fb853a7a Merge pull request #1450 from pvlugter/junit-tests
Select the first test fingerprint for a test name for forked tests
2014-07-14 09:36:41 -04:00
Peter Vlugter f7fbdb0281 Select the first test fingerprint for a test name for forked tests
Move the 'distinct by name' filter to Tests.processOptions, which is used
by both in-process and forked tests.
2014-07-14 11:57:52 +12:00
Eugene Yokota ae13cd8412 Improves unresolved dependencies error by displaying the deps nodes. fixes #1422, #381 2014-07-10 17:49:52 -04:00
Eugene Yokota efb68cf6bf whitespace change due to scalariform kicking in 2014-07-10 17:46:41 -04:00
Josh Suereth e1c2c435d1 Merge pull request #1433 from henrikengstrom/wip/h3nk3-regex-fix
Regex now handles versions that contain multiple '-' characters in the v...
2014-07-07 15:49:06 -04:00
Henrik Engstrom 92dd3dbd3f Regex now handles versions that contain multiple '-' characters in the version. 2014-07-03 18:57:48 -04:00
Josh Suereth fd32070aab Merge pull request #1400 from dpratt/0.13
Add 'scala-jar' to the list of jar artifacts.
2014-07-03 11:57:12 -04:00
Josh Suereth f2e805a0d8 Merge pull request #1367 from dansanduleac/issue/1366
Don't update classifiers of projectDependencies
2014-07-02 10:09:45 -04:00
Josh Suereth cfe575c39e Merge pull request #1426 from lpiepiora/fix-plugin-command
Fixes #1416: Plugin command doesn't work
2014-07-02 10:01:16 -04:00
Lukasz Piepiora 871ccb0ab9 Fixes #1416: Plugin command doesn't work
Fix `plugin` command not working with plugin names containing `.`
2014-06-29 23:55:23 +02:00
eugene yokota 57ca26fe77 Merge pull request #1401 from xuwei-k/watch
Triggered Execution should be aware of rename or move file
2014-06-27 12:05:59 -04:00
eugene yokota 172e091d9e Merge pull request #1409 from vn971/0.13
make it possible to reference a branch of a local git repository
2014-06-24 23:00:45 -04:00
eugene yokota 79cbc5a744 Merge pull request #1424 from jaceklaskowski/deprecated-annotation-param-positions
Message and since parameters in @deprecated properly placed
2014-06-24 22:59:55 -04:00
eugene yokota 77384a8a05 Merge pull request #1425 from jaceklaskowski/typo-fixes
Typo fixes + removing unnecessary semicolons
2014-06-24 22:58:59 -04:00
eugene yokota 137805ed01 Merge pull request #1423 from lpiepiora/fix-top-level-auto-plugins
Fix AutoPlugins declared at top-level
2014-06-24 22:52:00 -04:00
Jacek Laskowski ebbb77e200 Typo fixes + removing unnecessary semicolons 2014-06-25 00:08:25 +02:00
Jacek Laskowski d1dbdfc816 Message and since parameters in @deprecated properly placed 2014-06-24 22:35:34 +02:00