Nils Adermann
5c491ecc9b
Merge pull request #7625 from naderman/repository-set
...
Separate RepositorySet from Package Pool, load only metadata of packages directly required
6 years ago
Nils Adermann
261efe1e8e
Implement loadPackages on Composer repositories with providers
6 years ago
Nils Adermann
019ebee185
Add missing use statement to package event to fix install --no-dev
6 years ago
Nils Adermann
c0f19f6c57
Move construction of pool from repo set into a pool builder
...
Pool construction depends on the install request now, so only required
packages get loaded, add some structure for future asynchronously
loading composer repositories
6 years ago
Nils Adermann
4c7d271a36
Remove deprecated function
6 years ago
Nils Adermann
1747df97e7
Create pool in show command to use policy, remove todos
6 years ago
Nils Adermann
b6e2d60c9e
Create the pool in the installer before giving it to the solver
6 years ago
Nils Adermann
7036f99999
RepositorySet::findPackages now has an exactMatch option
...
Allows search for providers/replacers, or exact name search
6 years ago
Nils Adermann
190d263c74
Fix logic for composer repository's optional acceptable callable filter
6 years ago
Nils Adermann
1228bcdffc
Internalize pool creation in repository set, store root aliases in set
...
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann
6ef65e5319
Add a new RepositorySet class and restrict pool usage to the solver
...
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0
First step for a refactoring of the package metadata loading mechanism
6 years ago
Gabriel Caruso
71c8735e11
Use combined assignment operators
6 years ago
Jordi Boggiano
490f3ccd95
Merge remote-tracking branch 'origin/1.7'
6 years ago
Jordi Boggiano
a25d6f6c35
Use local repo for platform checks when possible to avoid surprises, refs #7605
6 years ago
Jordi Boggiano
b99ac8505b
Merge pull request #7605 from lamp-of-god/check-requirements-no-dev
...
Add --no-dev option to check-platform-reqs command (#7314 )
6 years ago
Jordi Boggiano
a1ead0e868
Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
...
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano
92dc2cd9ad
Merge branch '1.7'
6 years ago
Jordi Boggiano
29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
...
Unify Composer concept
6 years ago
Jordi Boggiano
987bd5dd7c
Merge pull request #7590 from staabm/dump-nbclasses
...
Print number of classes contained within the generated classmap
6 years ago
Jordi Boggiano
95840a0ab9
Remove useless curly braces around svn args
6 years ago
Nguyen Xuan Quynh
1191bbc5f4
Unify Composer concept
6 years ago
SeRRg
c279c7ca96
Add --no-dev option to check-platform-reqs command
6 years ago
Markus Staab
4d49fabbc4
Generating -> Generated
6 years ago
Markus Staab
766ceccd00
Print number of classes contained within the generated classmap
...
to give the developer a better feeling about number of dependent classes
6 years ago
Jordi Boggiano
df2f2dc113
Merge branch '1.7'
6 years ago
Christophe Coevoet
e5b948c683
Refactor the handling of conflict rules in the solver
...
Conflict rules are not added in the solver based on the packages loaded in the
solver by require rules, instead of loading remote metadata for them. This has
2 benefits:
- it reduces the number of conflict rules in the solver in case of conflict
rules targetting packages which are not required
- it fixes the behavior of replaces, which is meant to conflict with all
versions of the replaced package, without introducing a performance
regression (this behavior was changed when optimizing composer in the past).
6 years ago
Jordi Boggiano
734735c691
Merge pull request #7574 from seferov/patch-1
...
Remove github API request retries as it is not needed anymore
6 years ago
Pierre du Plessis
33341130a9
Fix typo in variable name in GitHubDriver
6 years ago
Jordi Boggiano
d100620987
Merge branch '1.7'
6 years ago
Jordi Boggiano
bf125295df
Fix escaping of URLs in Perforce and Subversion drivers
6 years ago
Farhad Safarov
4014c914ab
remove Github 404 retries
6 years ago
Jordi Boggiano
0f6b305bd9
Merge branch '1.7'
6 years ago
Jordi Boggiano
3d01ef28fa
Revert "Do not dump source and dist for metapackages"
...
The source/dist reference is needed to operate composer outdated and other functionality
Fixes #7546
This reverts commit 42739e7959
.
6 years ago
Rob Bast
cfb0d33c45
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano
15313209d6
Merge branch '1.7'
6 years ago
Jordi Boggiano
0181f07491
Fix create-project not updating to latest commit when cache is present, fixes #7550
6 years ago
Jordi Boggiano
020d1f88c7
Improve error reporting on global command, fixes #7556
6 years ago
Pierre du Plessis
d65e1c0112
Revert composer.json changes when require process stops
6 years ago
Daniel Karl
849f4eda56
Using cwd for 2nd process-execution (auth) in HgUtils
6 years ago
Alexander Kurilo
5a22a4f1f3
Make surrogate sequences in JSON work on PHP 5.3
...
Fixes #7510
6 years ago
Jordi Boggiano
e718f34ba4
Properly detect rate limit errors on github before outputting messages, fixes #6621
6 years ago
Jordi Boggiano
e7a9bd3362
Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530
6 years ago
Jordi Boggiano
a74b63985e
Avoid filtering dev-require packages when loading plugins/scripts, fixes #7516
6 years ago
Jordi Boggiano
0fdf746ebe
Fix --no-plugins not working in certain edge cases
6 years ago
Jordi Boggiano
73f14c0c7c
Fix output when loading zips from cache, fixes #7498
6 years ago
Rafael Kassner
42739e7959
Do not dump source and dist for metapackages
6 years ago
Jordi Boggiano
de6432f5f0
Show overridden php version in diagnose command, fixes #7497
6 years ago
Nicolas Grekas
a3bbcf9c77
Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions
6 years ago
Jordi Boggiano
9bc578e24a
Fix warning tag name, fixes #7494
6 years ago
Jordi Boggiano
d73aef5c8a
Respect --no-plugins flag when firing pre-command-run event
6 years ago
Jordi Boggiano
8eae15182c
Merge pull request #7487 from staabm/patch-1
...
Fixed typo
6 years ago
Markus Staab
eb94f8346a
Fixed typo
6 years ago
Markus Staab
76bf6bdf97
Fixed typo
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
3f9e85a4c3
Merge remote-tracking branch 'unglud/feature/show-tree-json'
6 years ago
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Jordi Boggiano
2f69739c1a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Rob Bast
0db48b4f2e
addendum to #7428
6 years ago
Jordi Boggiano
d5a9d86ee4
Undo reformatting from #7441
6 years ago
Jordi Boggiano
1983a450b4
Use rawurldecode instead of urldecode, fixes #7407
6 years ago
Jordi Boggiano
145db9ff52
Merge pull request #7478 from staabm/patch-1
...
prevent preg_replace() calls when cache is not enabled
6 years ago
Jordi Boggiano
16af52be8a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Jordi Boggiano
0d92c8df63
Merge pull request #7480 from staabm/patch-3
...
Simplify Rule->getJob()
6 years ago
Jordi Boggiano
71d25851df
Merge pull request #7479 from staabm/patch-2
...
Removed unused variables
6 years ago
Jordi Boggiano
6f56ce062c
Merge pull request #7464 from rellect/composer_i
...
Add `composer i` shorthand for `composer install`
6 years ago
refael iliaguyev
2f347e1347
add alias `u` to the update command
6 years ago
Jordi Boggiano
d64f95b70c
Merge pull request #7475 from Elendev/mercurial-auth-json
...
Add support for authentication with mercurial repositories.
6 years ago
Markus Staab
05499099a0
Simplify Rule->getJob()
6 years ago
Markus Staab
f7a1c34c92
Removed unused variables
6 years ago
Markus Staab
3b647f8686
prevent preg_replace() calls when cache is not enabled
6 years ago
Markus Staab
70a1a6e510
Throw a RuntimeException when glob braces are used but not supported by the OS
6 years ago
Markus Staab
e89d16c47d
GLOB_BRACE is not defined on all platforms
6 years ago
Elendev
ea5644281a
Display the error output in the thrown exception
6 years ago
Elendev
5c2b34a1af
Encode the username correctly (fix typo)
6 years ago
Jordi Boggiano
b3d6a17518
Merge pull request #7444 from inaling/add_repositories_path_glob
...
Add repositories path glob
6 years ago
Jordi Boggiano
3d2b0deb6a
Merge pull request #7402 from m-jch/master
...
composer show options -t and -l do not work together, fixes #7210
6 years ago
Jonas Renaudot
1a725d5e1f
Add support for authentication with mercurial repositories.
6 years ago
Vladimir Reznichenko
6f6d59426d
New finding by Static Code Analysis: revert uniqid() to comply long path requirements
6 years ago
Vladimir Reznichenko
cd39efc72c
New finding by Static Code Analysis
6 years ago
Markus Staab
50565cb0c8
Use variable to call count() less often
6 years ago
Rob
68d468d683
Merge pull request #7450 from staabm/simpler-hash
...
Use a simpler hashing for the Rule2Literal case
6 years ago
Rob
1e9136f086
Merge pull request #7456 from staabm/simpler-equals
...
Specialize Rule2Literal->equals(Rule2Literal) for speedup
6 years ago
Rob
7079cdb70d
Merge pull request #7458 from staabm/patch-3
...
Define variable only when actually used
6 years ago
Rob
b350c09c7e
Merge pull request #7457 from staabm/patch-2
...
Remove unnecessary abs() calls
6 years ago
refael iliaguyev
b63e2de819
add alias `i` to the install command
6 years ago
Markus Staab
86d5de2965
Define variable only when actually used
6 years ago
Markus Staab
42516901f1
Removed another unnecessary abs() call
6 years ago
Markus Staab
0e16dbabde
Removed another unnecessary abs() call
6 years ago
Markus Staab
e3a23f4ae6
Remove unnecessary abs() calls
...
Literal cannot be negative at this point
6 years ago
Markus Staab
7a4937bbcc
Specialize Rule2Literal->equals(Rule2Literal) for speedup
6 years ago
Markus Staab
07383552b3
Temporary save the package-name into a variable
...
this reduces number of unnecessary function calls in the hot path of "composer update"
6 years ago
Markus Staab
0aa7ec2d2c
Use a simpler hashing for the Rule2Literal case
...
this speeds up "composer update" by ~18%
6 years ago
Kazuhiro Inari
354eec76ae
Add repositories path glob
6 years ago
Gabriel Caruso
7d9f8e2247
Improvements
...
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
efajnzilberg
9355ebd3f6
Closing the ZipArchive in ArtifactRepository::getComposerInformation()
6 years ago
Matrosov
7221e4ea4e
Generate tree view before displaying it
...
Add support json tree view
6 years ago
mohsen shafiei
20e89a7621
composer show options -t and -l do not work together, fixes #7210
6 years ago
Théo FIDRY
87646ae689
Hide suggest reason when there is not one
6 years ago
Jordi Boggiano
837ad7c14e
Merge branch '1.6'
6 years ago
Rasmus Schultz
5bae1913ab
swap tests to prevent conflicting error-messages
6 years ago
Rasmus Schultz
07867724d0
add back the warning about missing unzip
...
display an error-message on non-Windows OS if unzip is unavailable, per #7383
6 years ago
Jordi Boggiano
0a27ca7b65
Make sure circular dependencies do not break the autoload dumper, refs #7316 , refs #7348
6 years ago
Jordi Boggiano
3fb2a054a7
Merge pull request #7357 from Toflar/better-solver-debug-output
...
Improve SAT resolving developer debug information
6 years ago
Jeroen Ketelaar
6ff74d3ed1
[BUGFIX] Fixed typo in comment
6 years ago
Jordi Boggiano
b8989796bf
Merge branch '1.6'
6 years ago
Jordi Boggiano
eedbd218f5
Make sure circular dependencies do not break the autoload dumper, refs #7316 , refs #7348
6 years ago
Yanick Witschi
d82bdc04ac
Improved debugging output
6 years ago
Rob
1016cf19b2
Merge pull request #7351 from zefrog/fix-git-auth-failure-no-tty
...
Fix Git detection of authentication failure when no tty is attached to the process
6 years ago
Robbie Averill
ee97f26931
FIX Update PHPDocs to indicate more specific return types
6 years ago
Yanick Witschi
5435877bd9
Improve SAT resolving developer debug information
6 years ago
Jordi Boggiano
089f3803de
Merge remote-tracking branch 'helhum/sf-hidden-input'
6 years ago
Jordi Boggiano
46f973e213
Merge branch '1.6'
6 years ago
Jordi Boggiano
c6d53abf89
Fix tests
6 years ago
Jordi Boggiano
70e431368f
Merge remote-tracking branch 'ph-fritsche/1.6' into 1.6
6 years ago
zefrog
fd00ea7ce8
Fix Git detection of authentication failure when no tty is attached to the process
6 years ago
Jordi Boggiano
af1dccb1fb
Avoid showing virtual packages in search results, fixes #7310
6 years ago
Helmut Hummel
b99798068d
Use symfony/console for hidden questions
...
Fixes : #7337
6 years ago
Philipp Fritsche
b0be87177d
Filter dev-dependencies from "dump-autoload --no-dev" , fixes #4343
6 years ago
Jordi Boggiano
4ebb747e12
Merge branch '1.6'
6 years ago
Jordi Boggiano
e697293cd9
Handle broken symlinks more cleanly, fixes #7255
6 years ago
Jordi Boggiano
3b9d6769bf
Fix class names in comments being parsed in short_open_tags files, fixes #7289
6 years ago
Jordi Boggiano
464daeebe2
Merge branch '1.6'
6 years ago
Jordi Boggiano
43e33be79f
Fix regression in 036fc44c25
, fixes #7268
6 years ago
Jordi Boggiano
0f373e3249
Fix issues introduced by #7191 , fixes #7263
6 years ago
Jordi Boggiano
38866ba310
Merge remote-tracking branch 'johnstevenson/external-xdebug'
6 years ago
Jordi Boggiano
f42e6a5772
Compute keep-vcs/remove-vcs last minute to allow plugins to change the value, refs #7002
6 years ago
Jordi Boggiano
ef7252b358
Avoid relying on internal usort behavior
6 years ago
Jordi Boggiano
c917865fe9
Fix handling of dev versions and consolidate logic, refs #7119
6 years ago
Jordi Boggiano
24ad6307a7
Merge remote-tracking branch 'austris-argalis/issue-7085'
6 years ago
Jordi Boggiano
0ab843a058
Fix setting of scripts from config command, refs #7225
6 years ago
Jordi Boggiano
5aff7dff70
Merge remote-tracking branch 'swumao/feature-7208'
6 years ago
Jordi Boggiano
ea78712822
Merge branch '1.6'
6 years ago
Jordi Boggiano
e37e7f1329
Fix handling of non-callable event listeners, fixes #7229
6 years ago
Jordi Boggiano
785aba9d82
Merge remote-tracking branch 'stof/fix_show_columns' into 1.6
6 years ago
Edwin Rodríguez
9dc6222288
Allow using fossil dependency in a fossil repository, fixes #7125 , closes #7126
6 years ago
Jordi Boggiano
a8cf4a07fc
Merge branch '1.6'
6 years ago
Jordi Boggiano
fa539766b8
Output outdated warning on stderr, fixes #7218
6 years ago
Jordi Boggiano
288631a37e
Log the source of the failure when an aliased script fails, fixes #7201
6 years ago
Jordi Boggiano
35ebb8b93f
Merge branch '1.6'
6 years ago
Markus Staab
af3783b5f4
properly cache when a branch in a certain revision does not contain a composer.json
...
this prevents requesting/trying to get the composer.json over and over again even if no commits happend
Closes #7156
6 years ago
Jordi Boggiano
a51911f295
Merge commit 'b1a78b60fe552bc6e7df09cb1c0154797fea6f64'
6 years ago
Jordi Boggiano
b1a78b60fe
Remove output while the changes are being collected
6 years ago
Filippo Tessarotto
277f32d388
Lock _readme: remove outdated hashtag link part, closes #7096
6 years ago
Markus Staab
9bee2ca28e
make sure we only cache resources which contain a svn revision
...
like we do in the VCS driver.
Closes #7158
6 years ago
Jordi Boggiano
1336029b72
Fix type hints to match latest symfony, fixes #7199
6 years ago
Jordi Boggiano
2bd34c0534
Merge branch '1.6'
6 years ago
Fabio Bas
c9aa9c0d2f
Fix usage of svn user-provided credentials, fixes #7114 , closes #7228
6 years ago
Jordi Boggiano
5460e5d86f
Respect current PHP version when figuring out requirements for init command, fixes #7257
6 years ago
Jordi Boggiano
174c71de04
Handle http 401/403 differently to allow reading warning message
6 years ago
Jordi Boggiano
9041622b86
Fix version guessing regression and a few other issues, fixes #7127
6 years ago