Niels Keurentjes
8e78ce9a43
Add extra logging before and after SAT solving
8 years ago
Jordi Boggiano
55b0ed8c8b
Change installs into updates if there is no lock file, simplify some code, fixes #5034
8 years ago
Rob Bast
8a19e8bd17
fix follow up issue to #4795
8 years ago
Jordi Boggiano
8344c6d3d7
Merge pull request #4993 from hkdobrev/create-project-suggests
...
List project suggestions in create-project command
8 years ago
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Jordi Boggiano
02ed27b16b
Add outdated lock and failure to parse deps to quiet output, fixes #4393
8 years ago
Jordi Boggiano
c2d78e5ce0
Restore GC and add comments to clarify why we turn it off, fixes #3488 , closes #3503
8 years ago
Rob Bast
a245c4618b
php-cs-fixer
8 years ago
Niels Keurentjes
72a3563f1e
Removed some 3 year old backward compatibility code.
9 years ago
Rob Bast
be5719eb53
Merge remote-tracking branch 'upstream/master' into repro-4795
...
* upstream/master: (98 commits)
Fallback to zlib extension to unpack gzip on non Windows systems
Zip extension does not provide zlib support
Unified all Windows tests throughout the code.
Added Platform utility and unit test for it.
Remove warnings for non-writable dirs, refs #3588
[doc] add -H flag to sudo commands
use full json content to determine reference, closes #4859
typos
Make sure COMPOSER_AUTH is also loaded in Config, refs #4546
Use proper defaults for IO authentications
Add verbosity input support to IOInterface
Update SolverTest.php
Update broken-deps-do-not-replace.test
Update SolverProblemsException.php
Cleaned up check+conversion that was no longer required.
Cleaner notation for expected exceptions in fixtures.
Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
Included unit test for circular root dependencies.
Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--"
Clarified error message and added braces.
...
9 years ago
Rob Bast
0e584aa980
resolve issue
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Artur Eshenbrener
cf593351ef
Bypass `runScripts` parameter to autoload dumper in `Installer:run()` method
9 years ago
Jordi Boggiano
4f934d9282
Avoid sending install notifications in dry-run mode
9 years ago
Boris Momčilović
b05b52ff7e
InstallationManager: notifyInstalls: append authorization header for repository
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Rob Bast
a1427d7fd6
replace all occurences in code and comments
9 years ago
Jordi Boggiano
8913ac2fff
Merge pull request #4362 from bd808/classmap-authoritative-cli
...
Add cli argument for classmap-authoritative
9 years ago
Matthias Pigulla
3c08318ea0
Add test
9 years ago
Matthias Pigulla
2db52ebeba
Also update source type and reference when changing URLs
9 years ago
Jordi Boggiano
6508dc4322
Allow packages with only a dist ref to be force updated when the dist ref changes
9 years ago
Bryan Davis
cc2b9cfca5
Add cli argument for classmap-authoritative
...
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.
Closes #4361
9 years ago
DSanchez
abfe54f334
Add missing PHPDoc
...
Conflicts:
src/Composer/Installer.php
9 years ago
DSanchez
6ce9d2e152
Remove useless variable, method return void!
9 years ago
Jordi Boggiano
a979cc78ed
Suppress warnings on touch() failures of the vendor dir, refs #4070
9 years ago
Nils Adermann
5b1b96b61e
Output the number of rules used in the solver for profiling purposes
9 years ago
Nils Adermann
07e1d227c9
Output the size of the pool after dependency resolution for users
9 years ago
Jordi Boggiano
d0ff01698d
Fix outdated comment
9 years ago
Jordi Boggiano
d5bdf4be28
Update URLs for bitbucket as well
9 years ago
Jordi Boggiano
d426246b80
Update only github dist URLs, refs #3985
9 years ago
Cees-Jan Kiewiet
c9d9b5085a
Replaced <error> with <warning> for abandoned package as it reflects the intention of this feature better
9 years ago
Nils Adermann
258fdcb44d
Merge pull request #3986 from Seldaek/partial-update-keep-lock
...
Partial updates should not corrupt the lock if the installed repo is not up to date with it
9 years ago
Nils Adermann
cb44f209f8
Merge pull request #3985 from Seldaek/update-urls
...
Check if package URLs are up to date after composer update is done
9 years ago
Jordi Boggiano
137c551247
Check if package URLs are up to date after an update op is done, fixes #3214
9 years ago
Jordi Boggiano
4507805508
Partial updates should not corrupt the lock if the installed repo is not up to date with it, fixes #3439 , closes #3553
9 years ago
Nils Adermann
b4ed331168
The Solver Request no longer depends on the Pool
9 years ago
Jordi Boggiano
a57c51e8d7
Finalize platform override feature
...
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
Jordi Boggiano
80b0a35a68
Merge remote-tracking branch 'HuffAndPuff/ignore-platform'
...
Conflicts:
src/Composer/Config.php
src/Composer/Repository/PlatformRepository.php
9 years ago
isoroku
e0657b60a2
Fix misspellings
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
10 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 years ago
Jordi Boggiano
b4698568d2
Adjust tests and fix installer code to create the pool using locked requirements and not the composer.json reqs
10 years ago
Matthias Derer
c9cff6387a
removed requirements from the root package should we install from the lock file
10 years ago
Jordi Boggiano
095dc61295
Rename runAutoloader to dumpAutoloader, refs #3453
10 years ago
Jordi Boggiano
b8f4960f0d
Merge remote-tracking branch 'mattsah/master'
10 years ago
Nicolas Grekas
e821ac2772
Persist prefer-lowest in composer.lock
10 years ago
Nicolas Grekas
98b254a3ec
split update --prefer-lowest and --prefer-stable
10 years ago
Nicolas Grekas
4a0feb0189
add --prefer-lowest-stable to update command
10 years ago
Yagiz Nizipli
bf210a340b
Free up memory before disabling gc.
10 years ago