Jordi Boggiano
b268e20d9f
Fix invalid interface usage
2021-05-04 16:43:24 +02:00
Jordi Boggiano
7b77161b7e
Merge branch '2.0'
2021-05-04 16:29:32 +02:00
Jordi Boggiano
37f4f531d0
Avoid leaving the event stack in a dirty state if an event listener throws, fixes #9846
2021-05-04 16:18:38 +02:00
timrizzi
6b7f795956
Link to GitLab documentation for auth ( #9833 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-05-04 16:05:05 +02:00
Jordi Boggiano
a844fce23e
Fix handling of inline-update-constraints with refs or stability flags, fixes #9847
2021-05-04 14:14:57 +02:00
Jordi Boggiano
a04202aa7d
Merge pull request #9864 from Seldaek/dev-versions-dx
...
Hint at a branch rename if we detect dev-master can not be found and condense dev-* versions in problem output
2021-05-04 13:38:33 +02:00
Jordi Boggiano
3380178798
Introduce a cross-platform safe version of is_readable to support UNC / wsl$ paths on Windows ( #9861 )
2021-05-04 13:25:52 +02:00
Jordi Boggiano
298246dccb
Also condense dev-* versions if there are many, refs #9850
2021-05-03 14:42:59 +02:00
Jordi Boggiano
9b7a8d4543
Hint at a branch rename if we detect dev-master can not be found but dev-main or dev-default exists, fixes #9850
2021-05-03 14:42:58 +02:00
Markus Staab
bfea0f7d1e
BinaryInstaller: install full binaries on WSL when bin-compat=auto ( #9855 )
2021-05-02 16:50:42 +02:00
Jordi Boggiano
4842f213a1
Also make sure type is correct for preg_match
2021-04-30 10:07:28 +02:00
Jordi Boggiano
832f4007d6
Allow ints in source/dist reference
2021-04-30 09:40:58 +02:00
Jordi Boggiano
832af78e28
Add basic source/dist validation
2021-04-28 21:53:09 +02:00
Jordi Boggiano
cd682f90a6
Update xdebug-handler to latest
2021-04-27 13:10:36 +02:00
Jordi Boggiano
40c7a725e1
Merge branch '2.0'
2021-04-27 13:06:49 +02:00
Jordi Boggiano
a677d3e9a4
Merge branch '1.10' into 2.0
2021-04-27 13:06:26 +02:00
Jordi Boggiano
5b1e9fbf4f
Update changelog
2021-04-27 13:03:43 +02:00
Jordi Boggiano
1cdbacbe07
Update changelog
2021-04-27 13:03:36 +02:00
Jordi Boggiano
332c46af8b
Merge pull request from GHSA-h5h8-pc6h-jvvx
...
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
2021-04-27 13:00:40 +02:00
Jordi Boggiano
083b73515d
Merge pull request from GHSA-h5h8-pc6h-jvvx
...
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
2021-04-27 13:00:40 +02:00
Jordi Boggiano
6587715d0f
Merge branch '2.0'
2021-04-20 22:05:32 +02:00
Jordi Boggiano
2a50a9400f
Fix install step at the end of init command
2021-04-20 22:04:28 +02:00
Jordi Boggiano
1fd70de32d
Merge branch '2.0'
2021-04-20 22:03:43 +02:00
Jordi Boggiano
99d8e0ad09
Fix install step at the end of init command
2021-04-20 22:00:01 +02:00
Andreas Scheibel
bb1bb022e4
"composer init --autoload" - Interactive generates PSR-4 autoloader in composer.json ( #9829 )
...
- Generates PSR-4 autoload entry in composer.json.
- Run dump-autoload, if no dependencies are set
2021-04-20 21:58:38 +02:00
Jordi Boggiano
9ed241c809
Use jsonc highlighting
2021-04-19 14:16:39 +02:00
Adam
e291aa1d12
Allow PreFileDownloadEvent to carry transport options for metadata ( #9831 )
2021-04-19 13:55:52 +02:00
Jordi Boggiano
53a4725dbe
Fix source links, fixes #9836
2021-04-18 23:10:17 +02:00
John Stevenson
c3b76a8532
Upgrade to xdebug-handler 2 ( #9832 )
...
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.
Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
2021-04-13 09:59:06 +02:00
Antoine Makdessi
e1b8722bfa
Update 00-intro.md
2021-04-11 14:04:18 +02:00
Adam
180ba49f33
ComposerRepository::asyncFetchFile() does not pass the downloaded URL to PostFileDownloadEvent ( #9827 )
2021-04-11 13:59:18 +02:00
Markus Staab
7c602d8807
Added link to composer.org docs on ProcessTimedOutException ( #9796 )
2021-04-11 13:30:35 +02:00
Jordi Boggiano
d75d79b452
Merge pull request #9822 from phenaproxima/post-file-download
...
Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository
2021-04-09 14:53:20 +02:00
Jordi Boggiano
9a9c738f23
Add repository instance to Pre/PostFileDownloadEvent metadata
2021-04-09 11:21:14 +02:00
Jordi Boggiano
7dd95a768b
Clean stuff up and deprecate old usages for PostFileDownloadEvent
2021-04-09 11:21:13 +02:00
Phéna Proxima
df0a2cdd0a
Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository.
2021-04-08 11:08:13 -04:00
Jordi Boggiano
549dabf878
Merge branch '2.0'
2021-04-08 12:06:38 +02:00
Jordi Boggiano
de112c519e
Merge pull request #9821 from Seldaek/output_on_upd_mirrors
...
Fix output listing some updates that do not really happen when updating mirrors/--lock
2021-04-08 12:06:14 +02:00
Jordi Boggiano
e6cede4a61
Make sure update mirrors/--lock keeps the release date of the original reference when dev versions have newer commits, refs #9812
2021-04-08 11:54:39 +02:00
Jordi Boggiano
0ab4013788
Fix output listing some updates that do not really happen when updating mirrors/--lock, fixes #9812
2021-04-08 10:55:48 +02:00
Jordi Boggiano
d519fb8a53
Add warning when loading plugins of type composer-installer as they are unlikely to function correctly and should be upgraded to the composer-plugin type
2021-04-08 10:40:55 +02:00
Jordi Boggiano
101a5e2a21
Merge branch '2.0'
2021-04-07 16:05:26 +02:00
Jordi Boggiano
f13282e555
Change default preferred-install to dist, add --prefer-install=auto|dist|source to allow specifying auto ( #9603 )
...
Fixes #9546
Fixes #9674
2021-04-07 16:04:42 +02:00
Jordi Boggiano
3e33cc1d93
Add new dep to the tests
2021-04-07 16:02:41 +02:00
Jordi Boggiano
a4eb2d4096
Merge branch '2.0'
2021-04-07 15:58:25 +02:00
Jordi Boggiano
ddc3693725
Switch to composer/metadata-minifier, fixes #9727
2021-04-07 15:56:34 +02:00
Jordi Boggiano
cf69f3194a
Fix doctype annotations
2021-04-07 15:56:34 +02:00
Adam
29befaa94b
Make ComposerRepository::configurePackageTransportOptions() protected. ( #9818 )
2021-04-07 15:56:15 +02:00
Jordi Boggiano
1ce41efa6a
Fix tests
2021-04-07 14:39:42 +02:00
Jordi Boggiano
1179e4b481
Change root.dev-requirement to root.dev in installed.php as the root is not required per se, and this simply tracks the dev mode at install time
2021-04-07 13:42:22 +02:00