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.
2019-01-28 17:55:13 +01:00
Jordi Boggiano
1f97ffdcd7
Add some docs
2019-01-28 17:54:32 +01:00
Sascha Egerer
82ecf95a3c
Add PHP 5.3 compatibility
2019-01-28 17:34:29 +01:00
Sascha Egerer
1845adcfbd
Fix update whitelist pattern resolving and add more tests
2019-01-28 17:34:24 +01:00
Sascha Egerer
dc59af555a
Fix invalid call to array_merge
2019-01-28 17:34:19 +01:00
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.
2019-01-28 17:34:08 +01:00
Nils Adermann
386382503d
Add a test for autoloading if a package is only required via replacing name
2019-01-28 17:08:51 +01:00
Den Girnyk
3b6b63784f
Fix: Keep replaced packages for autoload dumping with --no-dev
2019-01-28 17:02:32 +01:00
Jordi Boggiano
f599ebf55b
Merge pull request #7925 from localheinz/fix/empty
...
Fix: Remove empty node
2019-01-28 16:58:13 +01:00
Jordi Boggiano
f1297b11bc
Merge branch '1.8'
2019-01-28 16:56:40 +01:00
Andreas Möller
ea333aa134
Fix: Remove empty node
2019-01-28 16:47:33 +01:00
Jordi Boggiano
abcde19022
Document --no-check-all better, fixes #7889
2019-01-28 16:17:46 +01:00
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
2019-01-28 15:52:43 +01:00
Jordi Boggiano
b7d1f87848
Fix tests
2019-01-28 15:44:21 +01:00
Jordi Boggiano
66a77ed210
Merge branch '1.8'
2019-01-28 15:29:45 +01:00
Jordi Boggiano
02ceb74151
Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880 , refs #6650
2019-01-28 15:29:37 +01:00
Jordi Boggiano
61bd9f83f1
Merge remote-tracking branch 'Dzhuneyt/6650-disable-cache-argument'
2019-01-28 15:19:48 +01:00
Jordi Boggiano
a9aaa25d4c
Fix compat with Symfony Process 4.2, fixes #7923
2019-01-28 14:46:34 +01:00
Jordi Boggiano
0b928b2a42
Merge branch 'master' into 2.0
2019-01-28 14:33:10 +01:00
Jordi Boggiano
4fdebb1b69
Merge branch '1.8'
2019-01-28 14:31:31 +01:00
Jordi Boggiano
c5cc178375
Update to latest CA bundle
2019-01-28 14:31:16 +01:00
Jordi Boggiano
fa8d33d0ed
Merge pull request #7869 from fancyweb/add-interactive-inputs-to-buffer-io
...
feat(buffer-io): add the possibility to set user inputs for interactive questions
2019-01-28 14:31:02 +01:00
Jordi Boggiano
ff815bbae7
Merge pull request #7868 from fancyweb/add-helper-set-to-buffer-io
...
feat(buffer-io): add question helper to helper set
2019-01-28 13:46:01 +01:00
Jordi Boggiano
c669269ec0
Merge pull request #7867 from fancyweb/use-precise-helper-set
...
fix(application): use precise helper set
2019-01-28 13:45:27 +01:00
Jordi Boggiano
455b904267
Merge pull request #7909 from xuanquynh/add_alias_of_run_script_command
...
Add alias of run-script command
2019-01-28 11:01:17 +01:00
Jordi Boggiano
40cf7cb2f7
Merge branch '1.8'
2019-01-28 11:00:29 +01:00
Jordi Boggiano
d2085936fe
Merge pull request #7897 from glaubinix/f/cleanup-tmp-dir
...
Archive: cleanup temp dir on download error
2019-01-28 10:34:26 +01:00
Nils Adermann
9f18b54cb6
Merge pull request #7904 from Seldaek/multi-curl
...
Parallel downloads
2019-01-24 15:44:11 +01:00
Kath Young
8b1f8a4629
Add no-api in the config as an acceptable config
2019-01-22 11:22:55 +10:30
Kath Young
3d1e0e79cc
Allow for no-api for Github to be a composer configuration as well as repo specific
2019-01-22 11:18:35 +10:30
Nguyễn Xuân Quỳnh
bcff704bc5
Add alias of run-script command
2019-01-21 11:09:52 +07:00
Jordi Boggiano
0fca816d8f
Merge pull request #7871 from petecoop/patch-1
...
Fix spelling mistake on Cygwin
2019-01-19 19:04:28 +01:00
Jordi Boggiano
8b90aadbe0
Merge pull request #7857 from chr-hertel/feature/php-exec-path
...
Adding PHP_BINARY as env var to script execution
2019-01-19 18:47:33 +01:00
Jordi Boggiano
177536d004
Merge pull request #7886 from kaznovac/patch-1
...
expose compile script call to composer.json
2019-01-19 18:44:06 +01:00
Jordi Boggiano
37550ce44b
Add support for new minified format
2019-01-18 18:49:45 +01:00
Jordi Boggiano
f54237159d
Cleanups
2019-01-18 12:14:47 +01:00
Jordi Boggiano
bb2f64c7bc
Remove ability to override the entire HttpDownloader instance in PRE_FILE_DOWNLOAD events
2019-01-18 12:14:37 +01:00
Jordi Boggiano
549ccd8f79
Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901
2019-01-18 11:48:51 +01:00
Den Girnyk
5b78ea529a
Fix: Keep replaced packages for autoload dumping with --no-dev
2019-01-18 11:45:35 +02:00
Jordi Boggiano
ea978ee7f8
Update react/promise requirement
2019-01-18 08:46:46 +01:00
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
2019-01-18 08:39:03 +01:00
Stephan Vock
59360983c6
Archive: cleanup temp dir on download error
2019-01-17 13:08:51 +01:00
Jordi Boggiano
0f2f950cb6
Add available-packages key for new repo format, and many consistency tweaks/fixes across various repo formats
2019-01-15 11:40:49 +01:00
Jordi Boggiano
c97b7a9be5
Fix implementation of filterPackages
2019-01-14 17:29:24 +01:00
Jordi Boggiano
fd5c5ff6bc
Fix implementation of whatProvides for older provider-only repos
2019-01-14 17:29:24 +01:00
Jordi Boggiano
4b7658a2a8
Small tweaks and make sure composer fails properly in a plane
2019-01-14 17:29:24 +01:00
Jordi Boggiano
a5d5270a7e
Make sure other providers of a name are never loaded
2019-01-14 17:29:24 +01:00
Jordi Boggiano
137c32e72e
Do not prohibit http for old provider URLs on .org in case they are used
2019-01-14 17:29:24 +01:00
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
2019-01-14 17:29:24 +01:00
Jordi Boggiano
14d6bcedda
Fix redirect handling and some output tweaks
2019-01-14 17:29:24 +01:00