Jordi Boggiano
c6bdf6ca11
Merge remote-tracking branch 'miklosm/iss1675.1'
2013-03-10 13:59:21 +01:00
Jordi Boggiano
cfc8bf0730
Make phar build fails more debuggable
2013-03-10 13:58:49 +01:00
Jordi Boggiano
7ae0dd2a2a
Always install dev requirements when using the require command, fixes #1676
2013-03-10 13:44:54 +01:00
Jordi Boggiano
41392ace56
Check that a repo has no providers when getPackages is called to catch any mis-use
2013-03-10 13:40:54 +01:00
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
2013-03-10 13:40:52 +01:00
Jordi Boggiano
095852933e
Remove code duplication, add support for searchUrl
2013-03-10 13:40:50 +01:00
Miklós Márton
661df121d9
Proposed fix for #1675
2013-03-08 16:06:53 +01:00
Miklós Márton
42346ad837
Fix for ordering problem during package removal resulting dangling symlinks, partially fixes #1675
2013-03-08 15:31:00 +01:00
Jordi Boggiano
c54de4b72f
Merge pull request #1672 from deguif/master
...
Fixed CS
2013-03-07 02:46:02 -08:00
deguif
655dc5f2e8
Fixed CS
2013-03-07 11:42:47 +01:00
Jordi Boggiano
eeaca89fee
Merge pull request #1671 from thomas-gay/master
...
Fixed potential undefined index in ArrayLoader.php
2013-03-07 01:04:21 -08:00
thomas-gay
8534ab1dad
Fixed potential undefined index in ArrayLoader.php
...
A source without a reference is invalid.
2013-03-07 09:55:23 +01:00
Jordi Boggiano
636aa965f7
Fix tests
2013-03-07 09:40:22 +01:00
Jordi Boggiano
71efcc3472
Merge pull request #1670 from igorw/patch-7
...
[docs] Advise users not to specify the version explicitly
2013-03-07 00:34:19 -08:00
Igor Wiedler
1a2026ca2e
[docs] Advise users not to specify the version explicitly
2013-03-07 03:40:20 +01:00
Jordi Boggiano
87a42c2f01
Fix CS
2013-03-06 23:10:03 +01:00
Jordi Boggiano
95a6be2396
Merge remote-tracking branch 'mnishihan/master'
2013-03-06 23:08:36 +01:00
Jordi Boggiano
60204f9227
Fake a dev lock when a non-dev update is made and there are actually no dev requirements
2013-03-06 22:20:03 +01:00
Jordi Boggiano
d1e502d998
Merge pull request #1668 from igorw/patch-6
...
[docs] Link semantic versioning to semver.org
2013-03-06 12:38:56 -08:00
Jordi Boggiano
902312dab6
Merge pull request #1666 from deguif/master
...
Improved error messages in ArrayLoader
2013-03-06 12:35:45 -08:00
Igor Wiedler
d7d0b19e68
[docs] Link semantic versioning to semver.org
2013-03-06 19:45:54 +01:00
deguif
834f0b49e5
Improved error messages in ArrayLoader
...
Added package name to exception message when an error occurred in source or dist keys
2013-03-06 18:08:55 +01:00
Jordi Boggiano
b474944155
Add more output to the profiled runs, refs #1659
2013-03-05 15:21:54 +01:00
Jordi Boggiano
b10bd5f161
Merge pull request #1658 from miklosm/iss553
...
Adds 'prefer-source' option to config
2013-03-05 04:46:36 -08:00
Stephan Hochdörfer
906563451e
Reverted the last changes. Changed logic in callbackGet() method to
...
respect the 401 handling also if STREAM_NOTIFY_FAILURE fires as on my
local machine the handling of STREAM_NOTIFY_AUTH_REQUIRED never got
executed.
2013-03-05 13:34:48 +01:00
Miklós Márton
72a4146383
Scratch 'prefer-source'; 'preferred-install' is the bee's knees
2013-03-05 12:56:09 +01:00
Stephan Hochdörfer
dcdcf57f3f
Moved 401 handling from ComposerRepository to RemoteFilesystem and
...
displaying the url when asking for the credentials.
2013-03-04 22:14:00 +01:00
Miklós Márton
9110c6413e
Minor code reorg to reduce duplication
2013-03-04 20:35:29 +01:00
Miklós Márton
0d81ab7f46
Install/update now uses the new config variable 'prefer-source', fixes #553
2013-03-04 20:29:14 +01:00
Miklós Márton
0f8530ef56
Support for 'prefer-source' config setting, refs #553
2013-03-04 20:27:59 +01:00
Miklós Márton
c92c69b10e
Config option 'prefer-source' added to schema, refs #553
2013-03-04 20:23:55 +01:00
Stephan Hochdörfer
f2afbbac2f
Extended the fetchFile() method of the ComposerRepository class to be
...
able to deal with http basic auth. In case the remote resource responds
with a 401 ask the user for access credentials and retry quering the
resource again.
2013-03-04 12:49:14 -05:00
Jordi Boggiano
0535473c6b
Merge pull request #1655 from miklosm/iss1653
...
Fix for #1653
2013-03-04 08:24:25 -08:00
Jordi Boggiano
a32aa1a305
Fix BC handling of old require-dev, refs #1656
2013-03-04 17:11:13 +01:00
Miklós Márton
40c9584746
Fixes #1653
2013-03-04 16:33:53 +01:00
Tarjei Huse
b79daf4357
Update troubleshooting.md
...
I never thought of looking in the aliases section of the documentation...
2013-03-04 14:17:43 +01:00
Jordi Boggiano
373ff04261
Fetch only non-dev packages from lock if doing a dev update fails due to a previously incomplete lock file, fixes #1650
2013-03-04 12:30:59 +01:00
Jordi Boggiano
2db6fa1d50
Merge branch 'issue1611'
2013-03-04 09:56:43 +01:00
Jordi Boggiano
c95127b80e
Merge pull request #1644 from Seldaek/newdevrequires
...
New require-dev handling
2013-03-04 00:56:12 -08:00
Jordi Boggiano
ea7d79ab03
Make sure platform requirements of the root package are enforced when installing from lock, fixes #1611
2013-03-03 20:05:46 +01:00
Jordi Boggiano
3fd887ffce
Merge remote-tracking branch 'miklosm/iss1347'
2013-03-03 18:03:36 +01:00
Jordi Boggiano
06026d6b93
Add @deprecated note
2013-03-03 17:59:13 +01:00
Jordi Boggiano
c32470c7df
Update docs, fix tests
2013-03-03 17:59:07 +01:00
Miklós Márton
67e5e0588d
Fixes #1347 (new license argument / dialog for init command)
2013-03-03 07:06:29 +01:00
Jordi Boggiano
73adf29602
Purge old dev packages before installing/updating new ones to make sure people do not have issues updating
2013-03-03 02:04:11 +01:00
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
2013-03-03 01:54:14 +01:00
Jordi Boggiano
caf26ac37c
Enable dev mode by default in update command, add a --no-dev flag, fixes #1005
2013-03-03 00:42:22 +01:00
Jordi Boggiano
4207fc3b19
Refactor require-dev handling to use one single repository and a one pass solving, fixes #719 , fixes #1185 , fixes #1330 , fixes #789 , fixes #640
2013-03-03 00:41:12 +01:00
Jordi Boggiano
357f0572d1
Only print ignoring warning when a package is not installed and not required by the root package, fixes #1642
2013-03-02 20:18:38 +01:00
Jordi Boggiano
ea2938339d
Merge pull request #1641 from MichaelGooden/patch-1
...
Update 03-cli.md
2013-03-02 03:53:19 -08:00