Jordi Boggiano
71397f82e4
Remove forced dir removal before install, fixes #3035
2014-06-04 14:20:36 +02:00
David Neilsen
7fe3426991
Clean up unused 'use' statements
2014-06-04 21:28:41 +12:00
David Neilsen
075c85dd48
Fix typo in src/Composer/Command/ClearCacheCommand.php
2014-06-04 21:25:43 +12:00
David Neilsen
421c9453a4
Add clear cache command.
2014-06-04 19:32:28 +12:00
Benjamin Grandfond
31b95ed02c
Make auth credential creation private
2014-06-03 13:34:58 +02:00
Jordi Boggiano
f16e3a88e2
Clean up code format and error message
2014-06-03 10:46:14 +02:00
Jordi Boggiano
5336b039c1
Merge remote-tracking branch 'discordier/fix-zip-downloader'
2014-06-03 10:35:06 +02:00
Jordi Boggiano
170f395004
Merge pull request #2949 from jakoch/patch-3
...
renamed listFiles() to getFolderContent(). fixed comment: the method doe...
2014-06-01 15:43:10 +02:00
Jordi Boggiano
9b580bd800
Do not realpath ./.., refs #2932
2014-06-01 15:38:46 +02:00
Jordi Boggiano
56c5af8dc4
realpathGlob tweaks, refs #2932
2014-06-01 15:15:20 +02:00
Richard Quadling
443858dae7
Force all glob results to be realpath'd.
2014-06-01 15:12:33 +02:00
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
2014-05-31 21:36:09 +02:00
Jordi Boggiano
959cc4d63c
Add info about conf file loading to debug output
2014-05-31 16:50:33 +02:00
Jordi Boggiano
615402c861
Merge pull request #3027 from bitExpert/fix/create_project_auth
...
Load auth information before root package gets installed
2014-05-31 15:58:09 +02:00
Stephan Hochdörfer
493ebbaacb
Fix to load the auth information before the root package gets installed.
2014-05-30 18:37:47 +02:00
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
2014-05-30 17:14:43 +02:00
Jordi Boggiano
7131607ad1
Fix regression in handling github-oauth settings in auth.json
2014-05-27 16:26:24 +02:00
Mátyás Somfai
2ed0bfc1ba
added tests for not updating packages referenced by specific commit hash
2014-05-27 14:23:31 +02:00
Jordi Boggiano
2ae0843616
Skip updates to same reference-locked version, fixes #2487 , fixes #1333
2014-05-27 14:21:12 +02:00
Jordi Boggiano
c96430244c
Add missing setDistReference on alias package, fixes #3017
2014-05-27 14:11:20 +02:00
Jordi Boggiano
534bd64cd1
Add support for manipulating empty json files
2014-05-27 13:59:32 +02:00
Jordi Boggiano
af6ef235e1
Update json schema
2014-05-27 13:58:53 +02:00
Jordi Boggiano
90d1b6e08a
Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862
2014-05-27 13:50:47 +02:00
Stephan Hochdoerfer
1d15910fa6
Will read configured http basic auth credentials from users auth.json file and pass the credentials to the configured IOInterface.
2014-05-26 13:04:20 +02:00
Jordi Boggiano
64ac32fca9
Merge pull request #2785 from Firehed/master
...
Add @generated annotation to lockfile (ref PR 2210)
2014-05-24 22:57:50 +02:00
Jordi Boggiano
43a72d1132
Merge pull request #2985 from tristanlins/hotfix/filesystem-remove-directory
...
Graceful fallback in Filesystem::removeDirectory() to php
2014-05-24 22:55:17 +02:00
Jordi Boggiano
1ce419cc43
Fix var name
2014-05-23 18:55:44 +02:00
Jordi Boggiano
3ebc869060
Extract functionality from GitDownloader to make it more reusable
2014-05-23 18:48:10 +02:00
Jordi Boggiano
e0886b94a2
Make Git::cleanEnv static
2014-05-23 17:09:16 +02:00
Jordi Boggiano
e23665be59
Fix replacers being picked if whatProvide was called before building the package whitelist, fixes #2991 , fixes #2962
2014-05-23 15:22:53 +02:00
dmoreaulf
f5f6e5eaac
adding doc entry for composer/satis's PR 118
...
https://github.com/composer/satis/pull/118/commits
2014-05-23 10:05:00 +02:00
Jordi Boggiano
a115cfd0d8
Fix regression in github fallback behavior
2014-05-22 09:44:01 +02:00
Christian Schiffler
7cec839d30
Fix the ZipDownloader to catch the exceptions thrown in Symfony process.
...
The problem was introduced in 72d4bea8
and causes composer to not fallback
to ZipArchive when unzip can not be executed (i.e. when proc_open() is
not allowed).
2014-05-20 10:15:44 +02:00
Jordi Boggiano
0c85ca426d
Add code-fences to examples for syntax highlighting
2014-05-19 12:17:07 +02:00
Dawid Nowak
851082e9f4
JsonConfigSource->array_unshift_ref() set private and changed name to arrayUnshiftRef()
2014-05-16 03:48:30 +02:00
Joakim Israelsson
bb375b1e75
Only use "platform" config if it is an array.
...
Another option could have been to adjust the test that failed so a
platform array is returned from the mock config object but this
feels more robust.
If "platform" config is set to a non-array value it is silently
ignored now.
2014-05-15 13:36:40 +02:00
Joakim Israelsson
19b3955022
Throw InvalidArgumentException on invalid platform packages in config.
...
It's a user provided configuration value that's wrong so
it makes more sense.
2014-05-15 11:23:19 +02:00
Joakim Israelsson
ac89a5bb3b
Only allow platform packages to be overridden.
...
As defined by the PlatformRepository::PLATFORM_PACKAGE_REGEX pattern.
2014-05-14 20:37:24 +02:00
Joakim Israelsson
571363dee2
The config setting 'platform' is used to override platform packages.
...
Like suggested in #1522 .
These overridden packages appear only during install/update and not
when running init, show and search commands.
I don't know if they should or not.
2014-05-14 20:31:42 +02:00
Joakim Israelsson
f76685ce4f
PlatformRepository now takes an array of packages to override.
...
These overrides are on the form
array($packageName => $version)
These "virtual" packages are added instead of the real ones,
with the version specified. Note that it is a version and not
a constraint so you cannot pass array('ext-mongo' => '*').
Also there is currently no limit what packages can be overriden.
2014-05-14 20:29:22 +02:00
Jordi Boggiano
0c343f925a
Clarify code
2014-05-14 11:25:20 +02:00
Tristan Lins
a4d43ee860
Implement ComposerRepository::findPackage and ComposerRepository::findPackages.
2014-05-13 23:54:48 +02:00
Tristan Lins
5f86037ff3
Graceful fallback in Filesystem::removeDirectory() to php, if process failed.
2014-05-12 23:12:57 +02:00
Jordi Boggiano
2a7a954f62
Handle multiple urls in package transport options
2014-05-07 19:34:46 +02:00
Jordi Boggiano
c811eded7d
Do not output if we are about to retry a download
2014-05-07 19:34:45 +02:00
Jordi Boggiano
b6981d09e8
Fix handling of origin url in composer repository class
2014-05-07 19:34:43 +02:00
Jordi Boggiano
39c8d3e6e1
Ignore empty refs
2014-05-07 19:34:42 +02:00
Jordi Boggiano
97873a27af
Update perforce code
2014-05-07 19:34:41 +02:00
Jordi Boggiano
31b787249c
More fixes to mirror support
2014-05-07 19:34:40 +02:00
Jordi Boggiano
b39df32d4b
Minor fixes
2014-05-07 19:34:39 +02:00