1
0
Fork 0
Commit Graph

4934 Commits (17baee4e80621cbc4562979c876657a4f26697e7)

Author SHA1 Message Date
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
Tomáš Votruba 2cdc647f9f Readme: update coding standard link
Maybe it's on purpose, but current link leads to documentation, where deprecated note.
2014-10-04 20:48:31 +02:00
Jordi Boggiano 6c0afd3fc0 Merge pull request #3191 from jakoch/master
added stof's php inline example from #3190 to doc/articles/scripts.md
2014-10-04 17:55:03 +01:00
Jordi Boggiano 2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 2014-10-04 17:31:45 +01:00
Jordi Boggiano 109f4ffd5e Normalize json across all php versions, fixes #3226 2014-10-04 17:02:42 +01:00
Jordi Boggiano 3d1a094535 Merge pull request #3262 from jklein/patch-1
Fixing a typo in the scripts documentation
2014-10-04 17:00:32 +01:00
Jordi Boggiano 0cb42c4116 Merge pull request #3257 from jakoch/patch-docufix
docu fix (removed dangling "times.")
2014-10-04 16:53:05 +01:00
Jordi Boggiano fc14d33491 Fix json nesting issue, fixes #3323 2014-10-04 16:35:10 +01:00
Jordi Boggiano 5aff8632b4 Merge pull request #3327 from Strate/dump_autoload_event_args
Accessing to option 'optimize-autoloder' inside 'post-autoload-dump' script event
2014-10-04 12:38:00 +01:00
Jordi Boggiano ed54e8346d Fix json test, fixes #3326 2014-10-04 12:33:28 +01:00
Artur Eshenbrener 56482cff0a Changed short array syntzx to long 2014-10-03 18:31:02 +04:00
Artur Eshenbrener ad1d0be420 Accessing to option 'optimize-autoloder' inside 'post-autoload-dump' script event. 2014-10-03 18:28:16 +04:00
Rafael Dohms 346133d2a1 PR Review
- reverted comma removal
- made getReplacementPackage consistent
- removed abandoned flag if false
2014-10-03 15:12:16 +02:00
Rafael Dohms f9f2bbac59 Abandoned packages support
Added warning to the installer process.
If any installed packages are flagged, the user will get a warning at the end
of the install/update process.
2014-10-03 14:48:28 +02:00
Rafael Dohms 5ed01fb60d Abandoned support in `show`
Executing `composer show` on an abandoned package displays the warnings for package status.
2014-10-02 23:53:34 +02:00
Rafael Dohms d6d087d348 Support for Abandoned in Packages
Added parsing for abandoned property into the CompletePackage Object.
2014-10-02 23:53:21 +02:00
Jordi Boggiano 1e4229e22a Adjust APC check, refs #264 2014-10-02 12:34:17 +01:00
Aydin 432cdbcb31 Allow to select virtual packages 2014-10-02 12:07:31 +01:00