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
Jordi Boggiano
88ae6c023b
Extract archives into temp dir to shorten paths and avoid issues on windows, fixes #1591
2013-02-27 13:31:55 +01:00
Jasper N. Brouwer
4347cb7a55
Fixed the "access_token query param" ( 5b1f314
) fix
2013-02-27 13:23:59 +01:00
Jordi Boggiano
f69418427f
Add lib-ICU platform package
2013-02-27 13:11:35 +01:00
Jordi Boggiano
5b1f3145c2
Update the way github authorization is handled, fixes #1632
...
Since api.github.com redirects to s3 for downloads and s3 does not like Authorization
headers, we have to rely on the access_token query param. Otherwise php follows redirects
but still sends the Authorization header to all following requests.
2013-02-27 12:34:18 +01:00
Jordi Boggiano
15e9c3d101
Show proper error message when a git bitbucket repo is loaded as hg repo, refs composer/packagist#294
2013-02-27 10:54:19 +01:00