Jordi Boggiano
cf0753e062
Initialize config if it does not exist yet
2012-10-18 18:18:40 +02:00
Jordi Boggiano
fa89ef75e4
Remove unused use statements
2012-10-18 17:45:26 +02:00
Jordi Boggiano
1df17a4b51
Merge branch 'oauth', fixes #423
2012-10-18 17:43:14 +02:00
Ulrich Kautz
4f4cbc17d9
Added "--prefer-dist" option to create-project command
2012-10-18 17:38:09 +02:00
Jordi Boggiano
7d4857fc5b
Catch all 4**/5** responses
2012-10-18 17:09:38 +02:00
Jordi Boggiano
32282e7461
Add hostname to the OAuth app name
2012-10-18 17:08:34 +02:00
Jordi Boggiano
a9811c4e40
Store and reload the github token to/from the config
2012-10-18 16:48:44 +02:00
Jordi Boggiano
503234451b
Simplify ConfigCommand to use the JsonConfigSource
2012-10-18 16:48:43 +02:00
Jordi Boggiano
e410da786e
Add ConfigSourceInterface and matching class
2012-10-18 16:48:42 +02:00
Jordi Boggiano
3b01d26d67
Swap user credentials for an OAuth token from GitHub
2012-10-18 16:48:42 +02:00
Thomas Adam
1bd5d88b02
quick workaround for Github API limit
2012-10-18 16:48:41 +02:00
Jordi Boggiano
3742459a41
Infer stability flags and parse references for aliased packages as well
2012-10-18 15:13:32 +02:00
Jordi Boggiano
5978197b5d
Reset package IDs before they can be used in the pool in case there are already some in the cache
2012-10-18 12:57:55 +02:00
Jordi Boggiano
ee0cd07468
CS fixes
2012-10-18 10:35:06 +02:00
Jordi Boggiano
852c369575
Improve error reporting on downloads and copies, refs #1228
2012-10-18 10:30:32 +02:00
Jordi Boggiano
247d1aca41
Avoid double slashes if HOME ends with a slash, fixes #1227
2012-10-18 09:40:35 +02:00
Jordi Boggiano
8949d43dca
Remove VCS info from the root dir only, fixes #1229
2012-10-18 09:36:34 +02:00
Jordi Boggiano
e79e7dcd8d
Merge remote-tracking branch 'hason/classgenerator'
2012-10-17 17:19:23 +02:00
Jordi Boggiano
f752b29fc6
Always make sure we are on the right branch
2012-10-17 17:15:49 +02:00
Martin Hasoň
9582a8abfa
Added tests for consistency of data in AutoloadGenerator::sortPackageMap
2012-10-17 12:03:52 +02:00
Martin Hasoň
1ff1b8ac1f
Sorted generated classmap
2012-10-17 12:00:45 +02:00
Jordi Boggiano
110044c3ea
Fix up create-project command
2012-10-17 11:29:26 +02:00
Jordi Boggiano
2a0e783c42
Merge remote-tracking branch 'lyrixx/create-project-delete-vcs'
...
Conflicts:
composer.json
composer.lock
2012-10-17 11:05:13 +02:00
Martin Hasoň
c63f0d9642
Preserved original position of package if required packages are before this
2012-10-17 10:50:53 +02:00
Jordi Boggiano
3068f29b4f
Checkout branch by name when the current reference matches the branch tip, fixes #1164
2012-10-17 10:49:54 +02:00
Jordi Boggiano
0c3371b30f
Merge pull request #1220 from compwright/patch-1
...
English corrections and clarifications
2012-10-17 00:52:20 -07:00
Jordi Boggiano
6cd838a0d7
Merge pull request #1222 from compwright/patch-3
...
Minor English and readability improvements
2012-10-17 00:49:43 -07:00
Jordi Boggiano
6e647fa111
Merge pull request #1221 from compwright/patch-2
...
Minor English correction
2012-10-17 00:47:34 -07:00
Martin Hasoň
e75abcbb41
Fixed order of packages in the classmap autoloader
2012-10-17 01:40:15 +02:00
Martin Hasoň
b7f96d5dc3
Fixed autoloader generator
2012-10-17 01:18:22 +02:00
Martin Hasoň
b683aeb586
Fix expected values in tests for autoloader generator
2012-10-17 01:00:11 +02:00
Jonathon Hill
dee785cc81
Minor English and readability improvements
2012-10-16 15:49:01 -03:00
Jonathon Hill
a83a4e7e8f
Minor English correction
2012-10-16 15:38:12 -03:00
Jonathon Hill
02d5d5219b
English corrections and clarifications
...
Updated the PEAR `vendor-alias` documentation for clarity and proper English
2012-10-16 15:32:07 -03:00
Jordi Boggiano
d8387ddbdd
Rollback process component to 2.1.1
2012-10-16 13:49:21 +02:00
Jordi Boggiano
ad4eb72d87
Merge pull request #1218 from hinikato/autoloader_map_fix
...
Fixed class normalization for class map case.
2012-10-16 04:32:49 -07:00
hinikato
1989479634
Fixed class normalization for class map case.
2012-10-16 13:59:33 +03:00
Jordi Boggiano
9869e82df7
Update vendors
2012-10-16 10:49:05 +02:00
Grégoire Pineau
1dd04cb715
Removed useless code
2012-10-15 19:48:50 +02:00
Grégoire Pineau
6f9c3427b6
Create-project command remove all VCS history
...
In fact, there are some issues with create-project command.
When people create project with composer, they do not think to
delete main .git folder. So they embed 3th history in theirs own
repository. (see
https://connect.sensiolabs.com/profile/jmoati/project/gitoliteadmin
for instance)
More over, people may not use git.
2012-10-15 19:47:08 +02:00
Jordi Boggiano
0175ba973c
Merge pull request #1211 from stof/patch-4
...
Fixed the help of the config command
2012-10-15 05:49:43 -07:00
Jordi Boggiano
541bcabbc0
Actually check the hash after downloading
2012-10-15 14:37:27 +02:00
Christophe Coevoet
c322476343
Fixed the help of the config command
2012-10-15 15:30:44 +03:00
Jordi Boggiano
dc7c0339c2
Merge pull request #1210 from pbowyer/patch-1
...
Update monlolog to 1.2.*
2012-10-15 05:17:07 -07:00
Peter Bowyer
03c5d9c75b
Update monlolog to 1.2.*
...
I slavishly followed these instructions when learning how to use Composer, then wondered why Monolog didn't behave per its documentation (`addNotice()` is missing in 1.0.*)
2012-10-15 13:12:30 +02:00
Jordi Boggiano
61a3c50436
Fix version guessing when used on feature branches
2012-10-15 12:00:22 +02:00
Jordi Boggiano
59edd4e6d6
Show version in composer show --self
2012-10-15 12:00:21 +02:00
Jordi Boggiano
6a03e4f9ac
Code optimizations: Avoiding counting repeatedly
2012-10-14 16:58:00 +02:00
Jordi Boggiano
beb9a5bd72
Code optimizations: avoid loops in match()
2012-10-14 16:35:32 +02:00
Jordi Boggiano
21a0ae9cad
Cache whatProvide calls
2012-10-14 16:34:17 +02:00