1
0
Fork 0
Commit Graph

4998 Commits (3c76e36e2c344718cae85466da4ae9fcc58c0298)

Author SHA1 Message Date
Jordi Boggiano 3c76e36e2c Fix regex, refs #6735 2017-11-28 18:00:05 +01:00
gregory 8a136d18e5 Correctly extract username/password from URL 2017-11-28 16:59:18 +01:00
Jordi Boggiano 065b662d5b Merge remote-tracking branch 'naderman/t/no-package-potential-issue' into 1.5 2017-11-28 16:39:31 +01:00
Jordi Boggiano b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
2017-11-28 16:38:29 +01:00
Jordi Boggiano 4c4f516ea2 Make sure binaries are recreated before POST-hooks fire 2017-11-28 16:07:28 +01:00
Jordi Boggiano 17ec4c17b0 Set COMPOSER_DEV_MODE for all events and not just POST hooks 2017-11-28 16:04:50 +01:00
Nils Adermann f40f95b269 Add a note that a user could have forgotten to add a custom repo if package not found 2017-11-16 10:15:37 +01:00
Jordi Boggiano fc9f8c2007 Fix tests 2017-11-03 23:23:22 +01:00
johnstevenson b1aed48e1a Fix bug setting COMPOSER_ORIGINAL_INIS
This variable stores the loaded ini file and any additional scanned ini
files, separated by a path-separator. The loaded ini file should always
be present, even if it is an empty value. Unfortunately I removed any
empty value to parse the ini files, then used the truncated list to set
the variable.

This bug surfaced on docker php images. These do not have a specific
php.ini but store all their settings in the location(s) configured at
build time using --with-config-file-scan-dir.
2017-11-03 19:52:44 +01:00
Mihai Plasoianu 02b57ff4a2 Return non-zero exit code with --strict and single package 2017-11-03 19:48:59 +01:00
Jérôme Vasseur 71c2ecbace Fix platform package detection in VersionParser 2017-11-03 19:48:52 +01:00
Jordi Boggiano 11f1e03739 CS tweaks 2017-11-03 19:44:44 +01:00
Minh-Quan TRAN 007ca5ff6a workaround for gitlab installation with relative url
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-11-03 19:42:54 +01:00
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 2017-09-11 16:13:33 +02:00
Jordi Boggiano 802849d52c Wording tweaks 2017-09-11 16:09:30 +02:00
Deamon 5b29b7c8e3 delete last coma if deleting last element before end of file 2017-09-11 16:07:07 +02:00
Jordi Boggiano 1682d7d454 Fix path repo version parsing to follow COMPOSER_ROOT_VERSION when the git repo is shared with the root package, fixes #6625 2017-09-11 16:02:48 +02:00
Jordi Boggiano f71baa5e0c Try fixing 404s gitlab handling when unauthenticated, refs #6669 2017-09-11 14:41:33 +02:00
Jordi Boggiano 56964a9377 Check for new work dir with both parameters, refs #6651 2017-09-11 13:01:28 +02:00
Ayesh Karunaratne eb078b432f Prevent automatic parent directory composer.json discovery if working-dir parameter is set 2017-09-11 12:55:56 +02:00
Jordi Boggiano 8b61315b14 Normalize URL as symfony Filesystem::mirror does a straight str_replace on realUrl vs actual iteratee path without normalization and our aRchivableFilesFinder does normalize the path, refs #6667 2017-09-11 11:26:33 +02:00
Gawain Lynch b859bbcdcf Pass a VCS filtered iterator to mirror 2017-09-11 11:02:58 +02:00
Mikk Tendermann 2a89d37651 fix gitlab not telling visibilty if user is not logged in 2017-09-11 10:37:32 +02:00
Abyr Valg 37addea447 Make composer see installed dev packages 2017-09-11 10:20:48 +02:00
Fedir Kryvytskyi dc509b236f Fixed error, when composer.phar was broken, if it compiled inside folder, that has /composer in path 2017-09-11 10:08:24 +02:00
Jordi Boggiano 9fd4f22ba2 Also ignore dir change prompt in list command 2017-08-21 09:16:54 +02:00
Jordi Boggiano d352cc97f7 Do not prompt for dir change on create-project, fixes #6617 2017-08-21 09:13:08 +02:00
Jordi Boggiano a144b5e7ed Fix GitLab endless loop thanks to API bug, fixes #6615 2017-08-18 14:04:53 +02:00
Jordi Boggiano a16867e2c2 CS 2017-08-09 16:02:45 +02:00
Helmut Januschka 320af80ad3 fix tag/branch collection 💣 2017-08-09 16:01:59 +02:00
Jordi Boggiano 0f94dcd848 Fix composer global config handling 2017-08-08 18:40:15 +02:00
David Zuelke a4d84f15ca use COMPOSER env var if present for ancestor path search 2017-08-08 18:40:12 +02:00
David Zuelke 4f7b6a3a54 use Factory::getComposerFile in ConfigCommand 2017-08-08 18:40:07 +02:00
Jordi Boggiano c89f6338c2 CS tweaks, refs #6592 2017-08-08 10:11:35 +02:00
Jordi Boggiano 6fd504ef41 Add per_page to do less pagination, refs #6592 2017-08-08 10:05:30 +02:00
Jordi Boggiano 086b750b76 Merge remote-tracking branch 'hjanuschka/gitlab_paging' 2017-08-08 10:03:28 +02:00
Jordi Boggiano c52e8e5656 Update comment 2017-08-08 09:39:31 +02:00
Helmut Januschka be1f675992 GitlabDriver V4 Paging
V4 of gitlab api requires paging in tags/branches
2017-08-07 21:18:46 +02:00
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 2017-08-07 18:14:04 +02:00
Jordi Boggiano acdb7638a8 Warn about require-dev not being ignored when an update --no-dev fails to resolve dependencies, fixes #6575 2017-08-07 16:32:13 +02:00
Jordi Boggiano a3c15d06e4 Merge pull request #6568 from ktomk/patch-windows-bin-proxy-stubs
mute first cd in win proxy stub for sh shell, fixes #6567
2017-08-07 15:17:39 +02:00
Jordi Boggiano 6832eacb01 Update GitLab API usage to v4, fixes #6453 2017-08-07 13:13:24 +02:00
Jordi Boggiano ec2722f879 Add ability to call composer from within subdirectories of a project, fixes #6426 2017-08-07 11:48:12 +02:00
Jordi Boggiano 8e20fffda5 Merge pull request #6548 from ivanpepelko/master
Added $_SERVER['USER'] as possible value for <vendor>
2017-08-07 10:58:26 +02:00
Jordi Boggiano 65d49bf811 Merge branch '1.4' 2017-08-07 10:04:46 +02:00
Jordi Boggiano d2b102ecb9 Merge remote-tracking branch 'svenmuennich/pr/fix-require-command' into 1.4 2017-08-07 09:25:24 +02:00
Jordi Boggiano 23ab57c311 Merge branch '1.4' 2017-08-06 17:21:58 +02:00
Jordi Boggiano bf940fb21b Fix exclude-from-classmap when a package is installed as a symlink, fixes #6397 2017-08-06 17:21:04 +02:00
Jordi Boggiano 9afbddab6b Only update dist references when one existed already, fixes #6363 2017-08-06 16:54:17 +02:00
Patrick Pokatilo 57ed58346a Be strict and return non-zero exit code for outdated packages when showing all 2017-08-06 15:39:04 +02:00