1
0
Fork 0
Commit Graph

4222 Commits (1347d5306a04c4dd6f957fa5cd326b07097c5ed3)

Author SHA1 Message Date
Guillaume LECERF 44fd75ef38 Fix Cache::gc() when COMPOSER_CACHE_DIR=/dev/null
If we set COMPOSER_CACHE_DIR=/dev/null, and the garbage collector
is triggered, we end up with the following error :

The "/dev/null/" directory does not exist.

This is because the Cache::gc() function does not check for Cache::enabled
and instanciates a Finder unconditionnaly.

Fix this by adding a check on Cache::enabled.
2014-02-12 15:01:21 +01:00
Dave Hulbert 81aa3a850c Fix some PHP doc blocks 2014-02-11 10:09:30 +00:00
Steve Buzonas 3ad47b5d2c add allowing require to update dep chain, fixes composer/composer#2668 2014-02-10 15:30:46 -05:00
Gennady Feldman ac78eaa027 Adding ssh protocol support to github-protocols. 2014-02-07 11:11:36 -05:00
Nils Adermann 7343198817 Merge pull request #2681 from trivago/svn_fix
fixed svn tags directory handling
2014-02-07 10:59:35 +01:00
René Kerner 0f95e531b8 * fixed svn tag directory handling 2014-02-07 10:41:40 +01:00
Nils Adermann b7a9ea4187 Merge branch 'svn-root-detection'
* svn-root-detection:
  Reformat code to follow coding style
  * added svn handling for tags, trunk, branches in root packages
2014-02-06 23:07:47 +01:00
Nils Adermann f2c48788b8 Reformat code to follow coding style 2014-02-06 23:06:48 +01:00
Jordi Boggiano b5dd537422 Merge pull request #2648 from zczapran/unit_tests_for_jsonvalidationexception
[tests] Unit tests for JsonValidationException class
2014-02-06 21:39:32 +01:00
Jordi Boggiano f72066de90 Merge pull request #2649 from zczapran/bugfix/git_exclude_filter_rules_too_broad
[Archiver] Rules in GitExcludeFilter are too broad
2014-02-06 21:38:47 +01:00
Jordi Boggiano c7d5da89c8 Fix doc note 2014-02-06 21:15:30 +01:00
Jordi Boggiano c98b0402d8 Merge pull request #2673 from nicolas-grekas/master
dedicated scope isolation function for autoload_real
2014-02-06 12:11:42 +01:00
Nicolas Grekas 00a6f8e38d dedicated scope isolation function for autoload_real 2014-02-06 11:53:42 +01:00
Julius Beckmann ed5da804dd Fixed handling of Metapackages in DownloadManager.
The "getDownloaderForInstalledPackage" returns null for "metapackage" and the download(), update() and remove() methods did not handle this return value correctly.
2014-02-06 10:50:06 +01:00
Jordi Boggiano ed02997a7b Fix mode and add docblock, refs #2644 2014-02-06 09:44:14 +01:00
Jordi Boggiano d26dda5c95 Merge remote-tracking branch 'olvlvl/improved_package_sorting_alone' 2014-02-06 09:41:50 +01:00
Jordi Boggiano 8dd0594983 Cleaner install instruction without curl 2014-02-06 00:40:06 +01:00
René Kerner 410181ee29 * added svn handling for tags, trunk, branches in root packages 2014-02-05 19:36:28 +01:00
Nils Adermann 54b8831131 Revert "correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute)"
This reverts commit 79a4c5cac1.
2014-02-05 18:37:57 +01:00
Nils Adermann 50cf2ffba7 Merge pull request #2637 from MeKeyCool/master
bug fix with install / remove source codes
2014-02-05 18:30:49 +01:00
Nils Adermann aef0483cc9 Merge pull request #2667 from nicolas-grekas/master
scope isolation for user includes
2014-02-05 18:24:55 +01:00
Nils Adermann 2b1a7c2ba0 Merge pull request #2640 from webflo/master
Replace %name% with %package% in 05-repositories.md
2014-02-05 18:00:53 +01:00
Nicolas Grekas 6d7b9afc4b scope isolation for user includes 2014-02-05 17:33:06 +01:00
Jordi Boggiano 75cd91657a Merge remote-tracking branch 'jeromemacias/fix_psr4_classmap_generator' 2014-02-05 09:53:49 +01:00
Jordi Boggiano bac8b81d41 Merge remote-tracking branch 'donquixote/AutoloadGeneratorTest-improvements' 2014-02-04 13:36:43 +01:00
Andreas Hennings fcf8e7f515 Random docblock improvements in AutoloadGeneratorTest. 2014-02-04 12:35:50 +01:00
Andreas Hennings 6a9fd1dd60 rename \$package to \$mainPackage in AutoloadGeneratorTest::testOverrideVendorsAutoloading() for clarity. 2014-02-04 12:35:50 +01:00
Andreas Hennings bb26152de2 docblock comments on properties in AutoloadGeneratorTest 2014-02-04 12:35:50 +01:00
Andreas Hennings cab6943df0 AutoloadGeneratorTest::testOverrideVendorsAutoloading() - break autoload definitions to multiple lines. 2014-02-04 12:35:50 +01:00
Andreas Hennings 084c11ef51 AutoloadGeneratorTest::testMainPackageAutoloadingWithTargetDir() - Remove PSR-4 from the package in target-dir test, since it is incompatible with target-dir. 2014-02-04 12:35:50 +01:00
Nils Adermann 7566315c7a Don't put dots in archive filenames they cause problems with PharData
composer/satis#114
2014-02-04 12:30:44 +01:00
Jordi Boggiano a90a05a059 Detect composer install foo/bar misuse and suggest alt 2014-02-03 23:02:33 +01:00
Jérôme Macias 01cd990995 Fix PSR-4 autoload classmap generator 2014-02-03 16:53:56 +01:00
Nils Adermann e060adeb97 Merge pull request #2647 from thewilkybarkid/invalid-json
Correct JSON
2014-01-31 11:34:41 -08:00
Chris Smith 8b7cdb7fb4 Treat HTTP header as case insensitive 2014-01-31 16:42:49 +00:00
Chris Smith 78568b49d6 Correct use of English 2014-01-31 16:36:00 +00:00
Chris Smith 0858e96ac6 Correct capitalisation of OAuth 2014-01-31 16:33:47 +00:00
Chris Smith f1af43068c Change docs to reflect support for GitHub 2FA 2014-01-31 16:33:13 +00:00
Chris Smith bcee7a04ee Add message when SMS authentication code is required 2014-01-31 16:29:35 +00:00
Chris Smith 2a08f55079 Bypass RFS auth failure handling 2014-01-31 16:29:35 +00:00
Chris Smith cedae88b67 Add OTP token to the request headers 2014-01-31 16:29:35 +00:00
Chris Smith 7e0d8c1bc5 Do not ask for credentials again if OTP token is present 2014-01-31 16:29:35 +00:00
Chris Smith be5e4b1589 Intercept auth rejections requiring an OTP token 2014-01-31 16:29:35 +00:00
Chris Smith 3f6a62099d Add an option which causes reauth attempts to be bypassed 2014-01-31 16:29:35 +00:00
Chris Smith 20dac3e836 Remove GitHub OTP code from RFS class 2014-01-31 16:29:35 +00:00
Chris Smith 9a0f4392da Trim whitepsace from each argument 2014-01-31 16:29:35 +00:00
Chris Smith 360df90ba5 Add GitHub OTP to request headers 2014-01-31 16:29:35 +00:00
Chris Smith 3f53acc9af Test if the 401 was caused by 2FA and ask for OTP if appropriate 2014-01-31 16:29:34 +00:00
Chris Smith 23d35204cd Bail out of the normal 401 handling routine when the origin is GitHub 2014-01-31 16:29:34 +00:00
Zbigniew 5afe2f846f [Archiver] comment for a confusing line 2014-01-30 23:42:11 +00:00