1
0
Fork 0
Commit Graph

553 Commits (24d85a48f07e760795cc705b8ff2455dbe068cc3)

Author SHA1 Message Date
Justin Rainbow 24d85a48f0 Removing the JsonFormatter as it is part of the JsonFile now 2012-02-11 17:13:39 -07:00
Justin Rainbow 604f2836e3 Adding a JSON string formatter to the JsonFile class 2012-02-11 17:13:39 -07:00
Justin Rainbow 3a5d09a8b0 Removing the 'writeSection' method from 'DialogHelper' 2012-02-11 17:13:38 -07:00
Justin Rainbow 7a0a1788e3 Moved DialogHelper into the base Application 2012-02-11 17:13:38 -07:00
Justin Rainbow 9ec641659e Validating package name input for init command 2012-02-11 17:13:38 -07:00
Justin Rainbow 950bbcbed9 Init now asks user if they want to ignore the vendor dir 2012-02-11 17:13:38 -07:00
Justin Rainbow cd9c86c70c Adding author defaults to init command 2012-02-11 17:13:38 -07:00
Justin Rainbow 6ff7694de1 Fixing error when no requirements are defined 2012-02-11 17:13:38 -07:00
Justin Rainbow 42d55bf510 Removing the JsonFormatter as it is part of the JsonFile now 2012-02-11 17:13:38 -07:00
Justin Rainbow 2fbd9490b1 Adding a requirement definition stage to init command 2012-02-11 17:13:38 -07:00
Justin Rainbow 5933f34d6f Adding a JSON string formatter to the JsonFile class 2012-02-11 17:13:38 -07:00
Justin Rainbow 10ca974f33 Quick change to the help text for InitCommand 2012-02-11 17:13:37 -07:00
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 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
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
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 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
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 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 568d9dabf6 fix previous commit 2012-02-03 20:32:09 +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
Martin Hasoň d27989c808 Fixed obscure code 2012-02-02 15:36:38 +01: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 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
François Pluchino b147210ff4 Adding access to input's options and arguments used by the triggers 2012-01-24 18:10:22 +01:00
François Pluchino 2f6a3ce8b9 Add system trigger 2012-01-24 18:08:41 +01:00
Martin Hasoň e46e1fb981 Changed method to static - JsonFile::encode 2012-01-24 15:57:23 +01:00
Martin Hasoň 76a2be5ae0 Fixed detection of missing comma and added detection of missing colon in json 2012-01-24 15:10:55 +01:00