1897 Commits (dfb5516af6acd3d389ede92773d0a028ff504403)

Author SHA1 Message Date
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
Pablo Godel 9c59248665 Added exit(1) when 'You must set up the project dependencies' 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
Jordi Boggiano 8403178ddb config --list should only list relevant sections 12 years ago
Jordi Boggiano 4086c24778 Do or do not, there is no try 12 years ago
Jordi Boggiano 17d8dfba1d Allow editing all config values 12 years ago
Jordi Boggiano 1b7906e82d Add --unset flag 12 years ago
Jordi Boggiano d00d7eef7f Use default editors if EDITOR is not set, improve windows compatibility 12 years ago
Jordi Boggiano 0615455087 Clean up syntax/docs & simplify some bits of code 12 years ago
Jordi Boggiano 1a638959c2 Merge remote-tracking branch 'JoshuaEstes/feature/config' 12 years ago
Jordi Boggiano 0a549efd0e Allow interactive resets or stash/apply cycles when updating dirty packages instead of failing hard 12 years ago
John Kary 88650f9333 Add test for intermixing PHP callables and CLI commands in a single event's script stack
Wrapped execution of the PHP callable in its own method in order to mock/test it
12 years ago
John Kary 22cab83bb1 PHP callables cannot containing spaces 12 years ago
Beau Simensen 96a76eeffc Semantic Version Parsing: ~version
Implemented `~` according to #643 and used the following versions
as a test case as defined by @Seldaek:

 * "~1.2.3.4" = ">=1.2.3.4 <1.2.4.0-dev"
 * "~1.2.3" = ">=1.2.3 <1.3.0-dev"
 * "~1.2" = ">=1.2.0 <2.0.0-dev"
 * "~1" = ">=1.0.0 <2.0.0-dev"

Refs #643
12 years ago
John Kary be90496952 Add ability to call CLI-based commands from an event 12 years ago
Jordi Boggiano 62bb5b339b Allow parsing of stability modifiers combined with multi-constraints 12 years ago
Jordi Boggiano b3077bc4bc Merge pull request #1177 from sandermarechal/stream-context
Allow setting stream context options
12 years ago
Sander Marechal 0d9e08f9af Use array_replace_recursive() instead of array_merge_recursive() 12 years ago
Joshua Estes 74c344ffe4 bug fix 12 years ago
Joshua Estes 41bc8fd1b6 updated the help for the command 12 years ago
Joshua Estes ebc67f3191 added the ablity to allow users the option of telling where the file they want to edit/update is 12 years ago
Joshua Estes 2e34ada3f0 updated some of the core functionality, only supports process timeout and repositories 12 years ago
Joshua Estes cec8debcdc added a validate schema function to make sure the user does not enter vomit into the config files 12 years ago
Joshua Estes 7b00dfab4c updated value argument to be array 12 years ago
Sander Marechal 6cf860669f Add repository stream context options
Add support for passing stream context options to the
StreamContextFactory. This allows support for SSH keyfiles, SSL
certificates and much more. Example:

{
    "repositories": [
        {
            "type": "composer",
            "url": "ssh2.sftp://host:22/path/to/packages.json",
            "options": {
                "ssh2": {
                    "username": "composer",
                    "pubkey_file": "/path/to/composer.key.pub",
                    "privkey_file": "/path/to/composer.key"
                }
            }
        }
    ]
}
12 years ago
Jordi Boggiano cb2a0f46a1 Merge remote-tracking branch 'cs278/issue/879-dev-autoload-definitions'
Conflicts:
	src/Composer/Installer.php
12 years ago
Jordi Boggiano e188f69a0f Merge remote-tracking branch 'origin/master' 12 years ago