1
0
Fork 0
Commit Graph

8960 Commits (f611c641dbe3ded5356408298c2ddb7a0034bc73)

Author SHA1 Message Date
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
Henrique Moody 8a5c7b39e4 Added "nbproject" folder to the .gitignore list. 2012-02-11 15:58:23 -02:00
Henrique Moody 230f43d009 Chaged the key "recommend" for "suggest" in the parse of the PEAR2 dependences. 2012-02-11 15:17:27 -02:00
Henrique Moody 61c66b98a8 Correction of wrong variable name. 2012-02-11 13:33:25 -02:00
Henrique Moody b3d91cab02 Update dependence resolution for PEAR2 packages. 2012-02-11 13:04:33 -02:00
Henrique Moody 9ca157913a Remotion of a debug code. 2012-02-11 12:57:41 -02:00
Henrique Moody 234a6710a1 Correction at method parseVersion() of Composer\Repository\PearRepository. 2012-02-11 12:57:40 -02:00
Henrique Moody be448e09b4 Update src/Composer/Repository/PearRepository.php 2012-02-11 12:57:40 -02:00
Henrique Moody dd2174885b Correction of variable overwrite used during an iteration and now the versions of PHP extensions are parsed like packages. 2012-02-11 12:57:40 -02:00
Henrique Moody 4e6a9806b6 Correction of wrong type suggestion. 2012-02-11 12:57:40 -02:00
Henrique Moody 6c47d6efe2 Renamed methods of Composer\Repository\PearRepository: fetchPearRepositories() to fetchPearPackages() and fetchPear2Repositories() to fetchPea2Packages(). 2012-02-11 12:57:40 -02:00
Henrique Moody b62a90a981 Removed hard code - suggestion of a PHP version. 2012-02-11 12:57:40 -02:00
Henrique Moody 0c6d806791 Correction of typo. 2012-02-11 12:57:40 -02:00
Henrique Moody 1e11aff456 Create method parseVersion for parsing of package versions. Now includes "max" version of the package. 2012-02-11 12:57:40 -02:00
Henrique Moody c7e0fb7e58 Correction of typo error. 2012-02-11 12:57:40 -02:00
Henrique Moody 60831ac3fc Update src/Composer/Repository/PearRepository.php 2012-02-11 12:57:40 -02:00
Henrique Moody 14adc0213e Added suport for PEAR2 repositories. 2012-02-11 12:57:39 -02:00
Beau Simensen d115c265cb Not sure I have the timing right, but figured this is a good place to start. 2012-02-10 07:36:36 -08:00
Beau Simensen 3cbbe1fd82 No need for group or world write permissions. 2012-02-09 14:18:25 -08:00
Beau Simensen 04f0ecfc01 Change permission of bin links if they exist and are already links 2012-02-09 10:21:16 -08: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
digitalkaoz 398c080bd3 Merge branch 'master' of https://github.com/composer/composer 2012-02-07 20:18:37 +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
digitalkaoz 7b982a1409 Merge branch 'master' of https://github.com/composer/composer 2012-02-06 09:53:31 +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