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
Jordi Boggiano
ba776c06ee
Add composer mirror class
2014-05-07 19:34:38 +02:00
Jordi Boggiano
9cbfe31983
Fix regression when using -vvv
2014-05-07 19:34:37 +02:00
Jordi Boggiano
44e45ed2d5
Add support for lazy providers/proxies
2014-05-07 19:34:36 +02:00
Jordi Boggiano
77163f66fc
Add support for mirrors in composer repos
2014-05-07 19:34:35 +02:00
Jordi Boggiano
e707dcd92f
Also load transport options in filesystem repositories to avoid loss from the installed repo, refs #2189
2014-05-07 19:29:59 +02:00
Jordi Boggiano
faeb706de6
Handle alias packages properly, refs #2189
2014-05-07 19:10:55 +02:00
Jordi Boggiano
32cd883daa
Rename options to transport-options, refs #2189
2014-05-07 18:25:28 +02:00
Jordi Boggiano
31092843fd
Only load options when they come from the lock file, not from standard metadata, refs #2189
2014-05-07 18:12:26 +02:00
Jordi Boggiano
016a016455
Merge remote-tracking branch 'lcobucci/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
2014-05-07 18:02:46 +02:00
Jonas Stendahl
868121c7b2
Updated Satis install command.
2014-05-07 17:45:37 +02:00
Jordi Boggiano
7ad5e1a7fa
Merge pull request #2977 from renatbilalov/master
...
Corrected description of the option --optimize (-o)
2014-05-07 11:00:46 +02:00
renatbilalov
ee142688e1
Corrected description of the option --optimize (-o)
2014-05-07 14:55:42 +06:00
Jordi Boggiano
3677c1ea69
Merge pull request #2950 from jakoch/patch-4
...
reduce commit history of git checkout
2014-05-03 09:46:50 +02:00
jakoch
2a3159ec57
reduce commit history of git checkout (git depth 5)
2014-05-02 18:14:04 +02:00
jakoch
a0e5ead9b0
removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly.
2014-05-02 17:42:31 +02:00