johnstevenson
74ba9decdf
Rewrite NoProxyPattern to include IPv6
...
This includes two breaking changes:
- the hostname is not resolved in the case of an IP address.
- a hostname with a trailing period (FQDN) is not matched.
This brings the basic implementation in line with curl behaviour, with
the addition of full IP address and range matching (curl does not
differentiate between IP addresses host names).
The NO_PROXY environment variable can be set to either a comma-separated
list of host names that should not use a proxy, or single asterisk `*`
to match all hosts.
- Port numbers can be included by prefixing the port with a colon `:`.
- IP addresses can be used, but must be enclosed in square brackets
`[...]` if they include a port number.
- IP address ranges can specified in CIDR notation, separating the IP
address and prefix-length with a forward slash `/`.
2019-11-29 20:39:08 +00:00
Jordi Boggiano
67e170eaa8
Merge branch '1.9'
2019-11-23 12:25:23 +01:00
Jordi Boggiano
89f6b2c54c
Merge pull request #8418 from glaubinix/f/github-authentication-behaviour
...
Git: fix authentication handling for private GitHub repositories
2019-11-23 12:24:41 +01:00
Cyril VERLOOP
0bd3f27693
Do not show commit signature for git log.
2019-11-23 12:23:46 +01:00
Jordi Boggiano
0f7a64839e
Merge pull request #8438 from MichaelThessel/master
...
Improve hasPackage() performance
2019-11-23 12:16:51 +01:00
Jordi Boggiano
44cdc37c0c
Invalidate map cache when addPackage/removePackage is called
2019-11-23 12:07:29 +01:00
Stephan Vock
b847115617
Git: fix authentication handling for private GitHub repositories
2019-11-23 12:02:06 +01:00
Jordi Boggiano
919f6ce81e
Merge pull request #8441 from dereuromark/patch-1
...
Fix language.
2019-11-22 14:47:40 +01:00
Mark Sch
a9fec9b972
Fix language.
2019-11-21 23:00:29 +01:00
Jordi Boggiano
539cebb846
Merge pull request #8419 from johnstevenson/fix-14925
...
Fix Windows test regression from commit 149250a
2019-11-21 22:12:14 +01:00
Michael Thessel
96af983700
Fixed map initialization
2019-11-21 10:08:09 -08:00
Michael Thessel
f8010d5220
Improved hasPackage() performance
2019-11-20 14:58:28 -08:00
Jordi Boggiano
6ffd3eb67c
Merge pull request #8432 from kylekatarnls/patch-2
...
Allow Symfony 5
2019-11-17 19:54:17 +01:00
KyleKatarn
b09fef659b
Update composer.lock
2019-11-16 17:58:39 +01:00
Kyle
6c9e2d0b3f
Allow Symfony 5
2019-11-16 17:46:49 +01:00
johnstevenson
7e649fac41
Fix Windows test regression from commit 149250a
...
Commit: 149250ab92
ProcessExecutor::escape handled a false value inconsistently across
platforms, returning an emtpy string on Windows, otherwise `''`. This
is fixed to return `""` on Windows.
The GitDownloaderTest code has been appropriately updated.
2019-11-07 12:50:42 +00:00
Jordi Boggiano
7e92950367
Merge pull request #8407 from localheinz/fix/environment-variables
...
Fix: Add environment variables related to Xdebug to documentation
2019-11-06 11:27:40 +01:00
Jordi Boggiano
28f0d8fcf7
Merge pull request #8406 from localheinz/fix/xdebug
...
Fix: Xdebug vs xdebug
2019-11-06 11:26:20 +01:00
Andreas Möller
f4ff91da6c
Fix: Add environment variables related to Xdebug to documentation
2019-11-03 14:27:22 +01:00
Andreas Möller
f7f7883a5e
Fix: Xdebug vs xdebug
2019-11-03 14:08:14 +01:00
Jordi Boggiano
4e4c38795a
Merge branch '1.9'
2019-11-01 17:29:20 +01:00
Jordi Boggiano
1c012b74a6
Update dependencies
2019-11-01 17:20:09 +01:00
Jordi Boggiano
3496431a6c
Fix PSR warnings for optimized autoloader, refs #8397 , refs #8403
2019-11-01 17:13:02 +01:00
Jordi Boggiano
6a7f8ac335
Merge branch '1.9'
2019-11-01 16:41:16 +01:00
Jordi Boggiano
1a797c16a0
Prepare 1.9.1 changelog
2019-11-01 16:40:34 +01:00
Jordi Boggiano
af86ca1fb3
Output a hint that maybe you are not in the right directory, fixes #8404
2019-11-01 16:32:34 +01:00
Jordi Boggiano
d059d90ecf
Fix PSR warnings for optimized autoloader, refs #8397 , refs #8403
2019-11-01 16:18:42 +01:00
Jordi Boggiano
502b68967a
Fix tests for PSR-fix in optimized autoloader, refs #8397
2019-11-01 15:31:55 +01:00
Jordi Boggiano
c3f034e33b
Fix tests for PSR-fix in optimized autoloader, refs #8397
2019-11-01 15:13:28 +01:00
Jordi Boggiano
f6b8643dcd
Change PSR-fix for optimized autoloader to only warn for now, refs #8397
2019-11-01 14:50:15 +01:00
Jordi Boggiano
050707ed0c
Fix output of dump-autoload command to avoid interfering with warnings, refs #8397
2019-10-30 16:35:13 +01:00
Jordi Boggiano
3a0d05c148
Merge remote-tracking branch 'and800/fix-autoload-opts'
2019-10-30 16:22:44 +01:00
Jordi Boggiano
a0690525b5
Merge branch '1.9'
2019-10-30 15:25:57 +01:00
Jordi Boggiano
149250ab92
Remove credentials from git remotes in cache and vendor dirs
...
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain
Refs #8293
Fixes #3644
Closes #3608
2019-10-30 15:24:53 +01:00
Jordi Boggiano
4e43f849c7
Avoid overwriting credentials with existing ones from git repos, refs #8293
2019-10-30 12:56:08 +01:00
Jordi Boggiano
12184aa9c5
Fix github auth to try https with pwd also, fixes #8356
2019-10-30 12:01:23 +01:00
Jordi Boggiano
b925d06861
Fix gitlab support for basic-auth fallback from ssh URLs
2019-10-30 11:25:00 +01:00
Jordi Boggiano
ae9cc3db58
Avoid clearing the error output during removeDirectory execution, losing git error output, fixes #8351
2019-10-30 10:45:40 +01:00
Nils Adermann
0873c4099b
Merge branch '1.9'
...
* 1.9:
Move test file parsing into try/catch block to avoid phpunit swallowing errors
2019-10-29 23:09:53 +01:00
Nils Adermann
6a335a459c
Move test file parsing into try/catch block to avoid phpunit swallowing errors
2019-10-29 23:08:03 +01:00
Andriy Maletsky
ec293adabc
make optimized autoloader respect PSR standards
2019-10-29 20:36:29 +02:00
Armando Miani
82d939d7f7
Validate composer show with --tree and --path options set ( #8390 )
2019-10-29 15:06:07 +01:00
Jordi Boggiano
8bcacc8a3a
Merge branch '1.9'
2019-10-29 14:24:44 +01:00
MichaelKo
99e23d5263
Don't show root warning for docker containers
...
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
2019-10-29 14:24:33 +01:00
Markus Staab
e47aa38ad4
Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() ( #8393 )
2019-10-29 14:08:33 +01:00
Jordi Boggiano
eea4098f98
Merge branch '1.9'
2019-10-25 14:17:35 +02:00
Andreas Schempp
8cbc595790
Validate schema name, type and version
2019-10-25 14:10:53 +02:00
Jordi Boggiano
4fc6479837
Fix require command to allow working on network mounts, fixes #8231
2019-10-25 14:08:30 +02:00
Jordi Boggiano
46657a8a7f
5.3 support :/
2019-10-24 15:26:55 +02:00
Jordi Boggiano
8d92048c8c
Update safeguard code, fixes #8383
2019-10-24 15:20:14 +02:00