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
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
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
Zbigniew
5afe2f846f
[Archiver] comment for a confusing line
2014-01-30 23:42:11 +00:00
Zbigniew
a4a9d0f0e4
[Archiver] Rules in GitExcludeFilter are too broad
2014-01-30 23:34:28 +00:00
Zbigniew
94635c0d14
[tests] Unit tests for JsonValidationException class
2014-01-30 17:39:13 +00:00
thewilkybarkid
3c75cf59e8
Correct JSON
2014-01-30 09:08:56 +00:00
Olivier Laviale
17278999ba
Coding style compliance
2014-01-29 14:36:34 +01:00
Olivier Laviale
46776c8e23
Improved package sorting
2014-01-29 14:15:32 +01:00
Nils Adermann
0238aaf5ac
Merge pull request #2629 from moranjk/master
...
Implemented Pre/Post Archive Script Events
2014-01-29 01:12:19 -08:00
James Moran
c103b54991
updated documentation with pre/post archive events
2014-01-27 19:45:20 -05:00
Florian Weber
3b25703f35
Replace %name% with %package% in 05-repositories.md
2014-01-28 00:27:15 +01:00
Nils Adermann
4ec4ba1397
Merge pull request #2618 from stof/patch-5
...
Fixed a typo in the doc about github auth
2014-01-27 05:36:06 -08:00
Nils Adermann
101140828c
Merge pull request #2621 from asm89/patch-1
...
Fix typo in doc
2014-01-27 05:35:55 -08:00
Nils Adermann
ab6659652c
Merge pull request #2620 from robocoder/patch-1
...
add hhvm and icu
2014-01-27 05:14:25 -08:00
Pierre-yves Christmann
79a4c5cac1
correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute)
2014-01-27 05:04:27 +01:00
Anthon Pang
d07339382d
add lib-icu and hhvm
2014-01-23 10:41:23 -05:00
Alexander
23a61c5a1d
Fix typo in doc
2014-01-22 22:48:36 +01:00
Christophe Coevoet
57d1cff0bc
Fixed a typo in the doc about github auth
2014-01-22 17:41:53 +01:00
Nils Adermann
7adc41d02c
Merge pull request #2605 from robertboloc/feature-config_optimize_autoload_always
...
Added config option to optimize the autoloader always
2014-01-20 10:10:11 -08:00
Jordi Boggiano
8e1d7de93b
Merge pull request #2599 from dlondero/document-oauth-token
...
Add API rate limit and two factor authentication doc
2014-01-19 17:08:09 -08:00
Robert Boloc
5e5311a224
use optimize-autoloader config param in update and install commands
2014-01-17 15:04:10 +01:00
Robert Boloc
8a221854b1
changed name of the option to optimize-autoloader
2014-01-17 14:43:54 +01:00