Jordi Boggiano
a9be7c83f1
Add verification of signatures when running self-update
9 years ago
Jordi Boggiano
3e9efcfb85
Merge remote-tracking branch 'ntoniazzi/master'
9 years ago
Jordi Boggiano
86a911150b
Update bundled CAfile and other cleanups
9 years ago
Jordi Boggiano
f8dff0867c
Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
47b05eab7a
Fix type errors
9 years ago
Nicolas Toniazzi
b6df8549cd
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
9 years ago
Olivier Laviale
cc522c20bb
Optimized this->getIO()
9 years ago
Nicolas Toniazzi
7d63eb5718
Merge remote-tracking branch 'parent/master'
...
Conflicts:
doc/04-schema.md
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Nicolas Toniazzi
865eab602f
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
10 years ago
Padraic Brady
510ec6b91c
A couple of minor omissions from the merge
10 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 years ago
Jérémy Derussé
e7f4014018
Reuse current file permissions
10 years ago
Nicolas Toniazzi
ad9c3d3b30
Merge branch 'master' of https://github.com/composer/composer
...
Conflicts:
src/Composer/Factory.php
10 years ago
Rob Bast
47fd093a44
added --no-progress to self-update
...
closes composer/composer#3555
10 years ago
Nicolas Toniazzi
83a1441285
Added support for backup PHARs
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
Pádraic Brady
9881d76216
Adds Composer\Factory::createRemoteFilesystem():
...
- Implemented in self-update command
- Added to Composer\IO\BaseIO the getInputOption() and getInputArgument() getters to allow access to input
- Fixed some minor bugs
10 years ago
Pádraic Brady
d8cbd9f057
Expand cli TLS options to other commands + misc fixes
10 years ago
Pádraic Brady
83d4e3a940
Fixes from functional testing (need to automate this stuff!)
11 years ago
Pádraic Brady
a2bf14e381
Make disableTls a core RemoteFilesystem option - per method invites human error
11 years ago
Pádraic Brady
0a8180674e
Adding some HTTPS check to diagnose command (stash)
11 years ago
Pádraic Brady
2648064e5a
Some typos/corrections
11 years ago
Pádraic Brady
4d5515190f
Reorder self-update opts and correct requirements
11 years ago
Pádraic Brady
fa6c8eb6c0
Add disable-tls to self-update command as a defined option
11 years ago
Pádraic Brady
ca4b4696b0
Added Exceptions, errors and info messages for self-update command and TLS defaults to RemoteFilesystem
11 years ago
Pádraic Brady
d081aa0784
Restructure self-update http/https decision
...
Error on non-openssl and warn user about setting disable-tls to disable error.
If disable-tls is true, ad an info message about running in non-TLS mode.
11 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