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
Kayla Daniels
ec758d95b0
updated package variable in gathering requirements
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
Richard K Miller
1ee0f28e79
update documentation to work for ZSH or Bash
10 years ago
Richard K Miller
553288a384
Very tiny but necessary edit
...
To delete `.git` repos of submodules, `rm -rf vendor/**/.git` doesn't work, but `rm -rf vendor/*/*/.git` does
10 years ago
Andrew Kreps
fe33d7a347
Updated to reflect new tap names for php in OSX homebrew.
10 years ago
Chris Smith
439095e446
Handle incomplete file write to cache
10 years ago
Chris Smith
6edf40ee96
When $TMPDIR is low on space PHP streams silently fail
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
hakre
3e727850ff
unlinking symlinked directories and trailing slashes
...
Filesystem::removeDirectory() didn't detect all symlinked directories
properly due to not resolving pathnames with trailing slashes first.
this commit fixes that issue by resolving pathnames with trailing slashes
by removing those in case they are representing a symlinked directory.
#3144
Reference:
A.4.12 Pathname Resolution - The Open Group Base Specifications Issue 7
IEEE Std 1003.1, 2013 Edition Section
<http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap04.html >
10 years ago
hakre
343d0b5af2
added test removing directory with trailing slash that is symlinked
...
#3144
#3157
10 years ago
hakre
0ad2449fe8
rmdir needs to be used on windows to remove symbolic links to directories
10 years ago
hakre
ed507dec9f
added test unlinking directory
...
#3157
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
Amy Boyd
126495e3c8
Update troubeshooting.md to suggest clearing Composer's cache.
10 years ago
Jordi Boggiano
6f80b26c32
Add comment
10 years ago
xelan
bddba72e13
Option to disable inclusion of hostname in OAuth app name
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