1745 Commits (7d97d54de093f15a6be4442d1aa82a04f5c43e80)

Author SHA1 Message Date
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
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
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
Jordi Boggiano 4998bab944 Show warning if the svn binary is missing 12 years ago
Sander Marechal 4799053ca9 Allow dot in URL scheme
This makes it possible to support SSH2 urls, like ssh2.scp://
See: http://www.php.net/manual/en/wrappers.ssh2.php
12 years ago
Jordi Boggiano c7a13893c7 Merge remote-tracking branch 'mheleniak/rename_reliability' 12 years ago
Joshua Estes 3c5500aa95 updated a few things, works a little nicer, but still not yet to the point where it should be 12 years ago
Joshua Estes 6386921f99 deleted the repository, added a config command that current will just list the config for either file and open vim to edit the file 12 years ago
Jordi Boggiano a5eaba805c Merge pull request #1174 from szeber/master
Mercurial bookmarks support
12 years ago
Arnaud Le Blanc 0119e80c18 added --prefer-dist option to require command 12 years ago
Zsolt Szeberenyi 5201564c0f Added support for hg bookmarks 12 years ago
Joshua Estes 457d0aac94 cleaned up and added more comments 12 years ago
Johannes M. Schmitt 0ddafdbd7e fixed return 12 years ago
Johannes M. Schmitt 7ff550e4a6 fixed some bugs in the validator 12 years ago
Johannes M. Schmitt 4e769e1100 moved some code to a dedicated class 12 years ago
Joshua Estes 7be31e12ec add a repository in either the global config or the local composer.json file 12 years ago
Joshua Estes e416d451c1 blah, don't need that 12 years ago
Joshua Estes ec71674826 added empty configuration command and updated the application class to pull it in for display 12 years ago
Joseph Bielawski 4772db1460 Add missing `use` in HgDriver
Closes #1165
12 years ago
Mateusz Heleniak 91fc635ca5 better rename reliability on Windows - a workaround for random "Access denied" errors 12 years ago
Jordi Boggiano ce31449b2d Fix calls to non existing method, fixes #1154 12 years ago
Jordi Boggiano ba2d7081bc Merge remote-tracking branch 'origin/master' 12 years ago
Jordi Boggiano 027037bb9f Fix dist urls for lock files and hardcoded references 12 years ago
Jordi Boggiano 8a35353e8d Allow dist installs for dev packages that do not have a source setup 12 years ago
Jordi Boggiano beb8e0ab97 Update dist reference as well as source ref 12 years ago
Jordi Boggiano a9afa8bc1f Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
Conflicts:
	src/Composer/Installer.php
	src/Composer/Package/Locker.php
12 years ago
Chris Smith 3281a0b5df Use the locked package for the update operation 12 years ago
Chris Smith 8961c687ee Fix unintentional manipulation of release dates 12 years ago
Jordi Boggiano 6bd7ca0230 Fix typos and simplify code 12 years ago
Jordi Boggiano 35245eb817 Add support for local urls and better error reporting to HgDriver 12 years ago
Martin Hasoň 29034ea3e0 Added support for the root package in the array dumper 12 years ago
Jordi Boggiano 8d7e5cdda5 Fix target-dir with multiple slashes too 12 years ago
Jordi Boggiano f377e9ca87 Fix possible vendor-dir "evasion" via target-dir 12 years ago
Jordi Boggiano ebc9c73008 Merge remote-tracking branch 'TheFootballSocialClub/loader-singleton' 12 years ago
Jordi Boggiano 0929f25945 Fix typo 12 years ago
Alexander M. Turek 6f317b7a6b Switch working directory according to --working-dir option. 12 years ago
Alexander M. Turek 4ac678454d Added --working-dir to definition. 12 years ago
Nils Adermann 3fa9f10184 Merge pull request #1109 from Seldaek/newlock
Use only the locked repository when possible for better performance
12 years ago
Jordi Boggiano 536563dc2a Rename method 12 years ago
Jordi Boggiano 418e876e8a Use only the locked repository when possible for better performance 12 years ago
Nils Adermann cf029cab86 Merge pull request #1108 from Seldaek/newlock
Update lock file to contain the complete package info, fixes #890
12 years ago
Jordi Boggiano 83239aa338 Update lock file to contain the complete package info, fixes #890 12 years ago
Adrien Brault fd58c24a9f ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
Calling ComposerAutoloaderInit::getLoader twice when a package requires a .php file containing functions, lead to the functions to be declared twice, and cause an error.

In my case, using behat + symfony2extension + assetic, the error that occured:

PHP Fatal error:  Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26

Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
12 years ago
Ulrich Kautz ccf2539462 Search only in name 12 years ago
Jordi Boggiano a589a47468 Merge pull request #1088 from mheleniak/bat_file_fix
fixed generated windows proxy file for *.exe
12 years ago
Mateusz Heleniak 4e638009ab fixed generated windows proxy file for *.exe 12 years ago
Jordi Boggiano d3d35f24a1 Trim query strings from dist filenames, fixes #1087 12 years ago
Jordi Boggiano c14826dd1e Fix exception handling when loading repos 12 years ago
Jordi Boggiano 5b9f190bcd Make sure invalid authors are purged 12 years ago
Jordi Boggiano fe4516aff8 Clarify exception messages when a package can not be loaded from a composer repository, fixes #1070 12 years ago
Jordi Boggiano 056dc5d690 Move config to all VcsDownloaders, enforce array for github-protocols 12 years ago
Jordi Boggiano 5b419c76ca Fix tests 12 years ago
Jordi Boggiano 122f66098e Merge remote-tracking branch 'hason/git_config' 12 years ago
Jordi Boggiano 509b8b9853 Merge pull request #1073 from Pawka/f-searchfix
Fatal on: ./composer.phar search something
12 years ago
Jordi Boggiano 20347520f2 Merge pull request #1051 from HosipLan/bug/require-files-in-right-order
Require files in right order
12 years ago