digitalkaoz
a4f6314daa
reverted command interfaces for installer refactoring
12 years ago
digitalkaoz
673dd6312b
fluent api for installer options
12 years ago
Jordi Boggiano
5f2e42ec46
CS fixes, made EventDispatcher optional in factory method
12 years ago
Beau Simensen
8a7d31706d
Renamed Composer\Install to Composer\Installer
12 years ago
Beau Simensen
9404d8d593
Constructor, factory
12 years ago
Beau Simensen
d1dea702c9
Moving install related code to Composer\Install
12 years ago
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
13 years ago
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
13 years ago
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
13 years ago
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
13 years ago
Jordi Boggiano
82054f2060
Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version
13 years ago
Nils Adermann
de1765aa48
Remove workaround error detection in install command
13 years ago
Jordi Boggiano
621388e3be
Fix warning when no package to update is found
13 years ago
Nils Adermann
39aa5c0752
Merge pull request #329 from Seldaek/new_dev
...
[BC Break] New dev handling
13 years ago
Jordi Boggiano
2976bd82b0
Simplify code
13 years ago
Nils Adermann
509188c112
Use updateAll request method in upddate mode in install command
13 years ago
Jordi Boggiano
c95b4d05fd
Fix forcing of the source-ref from lock file
13 years ago
Jordi Boggiano
4233a4823d
Skip platform repo and only force-update packages that have a new source ref
13 years ago
Jordi Boggiano
646d01658a
Rename source_ref to source-ref
13 years ago
Jordi Boggiano
88b018068c
Force dev packages to update to latest ref on update
13 years ago
Jordi Boggiano
496188f714
Force installs from lock to reinstall dev packages from the exact locked reference
13 years ago
Beau Simensen
81d41fc442
Rename --dev to --prefer-source
13 years ago
Jordi Boggiano
f761bf8d99
Simplify install() signature
13 years ago
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