Jordi Boggiano
3be04fd3b5
CS fix
2012-05-12 09:41:15 +02:00
Jordi Boggiano
1f76274b61
Merge remote-tracking branch 'ktomk/patch-2'
2012-05-12 09:40:35 +02:00
Ryan Weaver
9e1ed5a52f
[Command] Modifying the output of SearchCommand to make evenly-spaced package names for readability of results
2012-05-11 20:42:35 -05:00
Tom Klingenberg
c4d5819ec4
Compile has a message to tell.
2012-05-11 18:04:13 +02:00
Jordi Boggiano
453b9a616b
Add test for Pool handling and refactor a couple things
2012-05-11 17:21:02 +02:00
Jordi Boggiano
0936670213
Add support for stabilities in lock file
2012-05-11 17:20:10 +02:00
Jordi Boggiano
a3018c43eb
Infer stability flags for requirements that have an explicit version required of a lower stability
2012-05-09 20:03:56 +02:00
Jordi Boggiano
fabf5c2f6d
Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
2012-05-09 20:03:19 +02:00
Jordi Boggiano
ef28f3b067
Basic handling of stability flags
2012-05-09 19:10:06 +02:00
Jordi Boggiano
1aaae5284b
Add list of stabilities to base package
2012-05-09 19:10:04 +02:00
Jordi Boggiano
66068fedcb
Add minimum-stability flag on root package to filter packages by stability
2012-05-09 19:10:03 +02:00
Jordi Boggiano
b0134b56c5
Add CompositeRepo::getRepositories
2012-05-09 19:10:02 +02:00
Jordi Boggiano
70a3c68f73
Add package stability
2012-05-09 19:10:01 +02:00
Nils Adermann
655588a5e0
Merge pull request #659 from Seldaek/github_https_fallback
...
Github https fallback
2012-05-09 09:57:04 -07:00
Jordi Boggiano
04a125e561
Merge pull request #668 from naderman/asserts-to-exceptions
...
Turn assertions into solver bug exceptions with more info
2012-05-09 09:50:58 -07:00
Nils Adermann
11c59baf59
Remove useless property in exception class
2012-05-09 18:45:53 +02:00
Nils Adermann
37d271271d
Turn assertions into solver bug exceptions with more info
2012-05-09 18:44:14 +02:00
Jordi Boggiano
9c649a2652
Update lock
2012-05-09 18:10:39 +02:00
Jordi Boggiano
872293e8af
Remove special handling of root package branch-aliases
2012-05-09 18:03:35 +02:00
Jordi Boggiano
6864555aa4
Do not notify installation of aliases
2012-05-09 17:46:13 +02:00
Jordi Boggiano
2ca488f030
Fix message when updating a package installed from source
2012-05-09 17:41:43 +02:00
Jordi Boggiano
5959493679
Merge commit '45a2070feebdaf9ead7eccf5cd679cb92f0d24c9'
2012-05-09 17:31:37 +02:00
Jordi Boggiano
45a2070fee
Add BC warning for older lock files
2012-05-09 17:31:27 +02:00
Jordi Boggiano
fafd09a7ba
Improve output of operations to show details about dev versions
2012-05-09 17:31:12 +02:00
Nils Adermann
bd9aa6a288
Undo pointless changes in ArrayDumper
2012-05-09 16:49:48 +02:00
Nils Adermann
bca91677ac
Keep original packages in installed repository when adding aliases
2012-05-09 16:24:06 +02:00
Nils Adermann
74da398f21
Request install of normalized alias version in lock file
2012-05-09 16:23:38 +02:00
Nils Adermann
863bb59b73
Fix authorship info
2012-05-09 16:03:04 +02:00
Nils Adermann
0c1944a9d0
Let the solver handle aliases instead of the installer
2012-05-09 15:15:39 +02:00
Paul Seiffert
1713acf011
Coding standards and Cosmetics
...
Processing feedback given by @stof and @Seldaek.
2012-05-09 09:50:08 +02:00
Paul Seiffert
e4a0de5df4
When using composer commands outside a Composer\Console\Application, one does not have an IOInterface object
2012-05-09 00:30:33 +02:00
Paul Seiffert
b3a5ca93c7
Added comments -> IDE friendliness
2012-05-08 23:26:01 +02:00
Paul Seiffert
51e165c6c5
Composer\Command dependencies (application and io) should can now be injected. This way, Composer\Command objects can be used in a regular symfony2 Console\Application.
2012-05-08 23:25:32 +02:00
Paul Seiffert
7308049056
Added removePackage() to Repository\RepositoryInterface in order to provide to be able to rely on the existance of this method in all repositories. Had to add this method to the Repository\CompositeRepository.
2012-05-08 23:06:10 +02:00
Paul Seiffert
16941adb49
Added comments to Composer/Factory class in order to make it IDE friendlier.
2012-05-08 23:04:58 +02:00
Paul Seiffert
c438120c69
Added comments to Composer class in order to make it IDE friendlier. Also added missing property 'config'.
2012-05-08 22:41:37 +02:00
Jordi Boggiano
d74eec9bd5
Clarify output
2012-05-08 19:27:24 +02:00
Jordi Boggiano
dd17a1bbd7
Force platform packages to remain installed
2012-05-08 19:27:16 +02:00
Jordi Boggiano
90732fd03f
Clean up vendor dir after a package was removed
2012-05-08 19:27:09 +02:00
Jordi Boggiano
b84bcd84d6
Let the user know a package is being removed
2012-05-08 19:26:57 +02:00
Nils Adermann
15f43571b9
Rules of type feature are no longer needed
2012-05-08 19:26:50 +02:00
Nils Adermann
69b55f12ae
Call feature rules update rules, as there is no difference in composer
2012-05-08 19:26:43 +02:00
Nils Adermann
0bd6fa1f37
An array of installed packages is no longer needed in the solver
2012-05-08 19:26:36 +02:00
Nils Adermann
cf5d14e2e1
Move all solver members to top of the file
2012-05-08 19:26:27 +02:00
Nils Adermann
c51fedef8c
Policy rules cannot conflict with jobs anymore
...
As we no longer need special feature rules for updating installed packages
we don't have policy rules which might conflict with job rules anymore.
Everything is driven by jobs now.
2012-05-08 19:26:19 +02:00
Nils Adermann
5feff954a4
Remove commented out debug output
2012-05-08 19:26:13 +02:00
Nils Adermann
c37e126e14
Installed packages are now always removed unless otherwise requested
...
This means that an update request must always be accompanied by an install
request, otherwise the package might be removed rather than updated.
2012-05-08 19:25:58 +02:00
Nils Adermann
f4ae88a5d6
Create lookup table for installed packages in only one place
2012-05-08 19:25:47 +02:00
Nils Adermann
5daeacf0ac
We won't implement choice rules, you need to edit composer.json to choose
2012-05-08 19:25:38 +02:00
Nils Adermann
875261931c
We do not support any options to keep obsolete packages
2012-05-08 19:25:24 +02:00