1
0
Fork 0
Commit Graph

4269 Commits (851082e9f48097211a5c683d223301ca6c9361ca)

Author SHA1 Message Date
Nils Adermann 786ea2929b Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Make sure directories we are downloading to are empty
  Fix parsing of trunk in SvnDriver, fixes composer/satis#88
  Fix file layout in unit tests
  Fix parse error thrown in PHP5.5+
2013-08-31 15:43:25 +02:00
Nils Adermann a080ae3a51 Make sure directories we are downloading to are empty
We already clear them on error anyway and usually they should be
empty, but just to be safe.
2013-08-31 15:42:26 +02:00
Jordi Boggiano 4b38158185 Merge pull request #2221 from Alan01252/fix-unexpectedas
Fix parse error thrown in PHP5.5+
2013-08-31 06:31:43 -07:00
Jordi Boggiano 2bf90b544a Fix parsing of trunk in SvnDriver, fixes composer/satis#88 2013-08-31 15:25:00 +02:00
Nils Adermann 5993450d5a Load plugin code from global vendor dir correctly 2013-08-30 14:11:20 +02:00
Alan Hollis 1892f57e47 Fix file layout in unit tests
Changes made in previious commit made the output of the file change,
which in turn broke the unit tests. This commit updates the fixtures to
match the new output.
2013-08-30 12:09:17 +00:00
Nils Adermann c5c180fdd2 Load plugins from global vendor dir too 2013-08-30 14:04:16 +02:00
Nils Adermann 5867d477be Use call_user_func for PHP < 5.4 compatability and accept __invoke 2013-08-30 12:51:41 +02:00
Nils Adermann a8c0170a91 Revert constructor arguments to old order for custom installers 2013-08-30 12:51:41 +02:00
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 2013-08-30 12:51:41 +02:00
Nils Adermann 3e1519cde0 Complete missing docblocks and fix incorrect ones 2013-08-30 12:51:41 +02:00
Nils Adermann 3b519e44c4 Rename PrepareRemoteFilesystem event to PreFileDownload 2013-08-30 12:51:41 +02:00
Nils Adermann f0b45099c1 Correct authorship info for files I edited 2013-08-30 12:51:41 +02:00
Nils Adermann b9c5758670 Make composer/io part of the activate plugin API rather than constructor args 2013-08-30 12:51:41 +02:00
Nils Adermann b83535d2d9 Add back --no-custom-installers option with a deprecated warning 2013-08-30 12:51:41 +02:00
Nils Adermann cd66328d68 Autoload dependencies of plugins using a pool of only the local repo 2013-08-30 12:51:41 +02:00
Nils Adermann 69a028f368 Fix plugin interface usage in tests 2013-08-30 12:51:41 +02:00
Nils Adermann 9402a9fb3c Plugins receive composer and io objects on construction already 2013-08-30 12:51:41 +02:00
Nils Adermann f00f5113bf Fix typo 2013-08-30 12:51:41 +02:00
Nils Adermann 919a190153 Add an EventSubscriberInterface which may also be implemented by plugins 2013-08-30 12:51:41 +02:00
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 2013-08-30 12:51:41 +02:00
Nils Adermann 2f43e9aefb Load installed plugins at appropriate time and adapt tests accordingly 2013-08-30 12:51:40 +02:00
Nils Adermann 3e41977be7 Plugin tests are no longer strictly installer tests 2013-08-30 12:51:40 +02:00
Nils Adermann eb966d347f Implement a plugin manager and interface, update installer plugin tests 2013-08-30 12:51:40 +02:00
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 2013-08-30 12:51:40 +02:00
Alan Hollis ede2b37ae2 Fix parse error thrown in PHP5.5+
When running composer update the file generated by AutoloadGenerator was
not able to be parsed by php due to a require statement inside the foreach
loop.

The fix is to make the statement work the same as the
autoload_namespaces.php require is done.

Issue occured using the following php versions

PHP 5.5.1-2+debphp.org~precise+2
PHP 5.5.3-1+debphp.org~precise+2
2013-08-30 11:46:39 +01:00
Firehed 046d55e886 Change 'generated' notice to @phpdoc-style annotation
While it isn't an official part of the syntax, it integrates better with other
tools that ignore diffs on generated code.
2013-08-27 16:08:38 -07:00
Jordi Boggiano ef072ff8c0 Merge pull request #2205 from unn/patch-1
Update help docs for the global command
2013-08-27 08:30:56 -07:00
Jordi Boggiano 18a1b85d89 Merge pull request #2209 from mgrabovsky/patch-1
Better wording in a note
2013-08-27 06:42:11 -07:00
Matěj Grabovský 0299041ee2 Better wording in a note 2013-08-27 15:21:57 +02:00
Jordi Boggiano 51ea1f03f9 Validate constraints in require command, fixes #2197 2013-08-26 13:29:47 +02:00
Jordi Boggiano c2dc433fa4 Improve global command to support short command resolution 2013-08-26 12:03:39 +02:00
David Stoline 54a74e81d5 Add a note about customizations 2013-08-23 12:02:35 -04:00
David Stoline 6eee550c2f Update help docs for the global command
I noticed that COMPOSER_HOME/vendor/bin was wrong. Correcting.
2013-08-23 10:59:43 -04:00
Jordi Boggiano 61c0127f05 Fix build 2013-08-23 11:59:26 +02:00
Jordi Boggiano 6233eed15e Merge pull request #2203 from johnbenz13/doc-stabflags
Describe stability flags more consistently
2013-08-23 02:54:58 -07:00
jonathan bensaid 6aefe6d8ad Describe stability flags more consistently 2013-08-23 12:18:09 +03:00
Jordi Boggiano 3942651014 Merge pull request #2201 from DerManoMann/svn-auth
Add another svn auth failed string to check (older svn server version)
2013-08-22 17:51:28 -07:00
DerManoMann abb1db54bb Add another svn auth failed string to check (older svn server version) 2013-08-23 09:29:19 +12:00
Jordi Boggiano 6f8b257997 Merge pull request #2195 from bendavies/archive-manager-authentication
ArchiveManager IO configuration
2013-08-20 07:27:53 -07:00
Ben Davies 91d9e91c0a load IO configuration 2013-08-20 15:24:21 +01:00
Luís Otávio Cobucci Oblonczyk 0b77a59af6 Repository options must be replicated on package when dist file is under
repository base dir
2013-08-19 04:40:54 -03:00
Luís Otávio Cobucci Oblonczyk 8630aab93f Package options must be a non mandatory array and should be loaded when
exists
2013-08-19 04:40:08 -03:00
Luís Otávio Cobucci Oblonczyk 28d0e08785 Package options should be dumped if exists 2013-08-19 04:39:13 -03:00
Luís Otávio Cobucci Oblonczyk d4043b6b9a Package options must be passed as argument to downloader 2013-08-19 04:38:25 -03:00
Luís Otávio Cobucci Oblonczyk 2e2b66b16e Package should have download options 2013-08-19 04:36:57 -03:00
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 2013-08-19 01:21:45 +02:00
Danack abfefd1faa Improved variable name. 2013-08-18 22:57:26 +01:00
Danack 74b4bcd22e Fix issue where none root composer.json could be used by ArtifactRepository http://www.php.net/manual/en/ziparchive.locatename.php#85512 2013-08-18 22:37:18 +01:00
Jordi Boggiano c0b889a78a Merge pull request #2187 from benjisg/fix-AutoloadNamespacesGenerator
Fixes the autoload_namespaces generator
2013-08-18 14:17:49 -07:00