Sander Marechal
0d9e08f9af
Use array_replace_recursive() instead of array_merge_recursive()
12 years ago
Sander Marechal
6cf860669f
Add repository stream context options
...
Add support for passing stream context options to the
StreamContextFactory. This allows support for SSH keyfiles, SSL
certificates and much more. Example:
{
"repositories": [
{
"type": "composer",
"url": "ssh2.sftp://host:22/path/to/packages.json",
"options": {
"ssh2": {
"username": "composer",
"pubkey_file": "/path/to/composer.key.pub",
"privkey_file": "/path/to/composer.key"
}
}
}
]
}
12 years ago
Jordi Boggiano
c7a13893c7
Merge remote-tracking branch 'mheleniak/rename_reliability'
12 years ago
Johannes M. Schmitt
0ddafdbd7e
fixed return
12 years ago
Johannes M. Schmitt
7ff550e4a6
fixed some bugs in the validator
12 years ago
Johannes M. Schmitt
4e769e1100
moved some code to a dedicated class
12 years ago
Mateusz Heleniak
91fc635ca5
better rename reliability on Windows - a workaround for random "Access denied" errors
12 years ago
Jordi Boggiano
ef637c8f1a
CS fixes
12 years ago
Jordi Boggiano
a54bf6269e
Improve error messages when network failures occur
12 years ago
Jordi Boggiano
730c76ef85
Merge pull request #940 from schmittjoh/renameError
...
fixes rename bug (closes #900 )
12 years ago
Johannes M. Schmitt
3db8419569
removed reference to exec
12 years ago
Johannes M. Schmitt
e3a93d5c84
switched to use the ProcessExecutor utility class
12 years ago
Johannes M. Schmitt
9f150b1c1e
fixes a bug when root package has a 'files' autoload entry
12 years ago
Johannes M. Schmitt
2a6b12fb65
fixes rename bug ( closes #900 )
12 years ago
WanWizard
e24226162d
fixed getContext() choking on empty HTTP_PROXY environment variable
...
Signed-off-by: WanWizard <wanwizard@wanwizard.eu>
12 years ago
Ismael Ambrosi
b368031657
Fixed typos
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Ph3nol
c64d7b7dc7
PHP doc return tag added to SpdxLicenseIdentifier class method
12 years ago
Jordi Boggiano
b3c395b8d2
Add PHP info to UA string
12 years ago
Jordi Boggiano
3639611bc6
Add OS/Version to UserAgent
12 years ago
Gordon Schmidt
589dffbfbb
changed string to match authorization errors
12 years ago
Jordi Boggiano
c440b4594a
More PSR-2 goodness
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Tom Klingenberg
58a8ff80e3
Cont. code simplification & better tests.
13 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
13 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
13 years ago
Jordi Boggiano
c754f96677
Removed last password/username from IOInterface
13 years ago
Jordi Boggiano
072f4397a0
Fix default options handling in StreamContextFactory
13 years ago
Maxim Chernyshev
5294cb222c
Precious community feedback-based refactoring
13 years ago
Maxim Chernyshev
1ae0a1b7af
Follow-up coding standard fixes
13 years ago
Maxim Chernyshev
37476eb61f
Fixed indentation
13 years ago
Maxim Chernyshev
8918551f29
Simplified proxy port determination and passed tests
13 years ago
Maxim Chernyshev
2ca50a1ef3
Merged in upstream
13 years ago
Maxim Chernyshev
419a1cedf0
Proxy credentials are now passed as part of HTTP headers
13 years ago
Danny Berger
e7ba0c38a8
Add default http(s) ports to proxy configuration if they are missing.
13 years ago
Jordi Boggiano
5c5f87008f
Report proper error if a write fails instead of saying the download failed
13 years ago
Jordi Boggiano
5c644552b2
Warn users about having scream enabled, fixes #543
13 years ago
Jordi Boggiano
9371253e38
Fail hard if a package can not be properly removed
13 years ago
Jordi Boggiano
9ed06f8853
Output svn output to user in verbose mode
13 years ago
Jordi Boggiano
7285536737
Fix exception handling
13 years ago
Jordi Boggiano
1e2223bcdb
Add note for improvement of Svn util
13 years ago
Jordi Boggiano
5a7abfd84f
Remove code duplication in Svn classes
13 years ago
Jordi Boggiano
862d4af274
Cache credentials by default since that's the default svn behavior
13 years ago
Jordi Boggiano
8fb9c4bf3b
Svn related coding style/consistency fixes and minor improvements
13 years ago
Jordi Boggiano
da649fdc79
Remove unused pipe argument
13 years ago
Jordi Boggiano
ab9fc59d30
Add missing license headers
13 years ago
Jordi Boggiano
6c2b78a669
Merge remote-tracking branch 'till/svn-auth-reloaded'
13 years ago
Jordi Boggiano
5f30206c69
Merge remote-tracking branch 'hason/classloader'
13 years ago
till
c6653f0711
* fix up CS suggestions from stof/seldaek
13 years ago
Martin Hasoň
36d9513d7b
Changed parameter name in Filesystem::findShortestPath
13 years ago
till
0d6297f235
* add 'doAuthDance()' to allow code reuse from SvnDownloader and SvnDriver
13 years ago
till
c6566825ad
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
17f90f56eb
* move helper functions to util class
13 years ago
Martin Hasoň
1f8c9eeb6c
Added parameter $inDirectory to method Filesystem::findShortestPath
13 years ago
Mateusz Heleniak
2a9e8350b0
fixed GitDriver - set correct working directory for cli commands
13 years ago
Jordi Boggiano
81fdd790f2
Notes on HTTP_PROXY env var
13 years ago
Jordi Boggiano
31ed0c1fb0
Fix progress display getting stuck at 95%
13 years ago
Jordi Boggiano
22149d3a70
Fix gzip decoding after a redirect
13 years ago
Jordi Boggiano
f98bd971f2
Add Gzip handling to RemoteFilesystem
13 years ago
Jordi Boggiano
51447074c2
Fix wording & co
13 years ago
Jordi Boggiano
a5c2c6c07e
Merge remote-tracking branch 'biozshock/issue225'
13 years ago
Jordi Boggiano
659775a607
Merge remote-tracking branch 'simensen/GitHub404FixPartTwo'
13 years ago
Beau Simensen
ce08b2fc4f
Fix HTTPS through Proxy errors.
13 years ago
Beau Simensen
6efbc7d531
Enhanced GitHub API/Private Repository support
13 years ago
Jordi Boggiano
edf93f1fcc
Fix test & behavior
13 years ago
Jordi Boggiano
89f69256f8
Merge remote-tracking branch 'kostiklv/console-overwrite-fix'
13 years ago
Jordi Boggiano
a4f9e03d35
Add workaround for PHP bug #61336
13 years ago
Jordi Boggiano
3e22084ea4
Overhaul VcsDrivers, introduce TransportException for remote filesystem errors
13 years ago
Jordi Boggiano
8d087f2b2b
Fixes to Filesystem class, avoid removing non-existing dirs and clear stat cache for safety
13 years ago
Konstantin Tjuterev
0b7896cdad
Simplified & fixed ConsoleIO->overwrite, corrected output when downloading with progress
13 years ago
Jordi Boggiano
9bcea6f485
Merge remote-tracking branch 'hason/filedownloader'
13 years ago
Martin Hasoň
303dae7968
Fixed typos and bugs in the RemoteFilesystem class
13 years ago
Dave Marshall
cb3548c64c
Reset the errorOutput before attempting to run command
13 years ago
Dave Marshall
c2421db7d9
Add stderr to exceptions for GitDownloader
13 years ago
Jordi Boggiano
8ba76fe6d2
Boost default timeout to 5min
13 years ago
Martin Hasoň
56c0e511da
Added support for change the process timeout
13 years ago
Jordi Boggiano
4d7ecdcb69
Fix authentication behavior when re-entering get()
13 years ago
Jordi Boggiano
a8aef7e203
Text tweaks
13 years ago
Jordi Boggiano
60fddb2c09
Use parse_url instead of manual parsing
13 years ago
Jordi Boggiano
8b7a64ab28
Limit progress output, mitigates #283
13 years ago
Jordi Boggiano
844c43092f
Fix re-entrant behavior
13 years ago
Jordi Boggiano
db03b7bbbd
Fix line endings
13 years ago
François Pluchino
dbfbbab904
Add changes requested
13 years ago
François Pluchino
2e3eed081a
Merge remote branch 'composer/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
13 years ago
François Pluchino
bc232af018
Bug fix display downloading info
13 years ago
François Pluchino
953f0992f7
Merge callback method of FileDownloader and VcsDriver
...
Required corrections added
13 years ago
Jordi Boggiano
256bfedea1
Merge remote-tracking branch 'jalliot/proxy2'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/PearRepository.php
13 years ago
François Pluchino
9638247e44
Move to Util Class
13 years ago
Jordi Boggiano
5da021ffa7
Moved Filesystem to base Util namespace
13 years ago
Artem Lopata
7d994b5de4
Added ErrorHandler for handling E_NOTICE, E_WARNING, E_ERROR
13 years ago
Jordi Boggiano
702d415472
Fix usage of the ProcessExecutor
13 years ago
Jordan Alliot
b4d87af959
Changed array_merge to array_merge_recursive
13 years ago
Jordan Alliot
468eb0ed8d
Merge default options after buildind proxy one
13 years ago
Jordan Alliot
054faef5eb
New context at each call and possibility to add more options and params to the context
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
Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
13 years ago
digitalkaoz
897ff9126d
seperate class for Process, using this one all over the place
13 years ago