4480 Commits (4685b4bf495a5aef8e5b5384f52153f92b6994fc)
 

Author SHA1 Message Date
Bastian Hofmann b279dda1c0 Merge branch 'master' of https://github.com/composer/composer 10 years ago
Jordi Boggiano e6165e6495 Tweak rules to allow guessing based on branch aliases and avoid greedy constraints on alpha/beta/RC packages, refs #3096 10 years ago
Jordi Boggiano b7b0901f87 Allow using new code in the init command and avoid initializing the composer instance too early, refs #3096 10 years ago
Jordi Boggiano cf75ec7763 Merge remote-tracking branch 'weaverryan/require-version-select' 10 years ago
Jordi Boggiano 62b5062146 Improve sorting of plugin packages, fixes #3109, refs #2972 10 years ago
Jordi Boggiano 4d522e40fb Load auth when updating a git repo mirror, fixes #3243 10 years ago
Jordi Boggiano 1fff2afa1f Merge pull request #3292 from francoispluchino/fix-format-version-parser
Fix invalid version format
10 years ago
Jordi Boggiano 2c237fdfdf Handle files in Filesystem::copyThenRemove, fixes #3287 10 years ago
François Pluchino 6c6a623229 Fix invalid version format 10 years ago
Philipp a76436bbae Update handling-private-packages-with-satis.md 10 years ago
Jordi Boggiano 2cb64c8a72 Merge pull request #3175 from Petah/clear-cache
Clear all the caches
10 years ago
Bastian Hofmann 204fc207fa Moved config option to not save subversion credentials to repository configuration, added documentation. 10 years ago
Bastian Hofmann 0d0ed59e5c Codestyle fix 10 years ago
Ryan Weaver 895e62e859 Refactoring selection of the "recommended" version (e.g ~1.2) and adding some tests
This also modifies the behavior slightly (from a recommendation by seldaek) to always
propose the minor version of the recommendation (e.g. ~1.2 instead of ~1.2.1).
10 years ago
Ryan Weaver aea2e901a9 Extracting logic into a new class related to selecting the latest version
Also refactored InitCommand slightly so that you can use this "latest version"
functionality when searching for a package as well.
10 years ago
Ryan Weaver 26179cc4b4 [#2492] Prefixed real versions with ~ when guessing the latest version
2.1.0 > ~2.1.0
v2.1.0 -> ~2.1.0
dev-master -> dev-master
10 years ago
Ryan Weaver 58535a62fa [#2492] Automatically using the latest version when requiring a package
This applies to the init and require commands.

Previously:

If you ommitted the version of a library, it prompted you to enter a version.

New Behavior:

If you omit the version, it automatically selects the latest version that is consistent
with your minimum-stability flag.

Is Jordi mentions, this is consistent with how npm works.
10 years ago
Ryan Weaver 947db97e33 [#2492] Removing an unused variable and use statement, fixing phpdoc 10 years ago
Bastian Hofmann b132e4eae0 Added cacheCredentials config flag for saved SVN credentials to control the --no-auth-cache flag
Example config:

{
    "http-basic": {
        "svn.example.com": {
            "username": "user",
            "password": "password",
            "cacheCredentials": false
        }
    }
}
10 years ago
Tomáš Votruba 9efc4d1e9d typo 10 years ago
Jordi Boggiano d79f2b0fd3 Adds warning when the version field is set, fixes composer/packagist#438 10 years ago
Jordi Boggiano 0e409a159c Add toran to docs besides satis 10 years ago
Jordi Boggiano a8adbfeb9f Disallow overriding commands with scripts 10 years ago
Jonathan Klein 7dadd22ea4 Fixing a typo in the scripts documentation 10 years ago
Jordi Boggiano ca8ce161e1 Update jsonlint dep, fixes #3151 10 years ago
Jordi Boggiano d18ac81381 Fix unset order to avoid a warning 10 years ago
Jordi Boggiano f7a84e423d Merge pull request #3238 from stof/patch-6
Fixed the registration of commands with invalid JSON file
10 years ago
Christophe Coevoet e1a3df3dbf Fixed the registration of commands with invalid JSON file
When the JSON file in the current folder is invalid, the registration of custom commands should be ignored rather than breaking the usage of Composer entirely.
Closes #3165
10 years ago
jakoch d45996111f docu fix (removed dangling "times." introduced by 22afc074a9) 10 years ago
Andrew Kreps fe33d7a347 Updated to reflect new tap names for php in OSX homebrew. 10 years ago
David Neilsen 957f498419 Update clear cache command to be more verbose 10 years ago
Nils Adermann 1e27ff5e22 Merge pull request #3196 from thaiphan/master
Update RuleWatchNode.php
10 years ago
Thai Phan e6fdefb869 Update RuleWatchNode.php 10 years ago
jakoch 9d5106e2e3 added stof's php inline example from #3190 to doc/articles/scripts.md 10 years ago
David Neilsen be5eae5852 Clear all the caches 10 years ago
François Pluchino 1067ce4f96 Add installer events 10 years ago
Jordi Boggiano 4ecdbf89c4 Merge pull request #3170 from markuspoerschke/feature/fix-composer-lock
Fixed composer.lock hash
10 years ago
Markus Poerschke f8c6b3c71b Fixed composer.lock hash 10 years ago
Jordi Boggiano ff844b3e14 Load scripts without preloading a composer instance to avoid side-effects, fixes #3155 10 years ago
Jordi Boggiano 6f80b26c32 Add comment 10 years ago
Jordi Boggiano 4ebc5c9a08 Add auth helper and reuse it in git downloader 10 years ago
François Pluchino 3dc83277a3 Fix phpdoc 10 years ago
Jordi Boggiano 0ce0cf42e8 Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
Conflicts:
	src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano 904f2830e7 Archive manager tweaks to reduce file path lengths, fixes #2808 10 years ago
Jordi Boggiano 1110074d5f Clean up properly after creating the vendor dir 10 years ago
Jordi Boggiano 4f5d979bee ArchiveCommand improvements 10 years ago
Jordi Boggiano 400f35efde Doc tweak 10 years ago
Jordi Boggiano e5b36827ee Improve scripts docs 10 years ago
Jordi Boggiano 67a016878e Switch working dir before loading composer, fixes #3146 10 years ago
François Pluchino 11b945046f Register plugin only one time when it's present in global and project mode 10 years ago