8519 Commits (a066dd9e00e0b703fdd97ccd6f562e1fd0559e25)
 

Author SHA1 Message Date
Fred Emmott bac2ef3dfd
Don't do (new Foo())->bar() - not 5.3-compatible 5 years ago
Jordi Boggiano 27bdda1fd3
Merge pull request #7937 from aboks/defaultrepos-auth
Fix defaultRepos fallback does not use auth config
5 years ago
Arnout Boks 82b010782d Also load config into IO if not freshly created 5 years ago
Arnout Boks e151a6c51c Only load configuration into IO if IO is available 5 years ago
Arnout Boks d1ce9f6246 Fix defaultRepos fallback does not use auth config
When a full 'composer' cannot be constructed (because there is no
local composer.json and no global composer.json), some commands
(e.g. `show -a`) fall back to the default repositories from the
`$COMPOSER_HOME/config.json` file. Without this fix, any auth
configuration from `$COMPOSER_HOME/auth.json` is not used for
these repositories in such a fallback scenario.

Steps to reproduce:

* Configure a password-protected composer repository in
  `$COMPOSER_HOME/config.json`.
* Configure valid credentials for that repository in
  `$COMPOSER_HOME/auth.json`.
* Make sure there is no file `$COMPOSER_HOME/composer.json`.
* Ensure the current working directory has no `composer.json`.
* Run `composer show -a some/package`.

Expected: Information about `some/package` is shown without
needing to enter credentials.

Actual: A prompt "Authentication required" is shown for the
private repository. When running the same command in a dir
that has a `composer.json`, or when `$COMPOSER_HOME/composer.json`
exists, things work as expected.
5 years ago
johnstevenson e085a72f64 Fix mode bitmask when detecting a Windows junction 5 years ago
Jordi Boggiano 19ba2edd5c Add warning/info msg when tweaking disable-tls setting to avoid confusion, fixes #7935 6 years ago
Jordi Boggiano e05fa2368f Merge branch '1.8' 6 years ago
Jordi Boggiano b3182b0f7d Update changelog 6 years ago
Jordi Boggiano 8c93890c48
Merge pull request #7932 from hco/patch-2
Installer: Initialize $nameMatchesRequiredPackage
6 years ago
Jordi Boggiano b75db3ca08
Merge pull request #7934 from IkeLutra/patch-1
Update installer commit to fix SHA384 bug
6 years ago
Will Otterburn 6d58b13ee4
Update installer commit to fix SHA384 bug
Installer linked is affected by #7669
6 years ago
Fred Emmott 1b196720bf
Support identifying the HHVM version when not running with HHVM
hhvm-nightly (and the next release) are no longer able to execute
Composer. Support executing Composer with PHP to install dependencies
for hack projects.

The goal is for this to be temporary, until Hack identifies a new
package manager, given that Composer does not aim to be a multi-language
package manager.

fixes #7734
6 years ago
Hans-Christian Otto 85617aa740
Installer: Initialize $nameMatchesRequiredPackage
We had a case where we got `Undefined variable: nameMatchesRequiredPackage` — I think it should be initialized with false, right?
6 years ago
Jordi Boggiano f42d4d9ede Merge branch '1.8' 6 years ago
Jordi Boggiano 5e35464044 Update changelog 6 years ago
Jordi Boggiano 585535a01d Fix platform package regex 6 years ago
Jordi Boggiano 3d815b288f
Merge pull request #7927 from johnstevenson/update-xdebug-handler
Update xdebug-handler, fixes #7921
6 years ago
Jordi Boggiano 1699e948dd Merge branch '1.8' 6 years ago
Jordi Boggiano 9566b97e6e Update changelog 6 years ago
Jordi Boggiano 79af9d45af Merge branch '1.8' 6 years ago
Jordi Boggiano acea4a4d4d Warn on invalid package name or require/provide/.., fixes #7874 6 years ago
Jordi Boggiano 98a15bc93c Add output for metapackage installs/updates/.. fixes #7586 6 years ago
Jordi Boggiano 11bfe9970f
Merge pull request #7912 from kathyoungaligent/feature/no-api-config
Feature/no api config
6 years ago
Jordi Boggiano 2d7a8c67e8
Doc formatting fixes 6 years ago
Andrew Gillis dec2b5cd50 add gitlab token auth for git clone 6 years ago
Kath Young fbb9d20c33 Adjusted config name to be more descriptive, added documentation 6 years ago
johnstevenson 909d1c430e Update xdebug-handler, fixes #7921 6 years ago
Jordi Boggiano 81de5f82aa Merge branch '1.8' 6 years ago
Michael Käfer e0c44f2a25 Another MB to MiB 6 years ago
Michael Käfer 4765a8f21b MB to MiB
I did not study computer science, so correct me if I'm wrong. But I think you are calculating mebibyte (MiB) not megabyte (MB). Megabyte would be:
... round($valueInByte / 1000 / 1000, 2).'MB ...
Or is there some specific standard you follow? According to https://en.wikipedia.org/wiki/Binary_prefix both calculations (yours and mine) are correct in a way but I find yours to be not completely clear.
6 years ago
Jordi Boggiano 1f97ffdcd7 Add some docs 6 years ago
Sascha Egerer 82ecf95a3c Add PHP 5.3 compatibility 6 years ago
Sascha Egerer 1845adcfbd Fix update whitelist pattern resolving and add more tests 6 years ago
Sascha Egerer dc59af555a Fix invalid call to array_merge 6 years ago
Sascha Egerer 50cb5fe3da Update all whitelist matching root dependencies
The update command can receive a pattern like `vendor/prefix-*`
to update all matching packages.
This has not worked if multiple packages, depending on each other,
where matched to the given pattern. No package has been updated
in this case as only the first package matching the pattern was
added to the whitelist.
6 years ago
Nils Adermann 386382503d Add a test for autoloading if a package is only required via replacing name 6 years ago
Den Girnyk 3b6b63784f Fix: Keep replaced packages for autoload dumping with --no-dev 6 years ago
Jordi Boggiano f599ebf55b
Merge pull request #7925 from localheinz/fix/empty
Fix: Remove empty node
6 years ago
Jordi Boggiano f1297b11bc Merge branch '1.8' 6 years ago
Andreas Möller ea333aa134
Fix: Remove empty node 6 years ago
Jordi Boggiano abcde19022 Document --no-check-all better, fixes #7889 6 years ago
Jordi Boggiano 2200043a43
Merge pull request #7900 from Great-Antique/fix-dumpautoload-no-dev-packages-resolving
Fix: Keep replaced packages for autoload dumping with --no-dev
6 years ago
Jordi Boggiano b7d1f87848 Fix tests 6 years ago
Jordi Boggiano 66a77ed210 Merge branch '1.8' 6 years ago
Jordi Boggiano 02ceb74151 Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 6 years ago
Jordi Boggiano 61bd9f83f1 Merge remote-tracking branch 'Dzhuneyt/6650-disable-cache-argument' 6 years ago
Jordi Boggiano a9aaa25d4c Fix compat with Symfony Process 4.2, fixes #7923 6 years ago
Jordi Boggiano 4fdebb1b69 Merge branch '1.8' 6 years ago
Jordi Boggiano c5cc178375 Update to latest CA bundle 6 years ago