1
0
Fork 0
Commit Graph

654 Commits (43c1caad0d1690458765cf542a164fe242f51fce)

Author SHA1 Message Date
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
2015-04-29 22:38:07 +01:00
Jordi Boggiano 80b0a35a68 Merge remote-tracking branch 'HuffAndPuff/ignore-platform'
Conflicts:
	src/Composer/Config.php
	src/Composer/Repository/PlatformRepository.php
2015-04-29 21:03:51 +01:00
Rob Bast 3d329622d7 overwrite -> overwriteError 2015-02-25 11:00:35 +01:00
Rob Bast cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Jordi Boggiano 0b4a9235f4 CS fixes 2015-02-24 14:22:54 +00:00
David Verholen 2d9401fb13 fix bug in GitDriver::supports for remote repo
for some reason it does not work (in packagist) without the $output param. I don't get any error message here, maybe someone has an idea, why?

Anyway, need this ;)
2015-02-10 13:33:09 +01:00
Jordi Boggiano 8b46880f42 Avoid failing on composer show of lazy providers 2015-01-31 21:24:50 +00:00
brandung GmbH & Co. KG d650f05ddf removed needless output param 2015-01-29 20:00:49 +01:00
davidverholen 50d068b977 + limit git ls-remote to heads
+ escape repo url
2015-01-29 17:08:32 +01:00
davidverholen 80d7ab57ed add check for remote Repository in GitDriver::supports 2015-01-29 15:46:11 +01:00
Jordi Boggiano 2a1a963b00 support bitbucket URLs with plain http 2015-01-19 17:56:20 +00:00
Jordi Boggiano 0a0ad6c335 Merge pull request #3562 from stof/patch-1
Add the package license for PEAR packages
2014-12-28 15:09:37 +00:00
SofHad 45089a6771 [Minor] remove the unused private variables 2014-12-28 00:45:27 +01:00
Jordi Boggiano e0291f3a30 Fix parsing of empty git commits, fixes #3565 2014-12-17 15:25:22 +00:00
Christophe Coevoet d22070526f Add the package license for PEAR packages
Refs https://github.com/composer/satis/issues/192
2014-12-16 18:08:38 +01:00
Jordi Boggiano 5133c3fe9a Merge pull request #3424 from kaktus42/master
return false if local file path does not exist in GitDriver and HgDriver
2014-12-09 14:12:13 +00:00
Jordi Boggiano 3ff8bcffea Allow loading of real composer repos by local path, fixes #1899 2014-12-08 22:04:10 +00:00
Jordi Boggiano 2b7b605839 Skip empty time values 2014-12-03 13:06:46 +00:00
Nils Adermann 91dd999eb6 Merge pull request #3383 from mpoiriert/patch-1
change preProcess from private to public
2014-12-01 20:19:35 +01:00
Nils Adermann 89bd9be295 This entirely removes StreamableRepositories and minimal package arrays 2014-11-20 17:23:51 +01:00
Nils Adermann 9751e1ab58 Remove unnecessary collection of names which isn't used 2014-11-20 12:54:56 +01:00
kaktus42 116ccdac62 return false if local file path does not exist in GitDriver and HgDriver 2014-11-16 23:34:25 +01:00
mpoiriert 2a4b125125 change preProcess from private to public
I need to override the preProcess method from a child class.

The use case is related to package renaming in a private satis repository. I understand the implication for packagist (and other public repository) but keeping the root packageName cause problem when you need to rename a package.

I will override override the name assignation with this

```PHP

// use the main identifier if name is not present
$data['name'] = !isset($data['name']) ? $this->packageName : $data['name'];

```
2014-10-30 09:19:10 -04:00
Jordi Boggiano 94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
aaukt f8fae61b05 Add fallback for findPackage(s) for repo without provider
This was introcuced in a4d43ee860, but is missing the fallback for a repository without providers.
2014-10-17 09:10:47 +02:00
Jordi Boggiano 73e9db5d99 Fix the problem at the source, refs #3322 2014-10-07 16:03:19 +01:00
Jordi Boggiano 18ab5ad6fe Merge pull request #3154 from francoispluchino/fix-phpdoc
Fix phpdoc
2014-09-30 00:06:21 +01:00
Jordi Boggiano e61e62908e Merge remote-tracking branch 'frederikbosch/patch-1' 2014-09-24 19:17:30 +01:00
Jordi Boggiano 91ac3e1426 Add support for unixy paths in git/hg local repo urls, closes #3294 2014-09-24 19:13:05 +01:00
frederik d1d40502bf ProcessExecutor::escape 2014-09-24 18:30:12 +02:00
frederik 7ae1430689 #3297 ProcessUtil class using ProcessUtil of Symfony Console 2014-09-24 17:18:15 +02:00
Bastian Hofmann f8023cffdf renamed cache-credentials to svn-cache-credentials 2014-09-24 13:24:54 +02:00
Bastian Hofmann b279dda1c0 Merge branch 'master' of https://github.com/composer/composer 2014-09-24 13:23:49 +02:00
Jordi Boggiano 4d522e40fb Load auth when updating a git repo mirror, fixes #3243 2014-09-22 16:06:27 +01:00
Bastian Hofmann 204fc207fa Moved config option to not save subversion credentials to repository configuration, added documentation. 2014-09-16 15:16:55 +02:00
François Pluchino 3dc83277a3 Fix phpdoc 2014-07-23 20:19:29 +02:00
Jordi Boggiano 7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano d5294ef91b Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423 2014-07-19 18:40:01 +02:00
Jordi Boggiano b7402c3b2d Ignore gh-pages branches, fixes #3073 2014-06-28 20:23:22 +02:00
Jordi Boggiano ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
Jordi Boggiano d036b2390e Load root aliases for providers by package name and not by provider name, fixes #3043 2014-06-09 19:36:06 +02:00
Jordi Boggiano 89ec322929 Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json' 2014-06-05 11:08:19 +02:00
Jordi Boggiano 58d01b2c6e Merge pull request #2988 from tristanlins/feature/composer-repository-find-packages
ComposerRepository::findPackage[s]
2014-06-05 10:55:27 +02:00
Jordi Boggiano effacc1185 Do not realpath relative local URLs, fixes #2916 2014-05-31 21:36:09 +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 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
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 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