1
0
Fork 0
Commit Graph

4590 Commits (98a599d6c3b915887c247b38693e7c53f156304f)

Author SHA1 Message Date
Jordi Boggiano 9801d831ed Merge pull request #5852 from fabpot/io-fix
Remove usage of echo when executing Composer script
2016-11-06 16:49:08 +01:00
Jordi Boggiano d6499b7c4a Merge pull request #5748 from kassner/hgdriver-bitbucket
HgDriver does not identify bitbucket mercurial repos correctly
2016-11-06 12:36:13 +01:00
Fabien Potencier 103624d4ed Remove usage of echo when executing Composer script 2016-11-05 22:10:39 -07:00
Jordi Boggiano f320c67534 Avoid choking on non-string constraints, fixes #5807 2016-11-03 12:05:07 +01:00
Fabien Potencier 5d742fd38b Fix POST_DEPENDENCIES_SOLVING trigger 2016-10-31 06:54:38 -07:00
Jordi Boggiano d4547fba06 Merge pull request #5804 from msiebeneicher/bugfix/fix_rename_usage_in_archive_manager_for_v1_2
fixed direct rename() usage for v1.2
2016-10-27 10:14:20 +02:00
Niels Keurentjes 6de7feeb86 Fix crash when listing root package without versions
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.

Refs #5808
2016-10-25 09:54:03 +02:00
msiebeneicher 800a4bf391 fixed direct rename() usage for v1.2 2016-10-21 13:57:02 +02:00
Jordi Boggiano f23cdf59e3 Make remove command case insensitive, fixes #5754 2016-10-10 18:45:33 +02:00
Jordi Boggiano 5ee22f25ba Rework JSON matching to use a properly recursive pattern, fixes #5771 2016-10-10 18:20:53 +02:00
Fabien Potencier b502a35fc1 added missing var declaration 2016-10-07 11:38:36 -07:00
Rafael Kassner 44634a689d HgDriver does not identify bitbucket mercurial repos correctly 2016-10-03 13:17:07 +02:00
Jordi Boggiano 902a5c32db Add bug ref 2016-09-29 08:06:44 +02:00
AnrDaemon c774d41a9c Fix realpath() failing on Windows 2016-09-29 08:05:55 +02:00
Rob Bast 710bb0d008
fix based on test, fixes #5724 2016-09-27 17:39:44 +02:00
Ruslan Bekenev 8c1f889806 cut out "file://" from VCS download() method
this issue was happening due to realpath() function
that cannot work with "file://" path.
For local repositories it is valid url but not valid for realpath()
2016-09-23 16:37:32 +02:00
Fabien Potencier e83f7c2929 Fix process timeout when set to 0 2016-09-21 11:48:10 +02:00
Jordi Boggiano 8e1b90bc08 Allow reading repo.0 in config command, fixes #5692 2016-09-19 18:47:44 +02:00
Jordi Boggiano 64d29dc6dc Fix regex cleaning up repo URLs, fixes #5686 2016-09-17 13:27:29 +02:00
SpacePossum 2ae0800cd3 Remove useless concat. 2016-09-16 14:50:34 +02:00
Jordi Boggiano a2b3e89d56 Make sure php-ipv6 is recognized as a platform package as well 2016-09-12 22:49:44 +02:00
Den Girnyk 71e0fba216 Pass devMode from RunScriptCommand to Script\Event 2016-09-12 17:20:51 +02:00
Jordi Boggiano ff7daf0bd4 Fix handling of paths on windows when cwd is root of drive, fixes #5554 2016-09-12 16:56:04 +02:00
Jordi Boggiano f78f6c963d Add note about rawurlencode, refs #5503 2016-09-12 14:27:11 +02:00
Calin Marian a888b082b0 Make urlEncodeAll private 2016-09-12 14:26:13 +02:00
Calin Marian 862a13a17e Urlencode Gitlab project names
Url encode all non alphanumeric characters in project name for GitLabDriver.

If the project name has "." characters in it, which is supported in Gitlab, the Gitlab API will 404 when requesting the branches or tags of the repository. This commit urlencodes all non alphanumeric characters in the project name in requests to the Gitlab API.
2016-09-12 14:26:07 +02:00
Jordi Boggiano a04256810e Change exit code to be 1/2 for warn/fail, refs #5601 2016-09-12 11:25:43 +02:00
Jordi Boggiano b29d810d63 Only treat errors as real failures, fixes #5601 2016-09-12 11:00:38 +02:00
Jordi Boggiano cfdeb61779 Avoid warning when testing for packagist over http 2016-09-12 11:00:10 +02:00
Matthew "Juniper" Barlett 09dad8a018 Clean up regex in InitCommand::parseAuthorString
Per comments:
- https://github.com/composer/composer/pull/5638#discussion_r76972844
- https://github.com/composer/composer/pull/5638#discussion_r76973941
2016-09-02 18:59:20 +02:00
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
2016-09-02 18:59:10 +02:00
Jordi Boggiano ed78253c58 Only update reference if there is actually a reference, fixes #5609 2016-09-02 18:43:44 +02:00
Nicolas Grekas c6b26c4e96 Make static inlining more selective 2016-08-30 15:25:17 +02:00
Jordi Boggiano edddae42db Revert default change from #5603 2016-08-30 15:20:20 +02:00
John Whitley 4479b8a690 Squashed commit of the following:
commit 3994b556dcffcde7b1801c8bc712f3127e8f8e7c
Author: John Whitley <john.whitley@berea.eu>
Date:   Tue Aug 16 09:02:53 2016 +0100

    https://github.com/composer/composer/issues/5600

    This alters the default flag for loadOptions in
    \Composer\Package\Loader\ArrayLoader to true; and alters the assumption
    of the test to reflect this change.

    **Rationale**

    The `\Composer\Package\Loader\ArrayLoader` test (defined in
    tests/Composer/Test/Package/Loader/ArrayLoaderTest.php) assumed that a
    new `\Composer\Package\Loader\ArrayLoader` instance would be always
    created with the optional flag loadOptions set to true.

    ```php
    $this->loader = new \Composer\Package\Loader\ArrayLoader(null, true);
    ```

    This change alters the general case to reflect the default assumption as
    defined in the test.

commit b75fc4ad7238bc50f724bd29446ccbc33e82c34c
Author: John Whitley <john.whitley@berea.eu>
Date:   Mon Aug 15 16:55:27 2016 +0100

    Altered the test for ArrayLoader to use the default loadConfig flag, and to test the true and false states for the loadConfig flag
2016-08-30 15:20:15 +02:00
Diego Oliveira c55fd9bd10 Modify the message for memory errors 2016-08-09 21:31:19 -03:00
Nicolas Grekas dd67b01ac5 Add ClassLoader::$missingClasses to not trigger a COW 2016-07-28 10:35:44 +02:00
Rob Bast 02455712cf check for additional possible output strings, fixes #5543 2016-07-26 11:46:51 +02:00
Jordi Boggiano 3455380413 Patch Httpoxy vulnerability 2016-07-19 00:57:41 +02:00
Jordi Boggiano 2f3db8c397 Make it clear that a package is cloned from source, fixes #5489 2016-07-19 00:50:09 +02:00
Jordi Boggiano 685ff8699b Capture output 2016-07-12 17:19:15 +01:00
Jordi Boggiano a242f7e9ba Use process component instead of passthru, fixes #5501 2016-07-12 16:18:30 +01:00
Jordi Boggiano 7bcd336c95 Disable plugins across the board when --no-plugins is specified, fixes #5509 2016-07-12 16:14:26 +01:00
Richard Fussenegger 560f09cf3c Changed error suppression to Silencer 2016-07-07 08:25:46 +02:00
Richard Fussenegger 14224a1f02
Reduced to single requirement 2016-07-06 22:05:08 +02:00
Richard Fussenegger a155f4e7ea
Removed unused Silencer import 2016-07-06 19:00:44 +02:00
Richard Fussenegger 45e998c1d5
Reverted to initial version 2016-07-06 18:59:03 +02:00
Jordi Boggiano 334d0cce6b Make sure we do not clone from local mirror if mirroring failed 2016-07-02 23:52:10 +01:00
Jordi Boggiano 87fbf4a6cd Clean ups, refs #5485 2016-07-02 17:49:46 +01:00
Jordi Boggiano 8ffe224c0d Merge remote-tracking branch 'stefangr/fix_minor_bitbucket_oauth_issues' 2016-07-02 17:43:07 +01:00