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
a309e1d89d
Fix tests and run it before the push url updater
2014-10-20 20:16:14 +01:00
Jordi Boggiano
fb1747624c
Force the origin remote url to be the original one and not that of a mirror
2014-10-20 19:50:22 +01:00
Jordi Boggiano
373c688f8c
Merge pull request #3362 from phansys/composer_version
...
Added branch-alias to version output when it is aliasing dev-master
2014-10-17 20:28:38 +01:00
Javier Spagnoletti
5a473439ed
Updated $branchAliasVersion set based on @Seldaek's suggestion.
2014-10-17 15:07:26 -03:00
Jordi Boggiano
3e1d0681d1
Merge pull request #3334 from NAYZO/master
...
minor fixes in DownloadManager.php
2014-10-17 19:01:20 +01:00
Jordi Boggiano
94926218e8
CS fixes
2014-10-17 18:57:27 +01:00
Jordi Boggiano
751190aafd
Add new github-expose-hostname to docs/schema/config command, refs #3164
2014-10-17 17:21:59 +01:00
Jordi Boggiano
e4d96750ee
Merge pull request #3164 from xelan/github-expose-hostname-setting
...
Option to disable inclusion of hostname in OAuth app name
2014-10-17 17:16:30 +01:00
Jordi Boggiano
be53c5dd2c
Merge pull request #3207 from cs278/handle-low-diskspace
...
Handle low diskspace errors
2014-10-17 17:12:31 +01:00
Jordi Boggiano
0c5e178b9d
Merge pull request #3363 from aaukt/master
...
Add fallback for findPackage(s) for repo without provider
2014-10-17 16:48:51 +01:00
Jordi Boggiano
332a933e8b
Remove fallback on missing commit, fixes #3314 , fixes #3147
2014-10-17 16:33:00 +01:00
Jordi Boggiano
2bb78708b8
Merge pull request #3246 from richardkmiller/patch-1
...
Very tiny but necessary edit
2014-10-17 16:09:33 +01:00
Jordi Boggiano
9c32f24cfc
Remove original indent if present, fixes #3143
2014-10-17 16:06:01 +01:00
Jordi Boggiano
8a29c812e3
Fix docs
2014-10-17 15:52:44 +01:00
Jordi Boggiano
97f191a7a7
Add --ignore-platform-reqs to docs, refs #3320
2014-10-17 15:37:37 +01:00
Jordi Boggiano
e38ec7162a
Merge remote-tracking branch 'origin/master'
2014-10-17 15:30:41 +01:00
Jordi Boggiano
ec0463a400
Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320
2014-10-17 15:30: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
Javier Spagnoletti
e36f2ea618
Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
...
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| Doc PR | none
2014-10-16 22:13:17 -03:00
Jordi Boggiano
b0cabd1e98
Revert "Added branch-alias for dev-master to ```--version|-V``` output when current", fixes #3356
...
This reverts commit 225a8f7a56
.
2014-10-16 08:43:09 +01:00
Jordi Boggiano
71976a638c
Merge remote-tracking branch 'alu/ignore-ext-require'
...
Conflicts:
src/Composer/Installer.php
2014-10-15 14:42:07 +01:00
Jordi Boggiano
c33c5196b1
Merge pull request #3352 from phansys/composer_version
...
Added branch-alias to version output when no tags present
2014-10-15 14:11:07 +01:00
Jordi Boggiano
ded4950433
Merge pull request #3348 from jakoch/patch-isdryRun
...
added $installer->isDryRun()
2014-10-15 13:58:05 +01:00
Jordi Boggiano
4597514cb5
Merge pull request #3347 from webfactory/add-some-fixtures
...
Add some examples for "composer" type repositories.
2014-10-15 13:57:25 +01:00
Jordi Boggiano
4bdd7adc55
Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation
...
Fix missing validation on default value for author input
2014-10-15 13:33:30 +01:00
Jordi Boggiano
b7bd165fed
Merge pull request #3122 from garthkerr/patch-1
...
Add blank line to output for FileDownloader.
2014-10-14 18:21:22 +01:00
Javier Spagnoletti
225a8f7a56
Added branch-alias for dev-master to ```--version|-V``` output when current
...
version is actually a revision (a non release/git tag).
Example:
Before:
```
$ composer --version
Composer version 73e9db5d99
2014-10-07 15:03:19
```
After:
```
$ composer --version
Composer version 1.0-dev (73e9db5d99
) 2014-10-07 15:03:19
```
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Doc PR | none
2014-10-13 16:17:28 -03:00
Matthias Pigulla
579409e6c5
Update fixtures to include gar/nix (which is being replaced) and bar/baz (which has a branch-alias)
2014-10-13 12:55:00 +02:00
jakoch
24b4ce8831
added $installer->isVerbose()
2014-10-11 19:46:37 +02:00
jakoch
c8b9d299d5
added $installer->isDryRun()
2014-10-11 19:30:19 +02:00
Matthias Pigulla
905f08e46e
Add some examples for "composer" type repositories.
...
These can be used as examples or possibly for tests.
2014-10-11 16:23:36 +02:00
Ala Eddine Khefifi
7cea912d30
minor fixes in DownloadManager.php
...
We should use "===" instead of "==" since it's better and faster in this case.
2014-10-08 11:25:00 +01:00
alu
b7fa302b90
add ignore-platform-package-requirements for update/install commands.
2014-10-08 14:20:36 +09:00
Jordi Boggiano
73e9db5d99
Fix the problem at the source, refs #3322
2014-10-07 16:03:19 +01:00
Jordi Boggiano
5c42cc8c8c
Merge remote-tracking branch 'AydinHassan/hotfix/init-virtual-packages'
2014-10-07 15:51:21 +01:00
Jordi Boggiano
df7c8915fa
Skip notification about matches found in case we have an exact match, refs #3261
2014-10-07 15:45:25 +01:00
Jordi Boggiano
d4062a5594
Merge remote-tracking branch 'kayladnls/kayla'
2014-10-07 15:40:33 +01:00
Jordi Boggiano
d093481ed5
Merge remote-tracking branch 'garoevans/intelligent-auth'
...
Conflicts:
src/Composer/Util/Git.php
2014-10-07 15:15:23 +01:00
Jordi Boggiano
7ccda2b1c3
Update recommendations, refs #3095
2014-10-07 14:35:09 +01:00
Jordi Boggiano
bdc60ec9c4
Merge remote-tracking branch 'amyboyd/patch-1'
2014-10-07 14:26:26 +01:00
Jordi Boggiano
6e4a21d700
Merge remote-tracking branch 'hakre/patch-2'
2014-10-07 14:10:29 +01:00
Jordi Boggiano
923191a489
Merge remote-tracking branch 'hakre/patch-1'
2014-10-07 13:45:32 +01:00
Jordi Boggiano
4ce9252255
Avoid passing args to CLI handlers when none are needed, fixes #3332
2014-10-07 11:27:24 +01:00
Jordi Boggiano
382b6c64d5
Output CWD change, refs #3332
2014-10-07 10:17:48 +01:00
Jordi Boggiano
9462eb17a2
Merge pull request #3328 from TomasVotruba/patch-1
...
Readme: update coding standard link
2014-10-06 15:47:08 +01:00
Jordi Boggiano
a4b31108f2
Merge pull request #3330 from stof/patch-1
...
Fixed the resetting of the json file on removal failures
2014-10-06 15:46:27 +01:00
Thomas Punt
26122cff43
Updated example to have a valid tag name.
2014-10-06 15:41:47 +01:00
Jordi Boggiano
95d49ce638
Add additional test for beta without dash separator support, fixes #3331
2014-10-06 12:42:19 +01:00
Christophe Coevoet
4685b4bf49
Fixed the resetting of the json file on removal failures
...
Closes #3329
2014-10-05 14:30:44 +02:00