Jordi Boggiano
852c369575
Improve error reporting on downloads and copies, refs #1228
12 years ago
Jordi Boggiano
b3077bc4bc
Merge pull request #1177 from sandermarechal/stream-context
...
Allow setting stream context options
12 years ago
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
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Tom Klingenberg
58a8ff80e3
Cont. code simplification & better tests.
12 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
12 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
12 years ago
Jordi Boggiano
c754f96677
Removed last password/username from IOInterface
12 years ago
Jordi Boggiano
072f4397a0
Fix default options handling in StreamContextFactory
12 years ago
Maxim Chernyshev
5294cb222c
Precious community feedback-based refactoring
12 years ago
Maxim Chernyshev
1ae0a1b7af
Follow-up coding standard fixes
12 years ago
Maxim Chernyshev
37476eb61f
Fixed indentation
12 years ago
Maxim Chernyshev
8918551f29
Simplified proxy port determination and passed tests
12 years ago
Maxim Chernyshev
2ca50a1ef3
Merged in upstream
12 years ago
Maxim Chernyshev
419a1cedf0
Proxy credentials are now passed as part of HTTP headers
12 years ago
Danny Berger
e7ba0c38a8
Add default http(s) ports to proxy configuration if they are missing.
12 years ago
Jordi Boggiano
5c5f87008f
Report proper error if a write fails instead of saying the download failed
12 years ago
Jordi Boggiano
5c644552b2
Warn users about having scream enabled, fixes #543
12 years ago
Jordi Boggiano
9371253e38
Fail hard if a package can not be properly removed
12 years ago
Jordi Boggiano
9ed06f8853
Output svn output to user in verbose mode
12 years ago
Jordi Boggiano
7285536737
Fix exception handling
12 years ago
Jordi Boggiano
1e2223bcdb
Add note for improvement of Svn util
12 years ago
Jordi Boggiano
5a7abfd84f
Remove code duplication in Svn classes
12 years ago
Jordi Boggiano
862d4af274
Cache credentials by default since that's the default svn behavior
12 years ago
Jordi Boggiano
8fb9c4bf3b
Svn related coding style/consistency fixes and minor improvements
12 years ago
Jordi Boggiano
da649fdc79
Remove unused pipe argument
12 years ago
Jordi Boggiano
ab9fc59d30
Add missing license headers
12 years ago
Jordi Boggiano
6c2b78a669
Merge remote-tracking branch 'till/svn-auth-reloaded'
12 years ago
Jordi Boggiano
5f30206c69
Merge remote-tracking branch 'hason/classloader'
12 years ago