Abdouni Abdelkarim
2f69ebc624
Update 01-basic-usage.md
...
Hello,
I add the `php composer.phar dump-autoload` command explicity because i didn't find it on the doc like this.
Cheers 😉
2019-12-06 09:56:16 +01:00
gary houbre
ff3eda6d40
Added Documentation from new alias
2019-12-04 11:41:39 +01:00
Sergii Bondarenko
bb127aa3e7
Resolves #8461 : [ZipDownloader] Print `unzip` exit code when the command is failed
2019-12-03 15:30:08 +04:00
gary houbre
920d690d90
Added new Alias For Clear cache
2019-12-02 18:54:54 +01:00
johnstevenson
00da9b125d
Tidy and fix tests
2019-11-30 15:45:54 +00:00
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
b6673612e0
Allow dev-* versions in schema, refs #8262
2019-11-29 13:29:32 +01:00
Jordi Boggiano
e862650571
Create FUNDING.yml
2019-11-29 10:58:30 +01:00
Yanick Witschi
02b6dc876f
Fixed phpstan issues
2019-11-27 17:57:24 +01:00
Yanick Witschi
d1dc367d86
Removed the filters from the pool
2019-11-27 17:57:24 +01:00
Jordi Boggiano
d12c20db4b
Remove async repo interface, closes #7902
2019-11-24 09:41:02 +01:00
Jordi Boggiano
f2058680a7
Remove unused use statements
2019-11-24 08:46:23 +01:00
Jordi Boggiano
88eb61c1d8
Fix 5.3 syntax
2019-11-23 13:18:09 +01:00
Jordi Boggiano
3b0339802b
Fix install manager usage
2019-11-23 13:12:13 +01:00
Jordi Boggiano
29612e8e8e
Remove dead code
2019-11-23 13:11:19 +01:00
Jordi Boggiano
5c62c7d566
Simplify promise handling
2019-11-23 12:37:17 +01:00
Nils Adermann
a732ea5dd8
Display source/dist refs if updates do not change the version
...
We now output an update when only a source or dist ref changes even if
it's a stable version so in these cases the output needs to contain the
ref to make it clear to users what changed
2019-11-23 12:33:58 +01:00
Jordi Boggiano
88b051c96b
Merge branch 'master' into 2.0
...
Update deps
2019-11-23 12:27:41 +01: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
f288acb1ca
Execute alias operations still
2019-11-23 11:29:50 +01:00
Jordi Boggiano
5725a2db57
Allow all prepare/cleanup/install/update/uninstall operations to return promises to be executed in parallel as well
2019-11-23 11:25:28 +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
Jordi Boggiano
438c45e991
Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output
2019-11-14 15:41:23 +01:00
Nils Adermann
4e7702598e
Always treat changes in dist and source references as updates
2019-11-14 15:33:03 +01:00
Jordi Boggiano
99eb86c506
Avoid outputting "Loading ... from cache" in non-verbose installs
2019-11-14 15:26:25 +01:00
Jordi Boggiano
006985a0ea
Execute all operations at once which lets us download all packages in parallel then install only once all downloads succeeded, fixes #2847
...
This also changes the PRE/POST_PACKAGE_INSTALL/UPDATE/UNINSTALL events to have less information available on them, repositorySet, request and policy are gone
2019-11-14 15:21:28 +01:00
Jordi Boggiano
3b6d517ce0
Return 404s in ComposerRepository when network is disabled instead of failing hard
2019-11-14 09:57:59 +01:00
Jordi Boggiano
eb3e3063b8
Revert "When network is disabled all uncached requests result in 404"
...
This reverts commit c325112670
.
2019-11-14 09:55:57 +01:00
Nils Adermann
7fc0cb021e
Merge pull request #8424 from naderman/multi-conflict-rule
...
New Multi Conflict Rule for transitive conflicts, to reduce memory use by rules
2019-11-12 23:19:34 +01:00
Nils Adermann
28afc4de32
MultiConflictRules cannot be disabled, so no need to check
2019-11-12 23:14:56 +01:00
Nils Adermann
79066931e6
Update exception message for disabling multi conflict rules
2019-11-12 23:14:56 +01:00
Nils Adermann
dc0f2e7e46
Ensure multi conflict rules are only used for 3+ literals
...
Implements the equals method correctly on multi conflict rules. If there
are fewer literals a regular Rule2Literals is enough to represent the
basic conflict rule.
2019-11-12 23:14:56 +01:00
Nils Adermann
ed300b9f22
New Multi Conflict Rule for transitive conflicts, to reduce memory
2019-11-12 23:14:56 +01:00
Nils Adermann
6f9b1e76e3
Remove disableRules code from Solver, leftover from original C code
...
This goes back to an input option to install recommended packages, which
would in turn allow removal of these packages if that was needed to
resolve the rest. This was supported in very early versions of Composer
with suggested packages. We later realized this was not useful in the
context of a project based dependency manager with a lock file, so it
was removed but the solver was never cleaned up.
2019-11-12 23:14:24 +01:00
Nils Adermann
c325112670
When network is disabled all uncached requests result in 404
2019-11-12 22:22:03 +01:00
Nils Adermann
7ef3a31de7
Make TransportException in network disabled case clearer
...
Otherwise it's a bit hard to work out what request triggered the exception
2019-11-12 22:00:02 +01:00
xy2z
a91c946e27
Hide not-yet installed packages from "require" and "init" suggestions
2019-11-12 16:32:04 +01:00
Nils Adermann
aa6bc75af2
Add a test case for transactions to verify correct sorting
2019-11-08 17:51:18 +01:00