xy2z
a8abdd9639
Hide installed packages from suggestions when package is not found
2019-10-12 22:22:27 +02:00
Mike van Rooyen
6b56ddae2a
Remove unused variable
2019-10-08 20:49:44 +01:00
Mike van Rooyen
daedb4a74f
Remove extra line in method following CS-Fixer
2019-10-08 16:08:11 +01:00
Mike van Rooyen
e910e06f63
Add details of the path to aid debugging
2019-10-08 16:02:03 +01:00
Mike van Rooyen
e62478ab89
Test to check there is a RuntimeException thrown when a path repository doesn't exist
2019-10-08 15:48:04 +01:00
Mike van Rooyen
18895064ad
Check that if the getUrlMatches method returns an empty value which means the path is incorrect
2019-10-08 15:46:35 +01:00
Jordi Boggiano
82d0b12b1c
Merge pull request #8360 from derrabus/bugfix/execute-returns-0
...
Command::execute() should always return an integer
2019-10-08 09:33:53 +02:00
Alexander M. Turek
146aa4938f
Command::execute() should always return an integer.
2019-10-07 18:50:18 +02:00
Stephan Vock
0d1d35c346
Debug: display used authentication for http calls
2019-10-07 08:51:53 +01:00
Jordi Boggiano
f753c15664
Update deps
2019-10-06 22:15:11 +02:00
Jordi Boggiano
1843312ddf
Merge pull request #8313 from unkind/feature-require-fixed
...
Provide `--fixed` option for the `require` command, fixes #8303
2019-10-06 21:39:45 +02:00
Jordi Boggiano
5b4fad9056
Update target version for master branch
2019-10-06 21:39:10 +02:00
Jordi Boggiano
9e2485aa4d
Make gitlab/bitbucket driver checks case insensitive
2019-10-06 21:37:16 +02:00
Jordi Boggiano
34a32c31b4
Merge pull request #8334 from zakonnic/fix_incorrect_strip_non_php_blocks
...
Fix incorrect strip of non-php blocks in the file
2019-09-28 11:26:11 +02:00
zakonnic
f159eb724a
Add test for double gap in php-file
2019-09-20 17:08:00 +03:00
zakonnic
9f6e45051a
Optimize template for striping non-php blocks
2019-09-20 16:59:53 +03:00
zakonnic
ec96e5de64
Fix incorrect strip of non-php blocks in the file
2019-09-20 12:58:09 +03:00
Nikita Konstantinov
e3b6c67a44
Provide `--fixed` option for the `require` command, fixes #8303
2019-09-18 16:05:25 +03:00
James Ho
91732eee55
8330 Correct issue where permission umask of files were not set when archiving in zip format with ZipArchiver
2019-09-17 15:10:32 +01:00
Nils Adermann
995b4f923e
Fix more tests which were lacking lock files for partial updates, display fix jobs in problems
2019-09-07 09:32:06 +02:00
Nils Adermann
3989a1b8ee
Restore dev package extraction
...
New approach is to use only the solved set of packages as input and then
to resolve with only the non-dev requirements and to mark everything as
dev that is not part of the result set, rather than transitioning a
temporary local repo state by uninstalling dev packages.
2019-09-07 08:52:10 +02:00
Nils Adermann
33ff67abf3
Update tests for new output and for required lock file on partial update
2019-09-07 07:53:31 +02:00
Nils Adermann
a114e26841
Correctly load aliases in lockedRepository to fix alias install output
2019-09-07 07:43:23 +02:00
Nils Adermann
3e0e5dc1fa
Fix test expectation: Install and update operations are now alphabetical
2019-09-07 07:17:41 +02:00
Nils Adermann
c16ab6174e
Fix tests: Alias install now always right after origin package, partial update requires lock file
2019-09-07 07:16:43 +02:00
Nils Adermann
4db325b7b4
Use the old root stack based approach to sorting operations in the transaction
2019-09-07 07:13:34 +02:00
Nils Adermann
b700aa3d62
Sort local repo transaction as topological as possible
2019-09-07 06:05:02 +02:00
Nils Adermann
f5e18250e6
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
...
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 02:55:21 +02:00
Nils Adermann
06d11f2f38
Fix calculation of lock transaction updates and start updating output in tests
2019-09-07 02:33:50 +02:00
Nils Adermann
f1e4ccbe1d
Fix handling of reference updates and root references
2019-09-07 01:58:12 +02:00
Jordi Boggiano
a066dd9e00
Merge pull request #8310 from greysteil/leading-slash-github-urls
...
Allow for leading slash in path part of GitHub URLs
2019-09-04 07:31:05 +02:00
Grey Baker
b09945c3ba
Allow for leading slash in path part of GitHub URLs
2019-09-02 22:26:35 +01:00
Jordi Boggiano
f0d565bb6d
Avoid transforming the origins when prompting for auth, fixes #8300
2019-08-30 17:52:08 +02:00
Jordi Boggiano
a403ee9b0e
Fix tests for reals
2019-08-29 15:23:58 +02:00
Jordi Boggiano
d3dc280322
Merge pull request #8296 from rbairwell/fix-php74-accessarray-offset-on-path
...
Fixes a problem with path based repositories on PHP7.4
2019-08-29 15:16:53 +02:00
Jordi Boggiano
7d99a56332
Combine conditionals in one
2019-08-29 15:16:34 +02:00
Jordi Boggiano
6fee17f16c
Fix tests, refs #8292
2019-08-29 15:09:26 +02:00
Jordi Boggiano
089fcde6cf
Merge remote-tracking branch 'davidszkiba/bugfix/issue-8289'
2019-08-29 15:09:14 +02:00
Jordi Boggiano
3e42ca61a5
Merge pull request #8279 from glaubinix/f/github-access-token-debug
...
GitHub: don't display access token in debug log on redirect
2019-08-29 12:23:11 +02:00
Jordi Boggiano
fd70d9cdc3
Stripe access tokens in a more generic way
2019-08-29 12:22:38 +02:00
Jordi Boggiano
607b487295
Fix missing use/undefined var
2019-08-29 11:45:19 +02:00
Jordi Boggiano
53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
2019-08-29 11:37:23 +02:00
rbairwell
550c01b471
Fixes a problem with path based repositories on PHP7.4 where an attempt is made to access null as an array
2019-08-27 20:53:57 +01:00
David Szkiba
0500e64f88
Respect COMPOSER_NO_INTERATION for search prompt.
...
As described in GH-8289, if no `composer.json` file is found in the current
directory, the user is prompted if she wants to use another `composer.json` file
from a parent directory even if the `COMPOSER_NO_INTERACTION` environment
variable is set. This is fixed here by just moving the check of the environment
variable up in the code so that it is evaluated before the user is prompted.
2019-08-25 17:25:44 +02:00
Stephan Vock
f9fccbab1e
GitHub: don't display access token in debug log
2019-08-21 10:07:36 +01:00
Jordi Boggiano
bfba228b5a
Add note about breaking change, fixes #8274
2019-08-13 17:28:15 +02:00
Jordi Boggiano
4dabc17ec1
Fix use statement
2019-08-02 22:21:52 +02:00
Jordi Boggiano
bfee701f9b
Deduplicate findHeaderValue code
2019-08-02 21:54:41 +02:00
Jordi Boggiano
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
2019-08-02 21:39:42 +02:00
Jordi Boggiano
dc964d6515
Update changelog
2019-08-02 20:55:15 +02:00