1
0
Fork 0
Commit Graph

138 Commits (672e7d85a1cb2c2c9eaf5f89f33f886ac8b183f8)

Author SHA1 Message Date
Jordi Boggiano 1228c04984 Add support for extra.branch-alias config to remap master on 2.1.x for example 2012-02-23 23:26:31 +01:00
Jordi Boggiano 956b54e516 Use policy rule instead of stacking up another repo to prioritize aliased packages 2012-02-22 09:40:05 +01:00
Jordi Boggiano 59d2b1145c Add lock file alias support and a bunch of fixes 2012-02-21 16:44:49 +01:00
Jordi Boggiano f9fc9695e9 Wrap the package in an aliased package instead of replacing 2012-02-21 15:32:45 +01:00
Jordi Boggiano 82054f2060 Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version 2012-02-21 14:03:24 +01:00
Jordi Boggiano 5eb333680b Rename findPackagesByName to findPackages and allow version arg 2012-02-21 14:02:08 +01:00
Nils Adermann de1765aa48 Remove workaround error detection in install command 2012-02-20 12:24:24 +01:00
Jordi Boggiano 621388e3be Fix warning when no package to update is found 2012-02-20 12:14:44 +01:00
Nils Adermann 39aa5c0752 Merge pull request #329 from Seldaek/new_dev
[BC Break] New dev handling
2012-02-20 01:58:21 -08:00
Jordi Boggiano 2976bd82b0 Simplify code 2012-02-20 09:50:02 +01:00
Nils Adermann 509188c112 Use updateAll request method in upddate mode in install command 2012-02-19 17:14:11 +01:00
Jordi Boggiano c95b4d05fd Fix forcing of the source-ref from lock file 2012-02-19 16:57:36 +01:00
Jordi Boggiano 4233a4823d Skip platform repo and only force-update packages that have a new source ref 2012-02-19 16:57:36 +01:00
Jordi Boggiano 646d01658a Rename source_ref to source-ref 2012-02-19 16:57:35 +01:00
Jordi Boggiano 88b018068c Force dev packages to update to latest ref on update 2012-02-19 16:57:33 +01:00
Jordi Boggiano 496188f714 Force installs from lock to reinstall dev packages from the exact locked reference 2012-02-19 16:57:32 +01:00
Jordi Boggiano fd0bf14eb2 Support both require and requires as depends link-type arg 2012-02-19 15:09:29 +01:00
Jordi Boggiano 1e6633b3c3 Allow search command to work without a composer.json 2012-02-16 20:42:47 +01:00
Jordi Boggiano ee7b68c049 Allow people to manually enter requirements 2012-02-16 20:41:16 +01:00
Jordi Boggiano 9a2204cd74 Improve username detection and other minor fixes 2012-02-16 20:40:57 +01:00
Jordi Boggiano f48cfb4fdf Avoid requirement on composer.json to search for requirements 2012-02-16 20:39:59 +01:00
Jordi Boggiano 23aade21f0 Show empty default value when one is specified 2012-02-16 20:38:43 +01:00
Jordi Boggiano 95883f058c Merge remote-tracking branch 'justinrainbow/init_command' 2012-02-16 19:30:25 +01:00
Jordi Boggiano 01cb2c5dd7 Fix typo 2012-02-16 18:58:25 +01:00
Jordi Boggiano 256bfedea1 Merge remote-tracking branch 'jalliot/proxy2'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/PearRepository.php
2012-02-14 17:01:15 +01:00
Beau Simensen 81d41fc442 Rename --dev to --prefer-source 2012-02-13 13:05:44 -08:00
Justin Rainbow 3a5d09a8b0 Removing the 'writeSection' method from 'DialogHelper' 2012-02-11 17:13:38 -07:00
Justin Rainbow 7a0a1788e3 Moved DialogHelper into the base Application 2012-02-11 17:13:38 -07:00
Justin Rainbow 9ec641659e Validating package name input for init command 2012-02-11 17:13:38 -07:00
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 2fbd9490b1 Adding a requirement definition stage to init command 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 6971657ad0 Merge debug:packages into the show command (if used without package arg) 2012-02-09 16:30:55 +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 f761bf8d99 Simplify install() signature 2012-02-06 13:59:46 +01: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 d52feb1a9f Merge remote-tracking branch 'digitalkaoz/issue_209' 2012-02-05 20:59:30 +01:00
Jordi Boggiano 7add1001ae Refactor scripts 2012-02-05 16:14:25 +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
François Pluchino 2f6a3ce8b9 Add system trigger 2012-01-24 18:08:41 +01:00