1
0
Fork 0
Commit Graph

727 Commits (950bbcbed90c7872e837b1702ee10d46a7fd2f49)

Author SHA1 Message Date
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 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