1915 Commits (aefe3a0b11c641f1ecc4f21eeec149254450b2c6)

Author SHA1 Message Date
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
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
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
Martin Hasoň 3b6bd761ec Set protocols for github in composer config file 12 years ago
Jordi Boggiano 07a982f5b9 Merge pull request #1077 from mheleniak/script_errors
scripts in pre-*-cmd which are not found (yet) no longer halt composer
12 years ago
Mateusz Heleniak 1e458072cf scripts in pre-*-cmd which are not found (yet) no longer halt composer 12 years ago
Filip Procházka 80e9999d1c typo 12 years ago
Filip Procházka 9d8db4e148 AutoloadGenerator: respect dependencies, when requiring files 12 years ago
Povilas Balzaravicius Pawka bbac63821c Search: initialize lowMatches as empty array. 12 years ago
Povilas Balzaravicius Pawka 7154ef9af7 search: fixed output error when no results found. 12 years ago
Povilas Balzaravicius Pawka 57d1b5a37d Issue #1056. Fixed callback call error on search command. 12 years ago
Jordi Boggiano 0689e24e83 Update command descriptions, fixes #1068 12 years ago
Christophe Coevoet 9e372b1d8b Simplified the code 12 years ago
Christophe Coevoet d0faa016c1 Refactored the search of suggested packages to support replacements
Fixes #752
12 years ago
Jordi Boggiano 10d1a4382f Only generate lock file when actually necessary, fixes #1064 12 years ago
Jordi Boggiano e0dc045955 Merge pull request #1054 from mheleniak/clean_up_bat_files
Clean up *.bat files when binary is removed
12 years ago
Jordi Boggiano ecda3ea74c Merge pull request #1060 from fabpot/fix-show-command-warning
Fix PHP warning in the show command when using the -s flag
12 years ago
Jordi Boggiano 0932f65a17 Return 7 chars and not 6 for short git hashes, formatting fixes 12 years ago
Jordi Boggiano 338730b19b Merge remote-tracking branch 'zczapran/issue/1043_wrong_output_for_versions_when_updating' 12 years ago
Jordi Boggiano e01a9c564d Fix parsing of stability for lowercased RC versions 12 years ago
Benjamin Lévêque 042d2d4a77 readlink -f is missing on osx
+ osx can't execute a script with an another script
12 years ago
Fabien Potencier b5897b291d Fix PHP warning in the show command when using the -s flag 12 years ago
Mateusz Heleniak 924d39f405 also clean up *.bat files 12 years ago
Mateusz Heleniak be736c745e better exception message 12 years ago
Mateusz Heleniak 6489487245 compare references when using dists 12 years ago
Mateusz Heleniak aa0ff14be5 added --prefer-dist option 12 years ago
Zbigniew Czapran 8d966547a2 removed overkill function isHash as suggested by @stloyd 12 years ago