Jordi Boggiano
3c0edd8c7f
Process remove ops first, fixes #2874
10 years ago
Jordi Boggiano
a931faaa34
Fix boolean check fail from a8ec134c2c
10 years ago
David Zuelke
a8ec134c2c
Only print suggestions in dev mode
...
There is no need to clutter the screen/logs/whatever with suggestions in production installs. If someone didn't care about them in dev mode, they certainly won't in production :)
10 years ago
Bilal Amarni
db91454a13
added an autoload-dev section
11 years ago
Jordi Boggiano
e1e48b28f7
Update vendor dir modified time after every install/update, fixes #2764
11 years ago
Jordi Boggiano
234be0b5e3
CS fixes, refs #2750
11 years ago
Richard George
2c01c9dd05
Avoid "Package foo/* listed for update is not installed" error
...
Previously 'compose update foo/*' gave an error
"Package foo/* listed for update is not installed. Ignoring" even if some foo/*
packages were present; however the packages *would* then be updated as
requested. This removes the false error iff foo/SOMEPACKAGE is required.
11 years ago
Robert Boloc
5e5311a224
use optimize-autoloader config param in update and install commands
11 years ago
Jordi Boggiano
51e6c3a466
Optimize solving by removing packages that are excluded by the root package requires
11 years ago
Marco Vito Moscaritolo
32b18a9409
Fixed missing closed warning tag.
...
In a console output a warning tag is not closed
11 years ago
Jordi Boggiano
384ed2822d
Fire pre-update|install-cmd event as early as it should be, refs #2520
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Matthieu Auger
fcba5257d9
If installer sets prefer option to false, the manager should too. Fixes #2359
11 years ago
Phillip Look
07a7284ffc
Change dependency processing for update with whitelisted packages
...
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Jordi Boggiano
9dcada5e25
Remove buggy chunk of code, refs #2312 , refs #2305
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Nils Adermann
f0b45099c1
Correct authorship info for files I edited
11 years ago
Nils Adermann
3960edd64e
Turn EventDispatcher into generic solution handling plugins as well
11 years ago
Nils Adermann
01a08a2ff3
As preparation for composer plugins, rename custom installers to plugins
11 years ago
Jordi Boggiano
21299e0bc4
Make sure all installers are installed first unless they have requirements, refs #2107 , fixes #1147
11 years ago
Sebastian Kurfuerst
51b1eeeb3f
[BUGFIX] make sure composer/installers is always installed/updated first
...
Resolves : #1147
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Jordi Boggiano
7f7d13450e
Clarify code a bit
11 years ago
Beau Simensen
3a0e4af132
Ensure packages in additional installed repository are not updated
...
The underlying assumption of the additional installed repository is that those
packages are installed in such a way that they cannot be updated. Prior to this
fix they were still candidates for change. This ensures that they are treated
like platform and root packages and are not candidates for update.
11 years ago
Jordi Boggiano
b9a44a0057
Add RootAliasPackage, fixes #1842
11 years ago
Jordi Boggiano
5264d0637b
Fix regression added in 33af9eea95
, fixes #1841
11 years ago
Jordi Boggiano
faa419cc0e
Merge remote-tracking branch 'hason/alias'
11 years ago
Jordi Boggiano
73f4ce59ca
Adjust -vv output of operation reasons in the installer
11 years ago
Jordi Boggiano
201cde05be
Show reasons why an operation is executed in -vv mode, fixes #1063
11 years ago
Martin Hasoň
fa0d62ab6a
Settings of the same repository for a package is allowed.
11 years ago
Martin Hasoň
02f92e678f
Fixed update alias packages in dry-run mode
11 years ago
Martin Hasoň
753a8345cb
Added support for the alias of an aliased package
11 years ago
Jordi Boggiano
d38eb244fa
Add PlatformRepository::PLATFORM_PACKAGE_REGEX to remove duplication
11 years ago
Jordi Boggiano
b519d65bff
Do not throw exception on install --dev with old lock files if composer.json has no require-dev
11 years ago
Jordi Boggiano
2b385cbe58
Fix dependency flags not applying to provides/replaces, fixes #1771
11 years ago
Jordi Boggiano
b0297ef67a
Add prefer-stable flag to pick stable package over unstable ones when possible
11 years ago
Jordi Boggiano
83084eedf9
Skip update whitelist warning for "nothing" and "lock"
11 years ago
Jordi Boggiano
7e4ca7638c
Remove support for deprecated lock format
11 years ago
Jordi Boggiano
ee60df708d
Handle stability changes correctly, fixes #877
...
On update, packages that are less stable than the minimum-stability allows will
now be downgraded to their correct versions, even if they were installed as
unstable already.
11 years ago
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
11 years ago
Jordi Boggiano
60204f9227
Fake a dev lock when a non-dev update is made and there are actually no dev requirements
12 years ago
Jordi Boggiano
a32aa1a305
Fix BC handling of old require-dev, refs #1656
12 years ago
Jordi Boggiano
373ff04261
Fetch only non-dev packages from lock if doing a dev update fails due to a previously incomplete lock file, fixes #1650
12 years ago
Jordi Boggiano
ea7d79ab03
Make sure platform requirements of the root package are enforced when installing from lock, fixes #1611
12 years ago
Jordi Boggiano
73adf29602
Purge old dev packages before installing/updating new ones to make sure people do not have issues updating
12 years ago
Jordi Boggiano
4207fc3b19
Refactor require-dev handling to use one single repository and a one pass solving, fixes #719 , fixes #1185 , fixes #1330 , fixes #789 , fixes #640
12 years ago
Jordi Boggiano
357f0572d1
Only print ignoring warning when a package is not installed and not required by the root package, fixes #1642
12 years ago
Christian Jul Jensen
b04dbf5d71
Outout message when trying to update non-installed packages
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
David Weinraub
86defea407
Modify punctuation for outdated dependency message in installer
12 years ago