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

271 commits

Author SHA1 Message Date
Jordi Boggiano
2901995fc8
Fix issue excluding unstable packages when stabilityFlags are empty 2020-01-30 10:17:42 +01:00
Jordi Boggiano
8f09f3764b
Avoid fetching non-existing files multiple times 2020-01-30 08:40:35 +01:00
Jordi Boggiano
304753ff69
Remove callback and pass stabilities all the way instead
This allows optimizing the loading of ~dev files, and cleans up a few things
2020-01-17 14:57:32 +01:00
Jordi Boggiano
6c24e85e54
Merge pull request #8528 from Seldaek/repo-prio-fix
Avoid loading packages found in a higher prio repo entirely from lower prio repos
2020-01-15 14:55:25 +01:00
Jordi Boggiano
30b6a41035
Extract MetadataMinifier util 2020-01-15 12:58:30 +01:00
Jordi Boggiano
47a94b3a88
Ensure packages that exist in a higher prio repo never get loaded in lower prio repos, fixes #5076 2020-01-15 12:02:12 +01:00
Jordi Boggiano
40f5806a7c
Fix ComposerRepo issue 2020-01-14 16:20:31 +01:00
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0 2020-01-14 15:39:35 +01:00
Jordi Boggiano
0b767e0b83
Allow calling getProviderNames multiple times, refs #8516 2020-01-14 09:31:57 +01:00
Maximilian Bösing
3791a574a2
Provide partial packages names if available, closes #8516, fixes #8526 2020-01-14 09:31:57 +01:00
Adam Žurek
406a28708f updated phpstan to 0.12 2019-12-16 21:58:05 +01:00
Jordi Boggiano
3b6d517ce0
Return 404s in ComposerRepository when network is disabled instead of failing hard 2019-11-14 09:57:59 +01:00
Jordi Boggiano
0261ce8092
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173 2019-07-31 17:41:18 +02:00
Nils Adermann
d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
2019-06-27 14:08:00 +02:00
pfofi
82825ccc74 Use possessive quantifiers 2019-06-07 09:13:11 +02:00
pfofi
e7f02be9ff Anchor pattern 2019-05-11 16:27:39 +02:00
pfofi
c751914410 Fix URL resolution for Composer repositories
Composer was unable canonicalize URLs in non-HTTP(S) Composer
repositories. For example it was not possible to use a `providers-url`
in a repository loaded via the `file://` scheme.

See also: #8115
2019-05-10 13:55:31 +02:00
Jordi Boggiano
625bcee63a
Fix handling of warnings to incl all 4xx responses 2019-04-01 18:01:09 +02:00
Jordi Boggiano
3f5a986170
Show warning in all 400/500 responses if available, fixes #7814 2019-02-21 14:49:06 +01:00
Jordi Boggiano
5f988a34a6
Merge branch 'master' into 2.0 2019-02-21 14:08:56 +01:00
Jordi Boggiano
0f36a42d61
Allow filtering of warning/info msgs by composer version 2019-02-21 14:05:56 +01:00
Jordi Boggiano
bdf1f7f82b
Fix loading of aliased packages in ComposerRepository when filtering by callback 2019-02-20 13:24:44 +01:00
Jordi Boggiano
2e204b0161
Remove support for the first version of the compression algo (#7906) 2019-02-20 11:10:44 +01:00
Jordi Boggiano
177f21ec5c
Fix loading of dev providers, refs #6415 2019-02-20 10:51:07 +01:00
Jordi Boggiano
ff82334124
Load ~dev files as well as main provider files for new v2 protocol, fixes #6415 2019-02-20 09:24:13 +01:00
Jordi Boggiano
d381b3a781
Fix variable name 2019-02-18 16:59:09 +01:00
Jordi Boggiano
37550ce44b Add support for new minified format 2019-01-18 18:49:45 +01:00
Jordi Boggiano
bb2f64c7bc Remove ability to override the entire HttpDownloader instance in PRE_FILE_DOWNLOAD events 2019-01-18 12:14:37 +01:00
Jordi Boggiano
3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
Jordi Boggiano
0f2f950cb6 Add available-packages key for new repo format, and many consistency tweaks/fixes across various repo formats 2019-01-15 11:40:49 +01:00
Jordi Boggiano
c97b7a9be5 Fix implementation of filterPackages 2019-01-14 17:29:24 +01:00
Jordi Boggiano
fd5c5ff6bc Fix implementation of whatProvides for older provider-only repos 2019-01-14 17:29:24 +01:00
Jordi Boggiano
4b7658a2a8 Small tweaks and make sure composer fails properly in a plane 2019-01-14 17:29:24 +01:00
Jordi Boggiano
a5d5270a7e Make sure other providers of a name are never loaded 2019-01-14 17:29:24 +01:00
Jordi Boggiano
b47330adf1 Refactor ComposerRepository to work with combined repos having lazy providers and partial packages 2019-01-14 17:29:24 +01:00
Jordi Boggiano
00de0f5854 Fix 5.3 support 2019-01-14 17:29:24 +01:00
Jordi Boggiano
fc03ab9bba Add COMPOSER_DISABLE_NETWORK env var for debugging 2019-01-14 17:29:24 +01:00
Jordi Boggiano
e8c6948770 Deduplicate link instances between versions of a given package 2019-01-14 17:29:24 +01:00
Jordi Boggiano
e753bf08b1 Minor tweaks 2019-01-14 17:29:24 +01:00
Jordi Boggiano
0961e16795 Add support for new metadata-url repo attribute 2019-01-14 17:29:24 +01:00
Jordi Boggiano
ed65625126 Handle custom http options cleaner in ComposerRepo 2019-01-14 17:29:24 +01:00
Jordi Boggiano
4a8a1cb0c9 Fix PHP 5.3 support 2019-01-14 17:29:23 +01:00
Jordi Boggiano
655a784fac Fix findPackage(s) implementation 2019-01-14 17:29:23 +01:00
Jordi Boggiano
346de47af2 Small fixes 2019-01-14 17:29:23 +01:00
Jordi Boggiano
f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 2019-01-14 17:29:23 +01:00
Jordi Boggiano
713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 2019-01-14 17:29:23 +01:00
Jordi Boggiano
56805ecafe Add HttpDownloader to wrap/replace RemoteFilesystem with a new curl multi implementation 2019-01-14 17:29:23 +01:00
Nils Adermann
902cb290e7 Only load package versions which fit the root composer.json constraints 2018-09-12 16:48:17 +02:00
Nils Adermann
81bb8f81ad Set all package ids only once the pool is created
They all get set in one place only and at a specific time when nothing
else will possibly change them anymore
2018-09-12 14:31:40 +02:00
Nils Adermann
261efe1e8e Implement loadPackages on Composer repositories with providers 2018-09-12 14:14:04 +02:00