1
0
Fork 0
Commit Graph

3937 Commits (ad51db7b573acde72c01125273a1d06fdbed327c)

Author SHA1 Message Date
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 2013-09-05 14:30:03 +02:00
mwhittom d77bd49301 Replaced RemoteFileSystemTest with version from main branch 2013-09-04 09:30:23 -05:00
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 2013-09-04 09:24:49 -05:00
matt-whittom f737e49aae Fixed issue with downloader assuming repository would be VcsRepository 2013-09-04 09:10:45 -05:00
matt-whittom a543e8bc8f Replaced composer.lock with version from Master 2013-09-04 09:10:45 -05:00
matt-whittom f3722a46ed Updated comments 2013-09-04 09:10:44 -05:00
matt-whittom 8379985166 Updated/Standardized header comments 2013-09-04 09:10:44 -05:00
matt-whittom dd81449998 Updated to remove vfsStreams (no longer needed by tests)
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
2013-09-04 09:10:44 -05:00
matt-whittom 997b1b5d46 Replaced changes in RemoteFilesystemTest with changes from main branch. 2013-09-04 09:10:44 -05:00
matt-whittom 7fdcdb4c54 Updated to complete functionality in Downloader to handle updates, returning change logs. 2013-09-04 09:10:43 -05:00
matt-whittom 1015957659 Added tests and code for tests 2013-09-04 09:10:43 -05:00
matt-whittom 1019c014e5 using theirs 2013-09-04 09:10:43 -05:00
matt-whittom bab10dd9f8 Added ability to pass p4user and p4password in composer.json 2013-09-04 09:10:42 -05:00
matt-whittom 53d6fcd6d3 using theirs 2013-09-04 09:10:42 -05:00
matt-whittom a5df2851ef Finished cleanup of debug messages. 2013-09-04 09:10:42 -05:00
matt-whittom 43108b4692 Cleanup phase 1
Removed branches - only returning the "master"
2013-09-04 09:10:42 -05:00
matt-whittom 64bda65e11 Updated Perforce driver to use labels
dev checkin, lots of cleanup to do
2013-09-04 09:10:41 -05:00
matt-whittom 36dd7dfea5 Cleaned up perforce code
Checks to see if already logged in to Perforce, and prompts for password if not and P4PASSWD is not set
Checks server url with perforce call
Checks for composer.json file, and returns the contents of the file already retrieved.
2013-09-04 09:10:41 -05:00
matt-whittom 0d061f2530 Added Perforce to Composer 2013-09-04 09:10:41 -05:00
matt-whittom a980228b76 Added Perforce VCS to Composer.
Added Perforce utility class, PerforceDriver and PeforceDownloader
Added PerforceDriverTest
Updated Factory, VcsRepository to incorporate Perforce classes.
Modified ArchivableFilesFinderTest to skip Mercurial test that does not work for me.
2013-09-04 09:10:41 -05:00
Jordi Boggiano 9b70b89b8f Merge pull request #2210 from Firehed/master
Change 'generated' notice to @phpdoc-style annotation
2013-09-02 03:12:29 -07:00
Jordi Boggiano 80184b87d1 Fix undefined index error, fixes #2224 2013-09-02 11:22:21 +02:00
Nils Adermann bf08019292 Load plugins and installers prior to checking installed packages 2013-08-31 16:20:38 +02:00
Nils Adermann 2ca07add97 Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Correct FileDownloaderTest for invalid checksum

Conflicts:
	tests/Composer/Test/Downloader/FileDownloaderTest.php
2013-08-31 15:58:31 +02:00
Nils Adermann 72919e04b0 Correct FileDownloaderTest for invalid checksum 2013-08-31 15:55:12 +02:00
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