1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
Commit graph

1936 commits

Author SHA1 Message Date
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
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
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
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
Jordi Boggiano
a9fe883827 Use https fallback for github private repos if ssh protocol fails and we can ask the user's password 2012-05-06 17:19:30 +02:00
Jordi Boggiano
7bfe031768 VcsDrivers now send proper originUrl for authentication 2012-05-06 17:18:26 +02:00
Jordi Boggiano
c754f96677 Removed last password/username from IOInterface 2012-05-06 17:17:36 +02:00
Bastian Hofmann
4b3fc2b5fa Merge branch 'master' of git://github.com/composer/composer
Conflicts:
	src/Composer/Repository/PearRepository.php
2012-05-06 14:42:13 +02:00
Bastian Hofmann
7501009d74 added tests for PearRepository 2012-05-06 14:40:47 +02:00
Jordi Boggiano
072f4397a0 Fix default options handling in StreamContextFactory 2012-05-06 13:50:18 +02:00
Jordi Boggiano
00e4d53bcf Merge remote-tracking branch 'maximcherny/proxy-auth' 2012-05-06 13:41:41 +02:00
Jordi Boggiano
c454d93a20 Move all logic within try/catch to prevent an incorrect version from blowing up the whole package 2012-05-06 13:28:37 +02:00
Maxim Chernyshev
5294cb222c Precious community feedback-based refactoring 2012-05-02 17:21:58 +08:00