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
Lukasz Piepiora
75a05dfcbf
Fix AutoPlugins declared at top-level
...
Fixes exception occuring when loading auto plugins, which are declared
as top-level classes
2014-06-24 20:52:18 +02:00
eugene yokota
14176967d8
Merge pull request #1411 from jaceklaskowski/deprecated-reversed
...
Place version and comment correctly in @deprecated
2014-06-23 18:48:42 -04:00
Vasya Novikov
33ee4a30c8
minor change: code style
2014-06-24 02:24:51 +04:00
Josh Suereth
b95cd8237a
Merge pull request #1419 from jroper/fix-newer
...
Fixed scripted newer command
2014-06-23 09:15:36 -04:00
Dan Sanduleac
f155a43a47
Scripted test for updateClassifiers not picking up inter-project dependency
2014-06-23 08:42:56 +01:00
James Roper
4d29302632
Fixed scripted newer command
...
The scripted newer command was effectively a noop, it always passed
because it returned false instead of throwing an exception when it
failed.
Implemented specs for most of the scripted file commands as well.
2014-06-23 15:12:34 +10:00
Jacek Laskowski
54bc04dadb
Place version and comment correctly in @deprecated
2014-06-18 00:18:05 +02:00
Vasya Novikov
66c9314d20
make it possible to reference a branch of a local git repository
...
Reasoning on why this change is wanted can be found
on the "sbt-dev" mailing list,
topic "problem with referencing a local git repository"
2014-06-15 02:14:27 +04:00
David Pratt
6348c22251
Merge remote-tracking branch 'upstream/0.13' into 0.13
2014-06-09 13:56:16 -05:00
David Pratt
0bb9be34df
Make jar artifact a 0-byte file.
2014-06-09 13:54:20 -05:00
xuwei-k
dd628d2441
Triggered Execution should be aware of rename or move file
2014-06-09 00:49:45 +09:00
David Pratt
2ceb4f7d72
Add a unit test for the 'scala-jar' mapping.
2014-06-07 20:58:31 -05:00
eugene yokota
47b5790c41
Merge pull request #1391 from sbt/wip/1390
...
Improve test failure message for #1390 .
2014-06-06 13:24:11 -04:00
Josh Suereth
7cefc4bac4
Merge pull request #1397 from havocp/wip/havocp-try-harder-for-errors
...
Try harder to get diagnostics on server launch failure
2014-06-06 10:04:41 -04:00
David Pratt
0ac485feb7
Add 'scala-jar' to the list of jar artifacts.
...
The CustomPomParser has a hard-coded list of 'blessed' Maven POM packaging types
that are actually packaged as jar files, but Ivy incorrectly maps the file extension.
This patch allows artifacts published with the 'scala-jar' packaging to be properly
resolved and used in an SBT project.
2014-06-05 18:11:37 -05:00
Josh Suereth
fbb0e318fd
Merge pull request #1396 from skyluc/2.12-support
...
Adds support for Scala 2.12
2014-06-05 16:26:21 -04:00
eugene yokota
e665d1268d
Merge pull request #1393 from sbt/wip/fix-release-211-again
...
One more fix to release script.
2014-06-05 15:34:54 -04:00
Josh Suereth
4311f87d64
Remove flaky test.
...
Fixes #1390
2014-06-05 12:39:44 -04:00
Havoc Pennington
506d06bf67
Don't delete the server config file if SBT_SERVER_SAVE_TEMPS ne null
...
This allows people to reproduce failures by running the command line
by hand.
Fixes #1394
2014-06-05 11:18:22 -04:00
Havoc Pennington
a72448b793
Flush output every time we write to it in StreamDumper
...
To try harder to get our errors displayed.
2014-06-05 11:09:59 -04:00
Havoc Pennington
63d9b638c3
Wait 5 seconds instead of 2 seconds to read stderr from launched server
2014-06-05 11:07:37 -04:00