1
0
Fork 0
Commit Graph

3289 Commits (81f145111854b8ff07ea55893c2dc25859ed0fd7)

Author SHA1 Message Date
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
Michael Gooden 660861c7fd Update 03-cli.md
Fix small typo.
2013-03-02 13:42:53 +02:00
Jordi Boggiano ab206580f5 Merge remote-tracking branch 'christianjul/master' 2013-03-02 00:05:04 +01:00
Jordi Boggiano 2a23f8c48b Allow create-project to be called in an empty dir that exists, fixes #1135, replaces #1206 2013-03-02 00:01:01 +01:00
Jordi Boggiano f06c0cb580 Code reorgs and make bool values real booleans, refs #1637 2013-03-01 23:47:24 +01:00
Jordi Boggiano 8eb71f5478 Merge remote-tracking branch 'ricardclau/dirty-updates' 2013-03-01 23:35:37 +01:00
Christian Jul Jensen b04dbf5d71 Outout message when trying to update non-installed packages 2013-03-01 14:39:33 +01:00
Ricard Clau 2a2bb6aad6 remove unnecessary else 2013-03-01 10:22:12 +01:00
Jordi Boggiano 98ada572ec Merge pull request #1635 from desarrolla2/patch-1
typo
2013-02-28 11:28:07 -08:00
Ricard Clau 56f4625ec8 check first if there are changes 2013-02-28 19:44:29 +01:00
Ricard Clau 48ac383599 initial steps with new config value, implementation of discard changes for git and svn 2013-02-28 19:02:19 +01:00
Daniel González ed590de8dd typo
I see, that exist a typo error.
2013-02-28 16:56:26 +01:00
Jordi Boggiano c29f3c698e Fix support of aliases combined with reference locked packages, fixes #1631 2013-02-28 10:51:21 +01:00
Jordi Boggiano 57959c096e Clone on travis to avoid ssl issues on 5.3, disallow failures for 5.5 now that its updated 2013-02-27 19:20:07 +01:00
Jordi Boggiano e3f06582e4 Clean up archive downloader, fixes #1630 2013-02-27 19:15:40 +01:00
Jordi Boggiano 1c468e7c02 Fix cs 2013-02-27 17:35:53 +01:00
Jordi Boggiano d3cd6e9692 Merge remote-tracking branch 'tacker/private-repos-failing-with-invalid-credentials' 2013-02-27 17:34:04 +01:00
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
2013-02-27 17:07:13 +01:00
Jordi Boggiano 9f961dca92 Guard against arrays being passed to is_file, fixes #1627 2013-02-27 15:45:04 +01:00
Jordi Boggiano 259a25344d Use the api to get file contents instead of raw.github.com
raw.github does not like the access_token query param
2013-02-27 14:10:28 +01:00
Jordi Boggiano 5454645cf3 Merge pull request #1625 from jappie/master
Fixed the "access_token query param" (5b1f314) fix
2013-02-27 04:36:27 -08:00
Jordi Boggiano 573b7a0fb7 Only downgrade providers but not the notification url 2013-02-27 13:32:21 +01:00