1
0
Fork 0
Commit Graph

10176 Commits (e6c7ab693ef73913515d7f4badeb20c7cb09b364)

Author SHA1 Message Date
Robert Rhoades e6c7ab693e Fix running tests with non standard default branch
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.

This fixes the tests by ensuring that when running git init
we ensure the default branch is called master regardless of
how git is configured.
2020-10-29 21:16:11 +00:00
Jordi Boggiano 51685580c7
Merge pull request #9374 from johnstevenson/diagnose1
Remove fulluri checks and tidy diagnose output
2020-10-29 17:16:33 +01:00
johnstevenson 095d133d6b Remove fulluri checks and tidy diagnose output 2020-10-29 10:28:51 +00:00
Jordi Boggiano ec5f020186
Update changelog 2020-10-28 15:50:42 +01:00
Jordi Boggiano 90a6aa7ec0
Make sure we compare packages to their latest without aliases, fixes #9357 2020-10-27 21:04:00 +01:00
Jordi Boggiano 86072a705b
Merge branch '1.10' 2020-10-27 20:55:27 +01:00
Jordi Boggiano 04e5d725f4
Add docs 2020-10-27 20:53:54 +01:00
Jordi Boggiano ff74d0e686
Fix lock file generation with dev-master aliases to be compatible with Composer 1, fixes #9337 2020-10-27 20:50:26 +01:00
Jordi Boggiano 44dc3c27aa
Try and sign phars on releases, refs #5155 2020-10-27 16:18:55 +01:00
Jordi Boggiano 568d9206cc
Fix tests 2020-10-27 14:04:36 +01:00
Jordi Boggiano 881ec8c751
Use httpdownloader/curl to process install notifications 2020-10-27 13:50:03 +01:00
Jordi Boggiano d699e6b36c
Make sure global plugins are described as such in loading output, fixes composer/package-versions-deprecated#15 2020-10-27 09:36:59 +01:00
Jordi Boggiano 5d4bcde454
Allow using --locked with the outdated command directly, fixes #8025 2020-10-26 14:47:52 +01:00
Jordi Boggiano 191e8fab9e
Merge pull request #9351 from lucaswerkmeister/patch-1
Document availability of self-update command
2020-10-26 13:32:49 +01:00
Nils Adermann 289972a177 Remove useless null check, follow up to #9345 2020-10-26 13:29:23 +01:00
Lucas Werkmeister adf27d61e9
Document availability of self-update command
The self-update command is only available when running as a PHAR (see
commit 761ad6d171); notably, it is not defined in the Ubuntu package.
2020-10-26 13:03:24 +01:00
Jordi Boggiano 3772696ad6
Use IO for output 2020-10-26 12:34:27 +01:00
Nils Adermann 01340ed765
Merge pull request #9349 from stof/patch-1
Fix the current plugin api version in the doc
2020-10-26 12:25:25 +01:00
Christophe Coevoet 8ee3e106d8
Fix the current plugin api version in the doc 2020-10-26 12:16:11 +01:00
Guilliam Xavier 54a537e9b3 Docs: Fix sentence after reformulation 2020-10-26 11:56:40 +01:00
Nils Adermann 05ddae59e2
Merge pull request #9345 from fabpot/error-message-fix
Fix error message
2020-10-26 11:51:58 +01:00
Nils Adermann cbcc3a3080
Remove trailing commas for function calls 2020-10-26 11:42:41 +01:00
Nils Adermann cf80adf607
Merge pull request #9348 from krzysztof-sikorski/patch-1
Fix link in documentation
2020-10-26 11:40:45 +01:00
Krzysztof Andrzej Sikorski 938d0470f4
Fix link in documentation 2020-10-26 11:35:40 +01:00
Fabien Potencier d5245387f3 Fix error message 2020-10-26 10:04:10 +01:00
Jordi Boggiano 7fcf559f62
Update changelog 2020-10-25 23:03:36 +01:00
Nils Adermann b72dc7bb78
Clarify --lock option on update further
Specifically state packages do not get updated to new versions, only metadata is updated.
2020-10-25 22:42:50 +01:00
Nils Adermann 8627f1cce6
Clear up plugin doc for modifying downloads 2020-10-25 22:32:44 +01:00
Jordi Boggiano 860a67b776
Update --lock docs, fixes #9315 2020-10-25 22:25:59 +01:00
Jordi Boggiano 4b8c2aa121
Fix default version to be semver parseable, fixes #9342 2020-10-25 22:22:19 +01:00
Jordi Boggiano 3dfbd9e9e9
Add plugin-modifies-downloads to docs, refs #9339 2020-10-25 22:07:05 +01:00
Jordi Boggiano 0cca80f8af
Merge pull request #9341 from schramm-michael/schramm-michael-typo-consumer-key
Update authentication-for-private-packages.md
2020-10-25 21:42:43 +01:00
Jordi Boggiano 5bdb0cfff5
Merge pull request #9339 from Seldaek/fix-plugin-order
Fix plugin install order for plugins modifying downloads
2020-10-25 21:28:38 +01:00
Jordi Boggiano 769ce48289
Fix typo 2020-10-25 21:25:56 +01:00
schramm-michael 996eb563c0
Update authentication-for-private-packages.md
Typo on line 278
changed cosumer... to consumer-key
2020-10-25 19:05:51 +01:00
Jordi Boggiano 0543b59e06
Merge pull request #9334 from johnstevenson/proxy-streams
Improve proxy error messages for streams
2020-10-25 14:13:40 +01:00
Jordi Boggiano e770cb4dcf
Fix var name 2020-10-25 14:11:02 +01:00
Jordi Boggiano 2d4e1e0dce
Make sure Transaction sorts operations correctly to begin with 2020-10-25 14:06:45 +01:00
johnstevenson c99e19db64 Fix logic (again) 2020-10-25 12:59:01 +00:00
Jordi Boggiano dc88236c07
Make sure operations are executed in batches, including downloads, when a plugin is present which modifies downloads, fixes #9333 2020-10-25 13:49:31 +01:00
Jordi Boggiano 6f3f5f090c
Merge pull request #9335 from PrinsFrank/clarify-plugin-development-article
Add info about dev-dependency of composer/composer to plugin article
2020-10-25 12:50:25 +01:00
Jordi Boggiano 3d1e8b6e75
Apply suggestions from code review
Co-authored-by: Nils Adermann <naderman@naderman.de>
2020-10-25 12:50:13 +01:00
Jordi Boggiano 8925b4f596
Attempt fixing handling of root aliases when composer 1 reads composer 2 lock files, fixes #9337 2020-10-25 12:45:33 +01:00
Nils Adermann e090274db0
Merge pull request #9336 from helhum/fix-require-with-no-lock
Correctly avoid partial updates in require commands
2020-10-25 10:31:41 +01:00
Helmut Hummel d1dfd394c1 Correctly avoid partial updates in require commands
The installer does not support partial updates, when
no lock file is present. The check in require command
to prevent a partial update however does not check whether
a lock file is present, but whether a lock file should be written,
which most likely always is true.

This check is now changed to check if a lock file is actually present.
2020-10-24 21:34:34 +02:00
Frank Prins c2a2e48ce9 Add information about dev-dependency of composer/composer to plugin article 2020-10-24 21:20:11 +02:00
Jordi Boggiano 37cb6eb40d
Update changelog 2020-10-24 20:54:37 +02:00
Jordi Boggiano 9bfddadf3d
Make sure no unknown files get excluded from the phar, fixes #9331 2020-10-24 20:49:07 +02:00
johnstevenson 2a913c7a68 Improve proxy error messages for streams 2020-10-24 18:20:31 +01:00
Jordi Boggiano b1d2842fa7
Add more backticks for consistency 2020-10-24 18:10:57 +02:00