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
Jordi Boggiano
20222a04bc
Merge pull request #256 from hason/jsonencode
...
JsonFile - changed "encode" method to static and added detection of missing colon in json
2012-01-24 13:27:49 -08:00
Leszek Prabucki
f59ca1e2f8
Made fixes after review.
2012-01-24 18:48:42 +01:00
Leszek Prabucki
3f38eede8a
Made changes which fied warnings and errors in tests.
2012-01-24 18:48:42 +01:00
Leszek Prabucki
19878c2dc1
Fixed tests after update and merge of changes from upstream/master
2012-01-24 18:44:55 +01:00
Leszek Prabucki
9488b0f85f
Fixed code. Changes improved code testability
2012-01-24 18:44:55 +01:00
Leszek Prabucki
de7f666118
Added and extended some unit tests
2012-01-24 18:44:54 +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