Jordi Boggiano
22c7d4119f
install and create-project now default to dev mode (use --no-dev for production installs)
11 years ago
Jordi Boggiano
3b97e2e260
Add support for new verbosity levels, and initial debug output
11 years ago
Miklós Márton
72a4146383
Scratch 'prefer-source'; 'preferred-install' is the bee's knees
11 years ago
Miklós Márton
0d81ab7f46
Install/update now uses the new config variable 'prefer-source', fixes #553
11 years ago
Jordi Boggiano
caf26ac37c
Enable dev mode by default in update command, add a --no-dev flag, fixes #1005
11 years ago
Galymzhan
f59181d7d5
add support for --no-progress, fixes #621
12 years ago
Jordi Boggiano
f3bfeb3608
Rename --optimize-autoloaders to --optimize-autoloader since there is just one
12 years ago
Sebastian Krebs
578a216343
Add shorthand '-o'-option for '--optimize-autoloaders'
12 years ago
Sebastian Krebs
d3aaeb21da
Allow autoloader optimization right from 'install'
12 years ago
Jordi Boggiano
a9afa8bc1f
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
...
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
12 years ago
Jordi Boggiano
0689e24e83
Update command descriptions, fixes #1068
12 years ago
Mateusz Heleniak
aa0ff14be5
added --prefer-dist option
12 years ago
Jordi Boggiano
4d84f62cd9
Improve consistency and formatting of verbose output for update/install
12 years ago
Johannes M. Schmitt
ec74e422f4
added no-custom-installers option to install/update command
12 years ago
Jordi Boggiano
1095d84256
Rename --skip-scripts to --no-scripts
12 years ago
Paweł Jędrzejewski
129884ef72
rename skipScripts to runScripts.
12 years ago
Paweł Jędrzejewski
123dec52fb
typos in command option description.
12 years ago
Paweł Jędrzejewski
cc8b33117a
add --skip-scripts option to install/update commands.
12 years ago
Jordi Boggiano
53191eb0fe
Remove recommend, make suggest informational, add require-dev, fixes #78 , fixes #510
12 years ago
Luis Cordova
f76c65914c
cleaned up some getApplication()->getIO() into getIO()s
12 years ago
Jordi Boggiano
b12e73792c
Handle SolverProblemException nicer
12 years ago
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