38 Commits (84d4594278baa68f931f5de93c1714baa2cdf830)

Author SHA1 Message Date
Jérémy Derussé e7f4014018 Reuse current file permissions 10 years ago
Rob Bast 47fd093a44 added --no-progress to self-update
closes composer/composer#3555
10 years ago
Jordi Boggiano d97e00643f Fix typo 10 years ago
Jordi Boggiano e890d1bc59 Remove use of glob, fixes #3042 10 years ago
Jordi Boggiano 56c5af8dc4 realpathGlob tweaks, refs #2932 10 years ago
Richard Quadling 443858dae7 Force all glob results to be realpath'd. 10 years ago
Jordi Boggiano 3251f9f1aa Only check phar validity if phar.readonly is false 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Eymen Gunay ad51db7b57 Fixed missing close tags 11 years ago
Jordi Boggiano 6ead35f189 Add version arg, docs for --rollback and reorganize the code, refs #2522 11 years ago
chr0n1x d26355ef65 SelfUpdateCommand: removed unneeded return 11 years ago
chr0n1x 0c76bba8bb SelfUpdateCommand: do not delete old snapshots, allow user to clean them 11 years ago
chr0n1x bc5ce1ce04 SelfUpdateCommand: only use 1 rollback snapshot at a time 11 years ago
chr0n1x 2760221767 SelfUpdateCommand: initial groundwork for --rollback 11 years ago
Dimitrios Kanellopoulos 81820beefc Cache path never ends with '/' 11 years ago
Dimitrios Kanellopoulos 95a9ac880b Check if current dir is writable and if not try the cache dir from settings 11 years ago
Dimitrios Kanellopoulos 9477e015bd Use cache directory when downloading composer.phar
Since there is a cache dir there is no need to populate the project
directory with temp files. Plus the permissions on the project dir
might not allow that.
11 years ago
Jordi Boggiano 05ffc605f1 Ignore chmod failures, fixes #1854 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Phansys b992c29eb5 Added earlier permission checks in local filesystem before start download. 11 years ago
Gábor Egyed 9358401eed resolve symbolic link in self-update command 11 years ago
Jordi Boggiano ad69d15590 Fix self-update error handling, fixes #1738 11 years ago
Jordi Boggiano 2e12993c9c Make selfupdate use ssl when possible 12 years ago
Jordi Boggiano 852c369575 Improve error reporting on downloads and copies, refs #1228 12 years ago
Hugo Hamon 33306250f0 [Command] fixed typo in "self-update" command class and added a "selfupdate" alias for the command. 12 years ago
Jordi Boggiano 4a55d85a2d Respect umask in chmod calls 12 years ago
Jordi Boggiano 7f0a0857c0 Catch PharException as well in self-update failures 12 years ago
Jordi Boggiano a9ccfeb548 chmod new file when running self-update 12 years ago
Jordi Boggiano 7b87d2b573 Fix self-update saying the download is corrupt when it isn't 12 years ago
H. Westphal 397fa05c5b Validate the integrity of the downloaded phar before overwriting 12 years ago
Jordi Boggiano 7f65dd7409 Use RemoteFilesystem everywhere we do http requests 12 years ago
Jordi Boggiano 01cb2c5dd7 Fix typo 13 years ago
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 13 years ago
digitalkaoz 6c870e23e0 added search command, colorized ouput, tiny fixes 13 years ago
Jordi Boggiano aacdcb1570 Allow self-update to be called outside of a project context 13 years ago
Igor Wiedler 3c036428de replace current file in self-update command 13 years ago
Igor Wiedler b2f71dcb6a trim getcomposer.org/version output 13 years ago
Igor Wiedler b15ec17a06 implement a self-update command (closes #83) 13 years ago