1
0
Fork 0
Commit Graph

720 Commits (34bbfb70d2d662ef2022c98dca2d3eef709d2680)

Author SHA1 Message Date
Justin Rainbow 34bbfb70d2 Initial version of InitCommand
This command allows a user to create a basic composer.json
definition easily.  The idea is to create a command similar
to the `npm init` command.

This version only has `name` and `description` support.
Additional fields will be added such as `require`, `authors`,
`version`, etc.
2012-02-11 17:13:37 -07:00
Jordi Boggiano 8123de2fea Simplified bootstrap 2012-02-09 19:06:47 +01:00
Jordi Boggiano 5da021ffa7 Moved Filesystem to base Util namespace 2012-02-09 18:45:28 +01:00
Jordi Boggiano ec352b1e84 Add support for adding more than one fallback dir 2012-02-09 18:18:43 +01:00
Jordi Boggiano 3355a36f86 Merge pull request #281 from simensen/debug-command-fix
Critical fix: DebugPackagesCommand has been removed.
2012-02-09 08:17:08 -08:00
Beau Simensen 030b81b199 DebugPackagesCommand has been removed. 2012-02-09 08:14:06 -08:00
Jordi Boggiano 6971657ad0 Merge debug:packages into the show command (if used without package arg) 2012-02-09 16:30:55 +01:00
Jordi Boggiano 0e7c0d918f Add useIncludePath support to ClassLoader 2012-02-09 15:42:47 +01:00
Jordi Boggiano 247d19e2f8 Add type hints 2012-02-08 18:12:46 +01:00
Jordi Boggiano 93baa38d5c Allow show command to work without a composer.json 2012-02-08 10:24:36 +01:00
Jordi Boggiano 2d780fbef6 Register all packages via the autoload generator before dispatching events 2012-02-07 11:13:29 +01:00
Jordi Boggiano 5daaba9e62 Extract some code in a AutoloadGenerator::buildPackageMap method 2012-02-07 11:12:03 +01:00
Jordi Boggiano 8c535b1961 Allow the Composer ClassLoader to be unregistered easily 2012-02-07 11:11:39 +01:00
Jordi Boggiano f761bf8d99 Simplify install() signature 2012-02-06 13:59:46 +01:00
Jordi Boggiano 162a6e5781 Merge remote-tracking branch 'simensen/install-arguments' 2012-02-06 10:51:04 +01:00
Beau Simensen d05f0a6e40 Addressed coding standard issues reported by @stof 2012-02-05 18:25:41 -08:00
Beau Simensen e1370be7a0 Continued refactoring of install() method, mainly by way of adding Composite Repository
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
 * Added Composite Repository
 * Added tests for Composite Repository
 * Removed "local repository" concept from Platform Repository
 * Removed some `use` statements for Platform Repository where it was not actually being used
2012-02-05 18:25:41 -08:00
Beau Simensen 473f127ff1 Super simplified, works, but needs refactoring w/ Composer Repository 2012-02-05 18:22:56 -08:00
Beau Simensen df72919ba3 @naderman says this is wrong. 2012-02-05 18:22:56 -08:00
Beau Simensen 57ffc9d59b Changed some variable names, continue 2, locked install changed
Changed some some instances of the $package variable name to be
able to be consistent in all branches of the "add to request"
section of code.

Updated an instance of "break" to "continue 2" as it was resulting
in the same package getting both update() and install() called
on request. Seems like this is probably not needed, should be
just one or the other? (could be way wrong on this)

Gave "locked" branch of the update/locked/install code some
logic to handle internally installed packages.
2012-02-05 18:22:56 -08:00
Beau Simensen c1ba2be345 Provide the ability to specify internally installed packages (i.e., embedded in phar) 2012-02-05 18:22:56 -08:00
Beau Simensen c94d867c07 Make install method self contained
Experimental: Updated `install()` method to accept its Composer
and input option dependencies as method arguments.
2012-02-05 18:16:50 -08:00
Jordi Boggiano 385075cda3 Cosmetic fixes 2012-02-05 22:38:42 +01:00
Jordi Boggiano 26e909a1a0 Apply nested-autoload support to all relevant files 2012-02-05 21:23:52 +01:00
Jordi Boggiano 4b18753ad6 Merge remote-tracking branch 'simensen/vendor-bin-runnable' 2012-02-05 21:17:08 +01:00
Jordi Boggiano 2262a3f864 Fix test 2012-02-05 21:13:16 +01:00
Jordi Boggiano d35a1a4a9d Stylistic fixes to the previous merge 2012-02-05 21:08:43 +01:00
Jordi Boggiano d52feb1a9f Merge remote-tracking branch 'digitalkaoz/issue_209' 2012-02-05 20:59:30 +01:00
Jordi Boggiano c9a770fe94 Merge pull request #277 from francoispluchino/master
Fix bug on authorization of file download for the private repositories
2012-02-05 11:50:29 -08:00
François Pluchino a0afb88d5d Fix bug on authorization of file download for the private repositories 2012-02-05 20:21:06 +01:00
Jordi Boggiano 39ab5017aa Update scripts docs 2012-02-05 16:27:55 +01:00
Jordi Boggiano d43dd33632 Add scripts loading 2012-02-05 16:14:44 +01:00
Jordi Boggiano 7add1001ae Refactor scripts 2012-02-05 16:14:25 +01:00
Jordi Boggiano c2aac6a37c Merge remote-tracking branch 'francoispluchino/master' 2012-02-05 14:07:08 +01:00
Jordi Boggiano d18e749f85 Test fix, fixes #274 2012-02-03 20:33:57 +01:00
Jordi Boggiano 568d9dabf6 fix previous commit 2012-02-03 20:32:09 +01:00
Jordi Boggiano e1a11302a8 Merge remote-tracking branch 'padraic/pear-channelurimissingforwardslash' 2012-02-03 20:29:52 +01:00
Pádraic Brady 3f7e7dff33 Fix a small bug where some PEAR channels' category link href doesn't contain a starting forward slash 2012-02-02 19:57:37 +00:00
Jordi Boggiano 15d78e6ad1 Fix autoload generator with vendor-dir = working-dir 2012-02-02 16:38:48 +01:00
Jordi Boggiano ad92154c8f Merge pull request #273 from hason/autoloader
Fixed autoload generator
2012-02-02 07:02:13 -08:00
Martin Hasoň d27989c808 Fixed obscure code 2012-02-02 15:36:38 +01:00
Jordi Boggiano 2e9de65ae0 Merge pull request #272 from justinrainbow/bug_211
SplFixedArray issue also affects PHP 5.3.3
2012-02-01 08:38:37 -08:00
Justin Rainbow 8e64229461 Increasing version number to include 5.3.3 which also has an issue with SplFixedArray 2012-02-01 09:31:27 -07:00
François Pluchino 2902e9ee06 Update doc/faqs/triggers.md 2012-01-25 18:29:44 +01:00
François Pluchino 1699b5c338 Update trigger faq 2012-01-25 18:23:04 +01:00
François Pluchino c7b898d10d Remove TriggerEvent setter and adding arguments to the constructor 2012-01-25 17:31:46 +01:00
François Pluchino 0bcf3c26d9 Add .composer/autoload.php in namespace loader 2012-01-25 17:08:06 +01:00
François Pluchino f017074655 Remove package trigger
Rename GetTriggerEvent on TriggerEvent
Remove get/set Application in TriggerEvent
Remove get/set Dispatcher in TriggerEvent
Add get/set Composer in TriggerEvent
Add get/set IO in TriggerEvent
Restaure ConsoleIO and IOInterface
Update Faq
2012-01-25 00:22:12 +01:00
Jordi Boggiano 54dece1dc7 Update README 2012-01-24 22:49:57 +01:00
Jordi Boggiano 6b2e53836b Merge remote-tracking branch 'digitalkaoz/issue_245' 2012-01-24 22:48:19 +01:00