66 Commits (162a6e57819774a795ed71967c22edf7d6c4dca7)

Author SHA1 Message Date
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
13 years ago
Beau Simensen 473f127ff1 Super simplified, works, but needs refactoring w/ Composer Repository 13 years ago
Beau Simensen df72919ba3 @naderman says this is wrong. 13 years ago
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.
13 years ago
Beau Simensen c1ba2be345 Provide the ability to specify internally installed packages (i.e., embedded in phar) 13 years ago
Beau Simensen c94d867c07 Make install method self contained
Experimental: Updated `install()` method to accept its Composer
and input option dependencies as method arguments.
13 years ago
Jordi Boggiano d52feb1a9f Merge remote-tracking branch 'digitalkaoz/issue_209' 13 years ago
Jordi Boggiano 7add1001ae Refactor scripts 13 years ago
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
13 years ago
François Pluchino 2f6a3ce8b9 Add system trigger 13 years ago
digitalkaoz 3d43bdce45 refactored install 13 years ago
digitalkaoz 4d0fae688e removed replace, reinstalling as install 13 years ago
digitalkaoz 30e89a2402 fixed broken packages on filesystem 13 years ago
Jordi Boggiano edf948454b Remove IO from Solver, debug methods don't need it 13 years ago
François Pluchino 0f9dcc9618 Remplace all echo with writeln method of IO 13 years ago
François Pluchino 7888ec5313 Add Authentification in FileDownloader 13 years ago
Jordi Boggiano 462ebdf752 Detect lock file changes and warn users on install, fixes #75 13 years ago
Nils Adermann 855b1cb9d3 Merge pull request #173 from Seldaek/update
Fix update, fixes #125
13 years ago
Jordi Boggiano 9b2694351b Less confusing error message 13 years ago
Jordi Boggiano 8cfbf9e198 Fix update, fixes #125 13 years ago
Beau Simensen 2791e57930 Updated lockfile message for "composer install" command
The behaviour of the lockfile was a little confusing to me.
I assumed if I added a new dependency I should run
'composer install' again. It was not immediately obvious
from the output of the install command what was going on
and I was confused why my new package had not been installed.

I understand that a better fix would be to compare
composer.json to the lockfile, but until that has been
implemented this will maybe help some newbies out.
13 years ago
digitalkaoz 6c870e23e0 added search command, colorized ouput, tiny fixes 13 years ago
jsor 28a8b3e4c5 Fix link collection 13 years ago
jsor e512e16e35 Rename flags after feedback in #132 13 years ago
jsor 9af21fd461 Install recommended deps by default and introduce flags for including/excluding required/recommended/suggested deps 13 years ago
Jordi Boggiano eef37c450f Fix error detection to support replaces and provides 13 years ago
Jordi Boggiano 0d304550b5 Clarify error message when packages are not found, fixes #128 13 years ago
Jordi Boggiano 68512714f4 Fix update command by using remove+install (and for now ignoring uninstalls of non-existing packages) 13 years ago
Jordi Boggiano f2662b193d Add --dry-run option and list all operations on --verbose 13 years ago
Ant Cunningham e0400773f7 Adding support for configurable vendor path in composer.json. 13 years ago
Jordi Boggiano c8859240d2 Add InstallerInstaller, refactored AutoloadGenerator, fixes #59 13 years ago
Jordi Boggiano 1feebcafe2 Add update command, fixes #28 13 years ago
Jordi Boggiano 9108a3af7f Fix PlatformRepo packages not being seen as installed 13 years ago
Jordi Boggiano 6b6d6b6d82 Add --dev flag to InstallCommand to do source installs, fixes #26 13 years ago
Jordi Boggiano 1ca3e5e5e2 Generate a map separated from the autoloader, fixes #74
Also the loader is now returned by the autoload.php
13 years ago
Jordi Boggiano 1e0710b32f Move .composer into vendor (hardcoded for now) 13 years ago
Jordi Boggiano 220ab7f4ee Comments 13 years ago
Jordi Boggiano 8b0fee3f35 Fix platform packages not being added to the pool 13 years ago
Jordi Boggiano 33e7001d7e Fix typo 13 years ago
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 13 years ago
Igor Wiedler 9d238330b3 [autoload] refactor autoload generation code into a AutoloadGenerator 13 years ago
Igor Wiedler 72a1f66b7a rename installAs to target-dir 13 years ago
Igor Wiedler ea31039556 [autoload] autoloading prototype 13 years ago
Jordi Boggiano 2ebc795754 Error out when a package can not be found, refs #30 13 years ago
Jordi Boggiano cc769af923 Reuse normal installer logic for locked installs 13 years ago
everzet 96122aada8 refactored install command to use new Locker 13 years ago
Jordi Boggiano b9114e16be Fix typos, short var names etc 13 years ago
Jordi Boggiano 5623f3e69c Fix refactoring bugs 13 years ago
everzet 05ddfde868 Reflect latest refactoring changes in commands 13 years ago
Jordi Boggiano d27691a67f Fix namespace/use/typo issues 13 years ago