Jordi Boggiano
e7e04689f1
Add HtmlOutputFormatter
12 years ago
Jordi Boggiano
a7b14952b8
Allow passing a custom output formatter to the BufferIO
12 years ago
Jordi Boggiano
aecf4ffe91
Move creation of custom styles to the factory
12 years ago
Jordi Boggiano
0c61e9d345
Add warning/errors flags to VCS repo output
12 years ago
Jordi Boggiano
dae7f3cee7
Add a way to know if any branch failed loading
12 years ago
Jordi Boggiano
61bd34df55
Make sure error output is clearly visible
12 years ago
Jordi Boggiano
967c771b26
Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches
12 years ago
Jordi Boggiano
99b7ab4021
Rename ArrayIO to BufferIO
12 years ago
Jordi Boggiano
a80001ad97
Allow running the validating array loader with multiple packages
12 years ago
Jordi Boggiano
1682532b80
Update code to use new github archive URLs
12 years ago
Jordi Boggiano
0878c6deab
Fix nodeload fallback URLs
12 years ago
Jordi Boggiano
06a588c197
Show 7 chars of the git hashes everywhere
12 years ago
Jordi Boggiano
6549360dac
Add ArrayIO helper to capture output
12 years ago
Jordi Boggiano
bb701da8c2
Do not overwrite output in verbose mode
12 years ago
Jordi Boggiano
28053504e5
Fix ConsoleIO::isVerbose behavior
12 years ago
Jordi Boggiano
4b531771bd
Add validators for package links and minimum-stability
12 years ago
Jordi Boggiano
6206d0bc9c
Make unix proxies work with spaces in paths
12 years ago
Jordi Boggiano
f8ce52dc7a
Merge remote-tracking branch 'djordje/windows-bat-fix'
12 years ago
Jordi Boggiano
22344f6ad7
Add chainability of disableCustomInstallers
12 years ago
Jordi Boggiano
62bf84fc4f
Rename var
12 years ago
Jordi Boggiano
1c39ad779b
Fix wording
12 years ago
Jordi Boggiano
5d78fa6ce6
Report typos in package name if no version matches
12 years ago
Jordi Boggiano
104e048c07
Merge remote-tracking branch 'hason/composer_repository'
12 years ago
Martin Hasoň
45c1c3f881
Fixed package name for stability test in ComposerRepository
12 years ago
Jordi Boggiano
0568f589fd
Output error only on real errors, not any stderr output
12 years ago
Jordi Boggiano
abe3f2d28f
Merge remote-tracking branch 'bamarni/patch-4'
12 years ago
Jordi Boggiano
f18839c350
Fix var override, fixes #1061
12 years ago
Djordje Kovacevic
d92ccd111d
Fixed library installer windows .bat generator
12 years ago
Bilal Amarni
b10c832be0
fixed a typo
12 years ago
Jordi Boggiano
2b06503027
SvnDriver fixes
12 years ago
Jordi Boggiano
85bbf99817
Fix deletion of vcs dirs, fixes #1260
12 years ago
Jordi Boggiano
711179b2b4
Do not send an empty list of packages to the default policy, fixes #1259
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Pascal Borreli
5eead93250
Fixed typos
12 years ago
Jordi Boggiano
f3bfeb3608
Rename --optimize-autoloaders to --optimize-autoloader since there is just one
12 years ago
Jordi Boggiano
f15d86111d
Merge remote-tracking branch 'KingCrunch/issue/1225'
12 years ago
Jordi Boggiano
9856e9e3f5
Fix selection of best package to force update of dev packages, fixes #1252
12 years ago
Jordi Boggiano
125ff3e4f5
Fix root aliasing with new providers repo format
12 years ago
Jordi Boggiano
a7cc5f187f
Always reset stash change, refs #1254
12 years ago
Jordi Boggiano
cd284733ef
Fix proxy scheme concatenation, fixes #1250
12 years ago
Jordi Boggiano
b8a408883c
Reset state after applying stash, fixes #1254
12 years ago
Sebastian Krebs
578a216343
Add shorthand '-o'-option for '--optimize-autoloaders'
12 years ago
Sebastian Krebs
86518a22d7
Allow autoloader optimization right from 'update' too
12 years ago
Sebastian Krebs
d3aaeb21da
Allow autoloader optimization right from 'install'
12 years ago
Jordi Boggiano
ad9f887edd
Clarify error message to sound less scary until we can guarantee it
12 years ago
Chris Smith
9ed481ef02
Fix handling of legacy Composer repositories
12 years ago
Jordi Boggiano
e887f6cea9
Fix CS
12 years ago
Jordi Boggiano
083ca464b3
Merge remote-tracking branch 'johnkary/cliEvents'
12 years ago
Jordi Boggiano
89d4df990a
Use JsonFile to decode cached entries
12 years ago
Jordi Boggiano
bebd1ce9c7
Always check for OAuth token in git config, fixes #1243
12 years ago
Jordi Boggiano
b4bcc5b5c8
Fix bogus operations that trigger a "package is not installed" exception for dev installs, refs #789
12 years ago
Jordi Boggiano
bd826d7644
Mock local repositories in dry-runs
12 years ago
Jordi Boggiano
85671021c3
Clear id when cloning
12 years ago
Jordi Boggiano
e1e7141ae9
Apply updates in the NoopInstaller
12 years ago
Jordi Boggiano
1760b1e093
Prevent CompositeRepository instances from being nested
12 years ago
Jordi Boggiano
fef3dacdfb
Reset ids of aliased packages as well
12 years ago
Jordi Boggiano
350c7cbb3a
Fix constraints shown in Problem output
12 years ago
Jordi Boggiano
233bdb3863
Use proper pretty string for the aliased constraint
12 years ago
Jordi Boggiano
eceda0ffc7
Fix regression introduced in beb9a5bd72
12 years ago
Jordi Boggiano
76663cf21e
Avoid following the URL to the authorization that was just created, fixes #1238
12 years ago
Wes Mason
169bb2d60e
Use -r option of read shell builtin to avoid escaping of backslashes on password input
12 years ago
Jordi Boggiano
31a1bd2c39
Remove output if the token can be fetched automatically
12 years ago
Jordi Boggiano
c53729793b
Make sure the global config file is only readable by the owner
12 years ago
Jordi Boggiano
7aab7c6297
Fix StreamContextFactory tests
12 years ago
Jordi Boggiano
39e69a3b12
Refactor OAuth acquisition code to generalize it
12 years ago
Jordi Boggiano
bf5f34a114
Merge remote-tracking branch '1stvamp/github-tokens-from-git-config'
12 years ago
Jordi Boggiano
c7b26c8d82
Return 1 if installation of deps failed, fixes #936
12 years ago
Jordi Boggiano
ca1dcc4659
Merge remote-tracking branch 'nbaksalyar/proxy_fix'
12 years ago
Jordi Boggiano
338127ff9c
Disable failure on hash mismatch until it can be proven to work reliably
12 years ago
Jordi Boggiano
3116c979d3
Fix undefined var, fixes #1235
12 years ago
Jordi Boggiano
573e4b2a7c
Merge branch 'newrepo'
12 years ago
Wes Mason
5fb0403276
Use process executor instead of exec to run git config
12 years ago
Wes Mason
1442c1e026
Damnable tabs!
12 years ago
Wes Mason
2cb07dd2fe
Allow use of Github OAuth2 token stored in git config
12 years ago
Nikita Baksalyar
8f0f1e3aac
Fixed an issue with HTTP proxy and PHP 5.4
12 years ago
Jordi Boggiano
a59a5c4581
Merge remote-tracking branch 'simensen/sem-version-support'
12 years ago
Jordi Boggiano
44c271a477
Merge remote-tracking branch 'simensen/less-than-dev'
12 years ago
Jordi Boggiano
ba96f9f6b5
Clarify conditional
12 years ago
Jordi Boggiano
c2d9fa43eb
Merge remote-tracking branch 'fortrabbit/frbit-createprojectdist'
12 years ago
Ulrich Kautz
051118c500
Check for necessity of VCS cleanup when --prefer-dist is used (only project package, so far)
12 years ago
Jordi Boggiano
0a3097c569
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
...
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
12 years ago
Jordi Boggiano
fa3d6c7ce2
Fix originUrl in FileDownloader, refs #423
12 years ago
Jordi Boggiano
a28d53d4c0
Add missing v before checkout branches when needed, refs #1164
12 years ago
Jordi Boggiano
43c21a736c
Send headers as array instead of one big string
12 years ago
Jordi Boggiano
73aea05907
Send source instead of @package_version@ for the composer version in UA
12 years ago
Jordi Boggiano
5051e7a0a2
Only try to authorize when fetching the repo info, not subsequent calls, refs #423
12 years ago
Jordi Boggiano
348ec26c91
Always return false or a class name, fixes #1231
12 years ago
Jordi Boggiano
e0ce22f7cc
Fix tests
12 years ago
Jordi Boggiano
cf0753e062
Initialize config if it does not exist yet
12 years ago
Jordi Boggiano
fa89ef75e4
Remove unused use statements
12 years ago
Ulrich Kautz
4f4cbc17d9
Added "--prefer-dist" option to create-project command
12 years ago
Jordi Boggiano
7d4857fc5b
Catch all 4**/5** responses
12 years ago
Jordi Boggiano
32282e7461
Add hostname to the OAuth app name
12 years ago
Jordi Boggiano
a9811c4e40
Store and reload the github token to/from the config
12 years ago
Jordi Boggiano
503234451b
Simplify ConfigCommand to use the JsonConfigSource
12 years ago
Jordi Boggiano
e410da786e
Add ConfigSourceInterface and matching class
12 years ago
Jordi Boggiano
3b01d26d67
Swap user credentials for an OAuth token from GitHub
12 years ago
Thomas Adam
1bd5d88b02
quick workaround for Github API limit
12 years ago
Jordi Boggiano
3742459a41
Infer stability flags and parse references for aliased packages as well
12 years ago
Jordi Boggiano
5978197b5d
Reset package IDs before they can be used in the pool in case there are already some in the cache
12 years ago
Jordi Boggiano
ee0cd07468
CS fixes
12 years ago
Jordi Boggiano
852c369575
Improve error reporting on downloads and copies, refs #1228
12 years ago
Jordi Boggiano
247d1aca41
Avoid double slashes if HOME ends with a slash, fixes #1227
12 years ago
Jordi Boggiano
8949d43dca
Remove VCS info from the root dir only, fixes #1229
12 years ago
Jordi Boggiano
e79e7dcd8d
Merge remote-tracking branch 'hason/classgenerator'
12 years ago
Jordi Boggiano
f752b29fc6
Always make sure we are on the right branch
12 years ago
Martin Hasoň
9582a8abfa
Added tests for consistency of data in AutoloadGenerator::sortPackageMap
12 years ago
Martin Hasoň
1ff1b8ac1f
Sorted generated classmap
12 years ago
Jordi Boggiano
110044c3ea
Fix up create-project command
12 years ago
Jordi Boggiano
2a0e783c42
Merge remote-tracking branch 'lyrixx/create-project-delete-vcs'
...
Conflicts:
composer.json
composer.lock
12 years ago
Martin Hasoň
c63f0d9642
Preserved original position of package if required packages are before this
12 years ago
Jordi Boggiano
3068f29b4f
Checkout branch by name when the current reference matches the branch tip, fixes #1164
12 years ago
Martin Hasoň
e75abcbb41
Fixed order of packages in the classmap autoloader
12 years ago
Martin Hasoň
b7f96d5dc3
Fixed autoloader generator
12 years ago
hinikato
1989479634
Fixed class normalization for class map case.
12 years ago
Grégoire Pineau
1dd04cb715
Removed useless code
12 years ago
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.
12 years ago
Jordi Boggiano
541bcabbc0
Actually check the hash after downloading
12 years ago
Christophe Coevoet
c322476343
Fixed the help of the config command
12 years ago
Jordi Boggiano
61a3c50436
Fix version guessing when used on feature branches
12 years ago
Jordi Boggiano
59edd4e6d6
Show version in composer show --self
12 years ago
Jordi Boggiano
6a03e4f9ac
Code optimizations: Avoiding counting repeatedly
12 years ago
Jordi Boggiano
beb9a5bd72
Code optimizations: avoid loops in match()
12 years ago
Jordi Boggiano
21a0ae9cad
Cache whatProvide calls
12 years ago
Jordi Boggiano
07f72e9fb6
Add support for provider listings
12 years ago
Jordi Boggiano
a3f9accd37
Fix various dumb issues
12 years ago
Jordi Boggiano
aafc1f7857
Make sure alias package have a repo instance set
12 years ago
Jordi Boggiano
41c7432fef
Do not fetch from repo for packages that obviously can not be there
12 years ago
Jordi Boggiano
9369f48dcd
Fix package id
12 years ago
Jordi Boggiano
18492a1f84
Remove Pool::getMaxId and the solver's reliance on it
12 years ago
Jordi Boggiano
c0e5736ae7
Add support for one-file-per-provider composer repositories
12 years ago
Jordi Boggiano
fde3477563
Report issues in HgDriver as well
12 years ago
Jordi Boggiano
08670e7666
Report errors properly when git driver fails to write in the cache, refs #482
12 years ago
Jordi Boggiano
116b822953
Fix loop and add missing options
12 years ago
Jordi Boggiano
1d80720405
Add retries and failover of all jsons to cache even if the main one worked
12 years ago
Jordi Boggiano
fb296972ef
Enable https for packagist when possible
12 years ago
Jordi Boggiano
55bff36be1
Avoid displaying passwords in git exceptions, fixes #1199
12 years ago
Jordi Boggiano
a8171f5be0
Display prettier messages for second-degree required exts to avoid confusion
12 years ago
Jordi Boggiano
5083f4c685
Merge remote-tracking branch 'iambrosi/show-command-dev'
12 years ago
Jordi Boggiano
84ba1cc098
Fix typo
12 years ago
Ismael Ambrosi
18086aa5e7
Added option to display dev-required packages
12 years ago
Jordi Boggiano
c492476e88
Merge branch 'interactive-dirty-updates'
12 years ago
Jordi Boggiano
ded485dd60
Fix root aliasing and allow aliasing using the branch-alias as source
12 years ago
Beau Simensen
081ead1635
Version Parsing: Consider <x.y.z to be <x.y.z-dev
...
> Consider `<x.y.z` to be `<x.y.z-dev.` Because in 99%
> of the cases that's what the intent is. Could be
> overriden with `<x.y.z-stable`.
- @Seldaek
refs #643
12 years ago
Jordi Boggiano
81a7d40428
Merge remote-tracking branch 'timheil/master'
12 years ago
Jordi Boggiano
4e3f4f24fc
Try to figure out which editor is available on *nix
12 years ago
Jordi Boggiano
3a9c5b3678
Remove dead break statements
12 years ago
Jordi Boggiano
dc033e33d6
Pick longest match always
12 years ago
Jordi Boggiano
a4e5f000d5
Only create the root file empty and error out on missing local files
12 years ago
Jordi Boggiano
5cb9a6ead7
Write in the json directly without reformatting the whole file - skip validation since that is not really the job of the config command
12 years ago