1
0
Fork 0
Commit Graph

4667 Commits (e821ac2772541cbf5f26d84d036ed29f6e48f13f)

Author SHA1 Message Date
Jordi Boggiano f7a84e423d Merge pull request #3238 from stof/patch-6
Fixed the registration of commands with invalid JSON file
2014-09-05 14:48:10 +01:00
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
2014-09-05 15:17:51 +02:00
jakoch d45996111f docu fix (removed dangling "times." introduced by 22afc074a9) 2014-09-03 17:05:46 +02:00
Richard K Miller 1ee0f28e79 update documentation to work for ZSH or Bash 2014-08-29 13:50:25 -06:00
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
2014-08-28 21:49:57 -06:00
Andrew Kreps fe33d7a347 Updated to reflect new tap names for php in OSX homebrew. 2014-08-15 11:28:18 -07:00
Chris Smith 439095e446 Handle incomplete file write to cache 2014-08-14 00:54:03 +01:00
Chris Smith 6edf40ee96 When $TMPDIR is low on space PHP streams silently fail 2014-08-14 00:53:53 +01:00
David Neilsen 957f498419 Update clear cache command to be more verbose 2014-08-13 09:18:03 +12:00
Nils Adermann 1e27ff5e22 Merge pull request #3196 from thaiphan/master
Update RuleWatchNode.php
2014-08-11 17:46:48 +02:00
Thai Phan e6fdefb869 Update RuleWatchNode.php 2014-08-10 23:13:08 +10:00
jakoch 9d5106e2e3 added stof's php inline example from #3190 to doc/articles/scripts.md 2014-08-06 14:54:43 +02:00
David Neilsen be5eae5852 Clear all the caches 2014-07-31 10:55:59 +12:00
François Pluchino 1067ce4f96 Add installer events 2014-07-29 15:25:16 +02:00
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>
2014-07-28 23:49:46 +02:00
hakre 343d0b5af2 added test removing directory with trailing slash that is symlinked
#3144
#3157
2014-07-28 23:49:44 +02:00
hakre 0ad2449fe8 rmdir needs to be used on windows to remove symbolic links to directories 2014-07-28 23:42:53 +02:00
hakre ed507dec9f added test unlinking directory
#3157
2014-07-28 23:36:04 +02:00
Jordi Boggiano 4ecdbf89c4 Merge pull request #3170 from markuspoerschke/feature/fix-composer-lock
Fixed composer.lock hash
2014-07-28 22:12:27 +02:00
Markus Poerschke f8c6b3c71b Fixed composer.lock hash 2014-07-28 22:08:21 +02:00
Jordi Boggiano ff844b3e14 Load scripts without preloading a composer instance to avoid side-effects, fixes #3155 2014-07-28 12:59:19 +02:00
Amy Boyd 126495e3c8 Update troubeshooting.md to suggest clearing Composer's cache. 2014-07-27 20:32:16 +01:00
Jordi Boggiano 6f80b26c32 Add comment 2014-07-25 14:39:05 +02:00
xelan bddba72e13 Option to disable inclusion of hostname in OAuth app name 2014-07-25 12:37:11 +02:00
Jordi Boggiano 4ebc5c9a08 Add auth helper and reuse it in git downloader 2014-07-24 16:01:42 +02:00
François Pluchino 3dc83277a3 Fix phpdoc 2014-07-23 20:19:29 +02:00
Jordi Boggiano 0ce0cf42e8 Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
Conflicts:
	src/Composer/EventDispatcher/EventDispatcher.php
2014-07-23 19:19:39 +02:00
Jordi Boggiano 904f2830e7 Archive manager tweaks to reduce file path lengths, fixes #2808 2014-07-23 19:03:55 +02:00
Jordi Boggiano 1110074d5f Clean up properly after creating the vendor dir 2014-07-23 19:02:01 +02:00
Jordi Boggiano 4f5d979bee ArchiveCommand improvements 2014-07-23 19:01:22 +02:00
Jordi Boggiano 400f35efde Doc tweak 2014-07-23 19:00:59 +02:00
Jordi Boggiano e5b36827ee Improve scripts docs 2014-07-23 16:47:54 +02:00
Jordi Boggiano 67a016878e Switch working dir before loading composer, fixes #3146 2014-07-23 12:20:18 +02:00
François Pluchino 11b945046f Register plugin only one time when it's present in global and project mode 2014-07-21 15:11:38 +02:00
Jordi Boggiano cec1627acf Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516 2014-07-20 21:55:24 +02:00
Jordi Boggiano de559437ea Update deps 2014-07-20 19:49:28 +02:00
Jordi Boggiano d9d8d09fe1 Add support for local binaries in scripts, refs #2516 2014-07-20 19:46:51 +02:00
Jordi Boggiano 33cedda708 Merge remote-tracking branch 'MaxGfeller/run-script-enhancement' 2014-07-20 19:07:45 +02:00
Jordi Boggiano 4dfa3c469e Fix class map generator handling of missing files 2014-07-20 19:07:31 +02:00
Jordi Boggiano b6ef95ecb8 Add support for opening multiple packages at once, refs #2445 2014-07-20 18:54:16 +02:00
Jordi Boggiano fb5d01d635 Tweak some page titles 2014-07-20 18:47:10 +02:00
Jordi Boggiano 22afc074a9 Add browse command to docs, add a -H flag and tweak fallback mechanism to maximize chances of opening something, refs #2445 2014-07-20 18:46:44 +02:00
Jordi Boggiano e10bf5a172 Merge remote-tracking branch 'digitalkaoz/new_home_command'
Conflicts:
	src/Composer/Console/Application.php
2014-07-20 17:25:50 +02:00
Jordi Boggiano 360c236067 Merge pull request #3137 from dg/pull-spdx
Update SPDX license identifiers to version 1.19
2014-07-20 17:06:45 +02:00
David Grudl c03bcf0103 Update SPDX license identifiers to version 1.19 2014-07-20 16:44:30 +02:00
Jordi Boggiano a227523c4f Fix php_strip_whitespace bugginess, fixes #3030 2014-07-20 00:07:58 +02:00
Jordi Boggiano e3f32a79f3 Finalize and bring up to speed the remove command, refs #2479 2014-07-19 22:21:46 +02:00
Jordi Boggiano 70d9cad549 Merge remote-tracking branch 'pierredup/remove-command'
Conflicts:
	src/Composer/Console/Application.php
2014-07-19 21:47:28 +02:00
Jordi Boggiano 7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano 32a9eebcd6 Merge pull request #3094 from TomK/patch-1
read and discard zero chars to initialise STDIN
2014-07-19 19:48:48 +02:00