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
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
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
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
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
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
6 years ago
Jordi Boggiano
ff815bbae7
Merge pull request #7868 from fancyweb/add-helper-set-to-buffer-io
...
feat(buffer-io): add question helper to helper set
6 years ago
Jordi Boggiano
c669269ec0
Merge pull request #7867 from fancyweb/use-precise-helper-set
...
fix(application): use precise helper set
6 years ago
Jordi Boggiano
455b904267
Merge pull request #7909 from xuanquynh/add_alias_of_run_script_command
...
Add alias of run-script command
6 years ago
Jordi Boggiano
40cf7cb2f7
Merge branch '1.8'
6 years ago
Kath Young
8b1f8a4629
Add no-api in the config as an acceptable config
6 years ago
Kath Young
3d1e0e79cc
Allow for no-api for Github to be a composer configuration as well as repo specific
6 years ago
Nguyễn Xuân Quỳnh
bcff704bc5
Add alias of run-script command
6 years ago
Jordi Boggiano
0fca816d8f
Merge pull request #7871 from petecoop/patch-1
...
Fix spelling mistake on Cygwin
6 years ago
Den Girnyk
5b78ea529a
Fix: Keep replaced packages for autoload dumping with --no-dev
6 years ago
Stephan Vock
59360983c6
Archive: cleanup temp dir on download error
6 years ago
Dzhuneyt Ahmed
8c30b12bd9
Added no-cache argument to "composer install" and "composer update"
6 years ago
Dzhuneyt Ahmed
750692227f
Added no-cache argument to "composer install"
6 years ago
fancyweb
a9d6068c57
feat(buffer-io): add the possibility to set user inputs for interactive questions
6 years ago
Pete Cooper
ea48bad401
Fix spelling mistake on Cygwin
6 years ago
fancyweb
45a7b8e1c2
feat(buffer-io): add question helper set
6 years ago
fancyweb
4b2e63704b
fix(application): use precise helper set
6 years ago
Christopher Hertel
e5989fcfe0
adding PHP_BINARY as env var to script execution
6 years ago
bugreportuser
2739fc05e9
Read htaccess-protect as a bool
6 years ago
bugreportuser
767462b409
Move config check after config read
6 years ago
Raphaël Aurières
6725d1d244
Fix docblock.
6 years ago
Raphaël Aurières
a8f27bf097
Fix constant usage to be compatible with PHP 5.3
6 years ago
Raphaël Aurières
3c01faf0e2
Use parameter with default value to set schema file path.
6 years ago
meyerbaptiste
5ce5560040
Fix support for imagemagick <3.3, refs #7762
6 years ago
Jordi Boggiano
489e0d4b12
Add support for imagemagick <3.3, refs #7762
6 years ago
Jordi Boggiano
66d84f60c6
Fix pattern matching for remove wildcard, refs #7715
6 years ago
Jordi Boggiano
dc6027a0ad
Merge remote-tracking branch 'dmanners/remove-all-from-one-vendor'
6 years ago
Jordi Boggiano
85ec111dee
Merge remote-tracking branch 'dmanners/add-chat-option-for-support'
6 years ago
Jordi Boggiano
736c05f66b
Merge remote-tracking branch 'yassine-ah/patch-1'
6 years ago
Jordi Boggiano
b3cbfea36e
Merge branch '1.7'
6 years ago
Jordi Boggiano
acdf8f83f1
Bypass version check for explicitly versioned packages in require command when --no-update is given, fixes #7800
6 years ago
Jordi Boggiano
6e6fb844dd
Avoid validating package name if it has a newline at the end
6 years ago
Shalvah
42e88ac27a
Add interactive option to install dependencies after running init command ( #7521 )
...
* Add interactive option to install dependencies after running init command
* Only ask to install dependencies when dependencies where defined
6 years ago
Elan Ruusamäe
f9234222d1
add lib-imagick to show -p output ( #7762 )
6 years ago
Jérôme Deuchnord
b0b00ad1fa
Call a script recursively with extra parameters ( #7720 )
...
* Added support for calling scripts recursively (fixes #7562 )
6 years ago
Michele Locati
04098153c8
Add support for running composer with phpdbg ( #7798 )
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Mathias Brodala
38a34159ef
Dispatch "post-package-update" event after writing lock ( #7766 )
...
Fixes #7765
6 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago
Jordi Boggiano
ceb3a7a8e8
Merge branch '1.7'
6 years ago
Jordi Boggiano
1898ad12ce
Make sure we chdir back in case update dir is relative, refs #7519
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
Jérôme Tanghe
a51563300c
Warning about the UNIX permissions lost if unzip command is not installed.
...
Some packages provide (such as Symfony Panther or Dusk) executable files, but
as PHP's unzip extension does not handle UNIX permissions, those files will
lose their executable ones.
6 years ago
Jordi Boggiano
284da1487c
Avoid downgrading from error to warning
6 years ago
Ahammar Yassine
da94e4b619
Skip all network-based checks ( #7641 )
...
* Skip all network-based checks
Change the warnings in diagnose to a friendly messages when allow_url_fopen is disabled.
Issue: #7622
6 years ago
Grzegorz Korba
0ee0138bed
Support for ignoring packages in `outdated` command ( #7682 )
...
* Support for ignoring packages in `outdated` command. Fixes #7656
6 years ago
Seven Du
148e503b31
Modified comment block ( #7700 )
...
* Modified comment block
6 years ago
Raffael Comi
3c543b2752
Report "same as actual" version if override package matches actual
6 years ago
Michele Locati
41458c7518
Don't call Symfony ProcessUtils::escapeArgument
6 years ago
Jordi Boggiano
38a63ba05a
Only show path for installed packages, refs #7698
6 years ago
Mariusz Zarzycki
f72e2312dc
Ran php-cs-fixer
6 years ago
Mariusz Zarzycki
77457ca474
Show command respects --path flag
...
Path added to package meta output
6 years ago
Jordi Boggiano
ac524e9bf3
Merge pull request #7760 from deguif/1.7
...
Fix ini_get() for boolean values
6 years ago
Jordi Boggiano
9e6a0bff71
Merge pull request #7658 from fooman/fix-non-zip-file-with-zip-ext
...
Fix regression for artifact repository
6 years ago
Jordi Boggiano
8bead93343
Merge pull request #7648 from NickWilde1990/allow-plugin-commands-from-child-folders
...
Allow plugin commands to be run from child folders like core commands
6 years ago
Jordi Boggiano
359d1318f2
Merge pull request #7703 from glaubinix/t/composer-version-cache
...
Vcs Repository: add option to cache/reuse entire versions
6 years ago
François-Xavier de Guillebon
114217c6e3
Fix ini_get() for boolean values
6 years ago
Jordi Boggiano
11752864eb
Merge pull request #7735 from glaubinix/t/bitbucket-v1-API-deprecation
...
Bitbucket: switch to v2 API
6 years ago
Gabriel Caruso
2805a69e58
Simplify conditions and inline temp variables
6 years ago
Gabriel Caruso
a64b652a6b
Use func_num_args instead of counting on func_get_args
6 years ago
Alexey Kopytko
20107dbf77
Ensure that a missing SSL/TLS protection warning does not pollute STDOUT
...
Fixes #7737
6 years ago
Markus Staab
67e6d6d8a4
diagnose: write warning on stderr
6 years ago
Jordi Boggiano
5d92eea170
Merge pull request #7756 from glaubinix/f/undefined-index-preprocess
...
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock
105477218d
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock
8b8df01336
Bitbucket: fix redirect behaviour
6 years ago
Stephan Vock
23d37eebe6
Fix: undefined index name in VcsRepository
6 years ago
Stephan Vock
819f487b38
Bitbucket: switch to v2 API
6 years ago
David Manners
a1ab75a703
composer/composer#7159 : make the remove command to a regex lookup on package name
...
- if you have multiple vendor modules installed you should be able to do composer remove vendor/* to remove all
- update remove and also remove from alternative type to also do a preg_grep for what the user has inputed
6 years ago
David Manners
96347fbea1
composer/composer#7384 : add chat to support options
...
- update schema documents to note that chat is allowed,
- validate that chat must be a string and a url similar to forum options
6 years ago
Stephan Vock
5f2eefb49b
Vcs Repository: add option to cache/reuse entire versions
6 years ago
Kristof Ringleff, Fooman
2ed573b22d
Combine open zip call with conditional
6 years ago
Kristof Ringleff, Fooman
bcf4e94e8a
Ensure opening the zip was successful before proceeding
6 years ago
Max
4d86414dd1
Use a case insenstive method to check that SHA384 is a supported openssl algorithm
6 years ago
Nick Wilde
14c6c2c99f
Allow plugin commands to be run from child folders as well as core commands
6 years ago
Ahammar Yassine
4a8c416a02
Update ValidateCommand.php
...
Skip publish and lock check even in strict check mode when the user want so.
Example : `composer validate --no-check-lock --strict composer.json`.
Issue : #7624
6 years ago
Jordi Boggiano
af677553cc
Merge branch '1.7'
6 years ago
Jordi Boggiano
0124e7b553
Revert "add removePackage() to RepositoryInterface"
...
This reverts commit cfb0d33c45
.
Fixes #7634
6 years ago
Jordi Boggiano
b441176f21
Merge remote-tracking branch 'origin/1.7'
6 years ago
Stephan Vock
896d801a30
Fix: Bitbucket getChangeDate throws exception for branches containing a slash
6 years ago
Gabriel Caruso
71c8735e11
Use combined assignment operators
6 years ago
Jordi Boggiano
490f3ccd95
Merge remote-tracking branch 'origin/1.7'
6 years ago
Jordi Boggiano
a25d6f6c35
Use local repo for platform checks when possible to avoid surprises, refs #7605
6 years ago
Jordi Boggiano
b99ac8505b
Merge pull request #7605 from lamp-of-god/check-requirements-no-dev
...
Add --no-dev option to check-platform-reqs command (#7314 )
6 years ago
Jordi Boggiano
a1ead0e868
Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
...
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano
92dc2cd9ad
Merge branch '1.7'
6 years ago
Jordi Boggiano
29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
...
Unify Composer concept
6 years ago
Jordi Boggiano
987bd5dd7c
Merge pull request #7590 from staabm/dump-nbclasses
...
Print number of classes contained within the generated classmap
6 years ago
Jordi Boggiano
95840a0ab9
Remove useless curly braces around svn args
6 years ago
Nguyen Xuan Quynh
1191bbc5f4
Unify Composer concept
6 years ago
SeRRg
c279c7ca96
Add --no-dev option to check-platform-reqs command
6 years ago
Markus Staab
4d49fabbc4
Generating -> Generated
6 years ago
Markus Staab
766ceccd00
Print number of classes contained within the generated classmap
...
to give the developer a better feeling about number of dependent classes
6 years ago
Jordi Boggiano
df2f2dc113
Merge branch '1.7'
6 years ago
Christophe Coevoet
e5b948c683
Refactor the handling of conflict rules in the solver
...
Conflict rules are not added in the solver based on the packages loaded in the
solver by require rules, instead of loading remote metadata for them. This has
2 benefits:
- it reduces the number of conflict rules in the solver in case of conflict
rules targetting packages which are not required
- it fixes the behavior of replaces, which is meant to conflict with all
versions of the replaced package, without introducing a performance
regression (this behavior was changed when optimizing composer in the past).
6 years ago
Jordi Boggiano
734735c691
Merge pull request #7574 from seferov/patch-1
...
Remove github API request retries as it is not needed anymore
6 years ago
Pierre du Plessis
33341130a9
Fix typo in variable name in GitHubDriver
6 years ago
Jordi Boggiano
d100620987
Merge branch '1.7'
6 years ago
Jordi Boggiano
bf125295df
Fix escaping of URLs in Perforce and Subversion drivers
6 years ago
Farhad Safarov
4014c914ab
remove Github 404 retries
6 years ago
Jordi Boggiano
0f6b305bd9
Merge branch '1.7'
6 years ago
Jordi Boggiano
3d01ef28fa
Revert "Do not dump source and dist for metapackages"
...
The source/dist reference is needed to operate composer outdated and other functionality
Fixes #7546
This reverts commit 42739e7959
.
6 years ago
Rob Bast
cfb0d33c45
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano
15313209d6
Merge branch '1.7'
6 years ago
Jordi Boggiano
0181f07491
Fix create-project not updating to latest commit when cache is present, fixes #7550
6 years ago
Jordi Boggiano
020d1f88c7
Improve error reporting on global command, fixes #7556
6 years ago
Pierre du Plessis
d65e1c0112
Revert composer.json changes when require process stops
6 years ago
Daniel Karl
849f4eda56
Using cwd for 2nd process-execution (auth) in HgUtils
6 years ago
Alexander Kurilo
5a22a4f1f3
Make surrogate sequences in JSON work on PHP 5.3
...
Fixes #7510
6 years ago
Jordi Boggiano
e718f34ba4
Properly detect rate limit errors on github before outputting messages, fixes #6621
6 years ago
Jordi Boggiano
e7a9bd3362
Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530
6 years ago
Jordi Boggiano
a74b63985e
Avoid filtering dev-require packages when loading plugins/scripts, fixes #7516
6 years ago
Jordi Boggiano
0fdf746ebe
Fix --no-plugins not working in certain edge cases
6 years ago
Jordi Boggiano
73f14c0c7c
Fix output when loading zips from cache, fixes #7498
6 years ago
Rafael Kassner
42739e7959
Do not dump source and dist for metapackages
6 years ago
Jordi Boggiano
de6432f5f0
Show overridden php version in diagnose command, fixes #7497
6 years ago
Nicolas Grekas
a3bbcf9c77
Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions
6 years ago
Jordi Boggiano
9bc578e24a
Fix warning tag name, fixes #7494
6 years ago
Jordi Boggiano
d73aef5c8a
Respect --no-plugins flag when firing pre-command-run event
6 years ago
Jordi Boggiano
8eae15182c
Merge pull request #7487 from staabm/patch-1
...
Fixed typo
6 years ago
Markus Staab
eb94f8346a
Fixed typo
6 years ago
Markus Staab
76bf6bdf97
Fixed typo
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
3f9e85a4c3
Merge remote-tracking branch 'unglud/feature/show-tree-json'
6 years ago
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Jordi Boggiano
2f69739c1a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Rob Bast
0db48b4f2e
addendum to #7428
6 years ago
Jordi Boggiano
d5a9d86ee4
Undo reformatting from #7441
6 years ago
Jordi Boggiano
1983a450b4
Use rawurldecode instead of urldecode, fixes #7407
6 years ago
Jordi Boggiano
145db9ff52
Merge pull request #7478 from staabm/patch-1
...
prevent preg_replace() calls when cache is not enabled
6 years ago
Jordi Boggiano
16af52be8a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Jordi Boggiano
0d92c8df63
Merge pull request #7480 from staabm/patch-3
...
Simplify Rule->getJob()
6 years ago
Jordi Boggiano
71d25851df
Merge pull request #7479 from staabm/patch-2
...
Removed unused variables
6 years ago
Jordi Boggiano
6f56ce062c
Merge pull request #7464 from rellect/composer_i
...
Add `composer i` shorthand for `composer install`
6 years ago
refael iliaguyev
2f347e1347
add alias `u` to the update command
6 years ago
Jordi Boggiano
d64f95b70c
Merge pull request #7475 from Elendev/mercurial-auth-json
...
Add support for authentication with mercurial repositories.
6 years ago
Markus Staab
05499099a0
Simplify Rule->getJob()
6 years ago
Markus Staab
f7a1c34c92
Removed unused variables
6 years ago
Markus Staab
3b647f8686
prevent preg_replace() calls when cache is not enabled
6 years ago
Markus Staab
70a1a6e510
Throw a RuntimeException when glob braces are used but not supported by the OS
6 years ago
Markus Staab
e89d16c47d
GLOB_BRACE is not defined on all platforms
6 years ago
Elendev
ea5644281a
Display the error output in the thrown exception
6 years ago
Elendev
5c2b34a1af
Encode the username correctly (fix typo)
6 years ago
Jordi Boggiano
b3d6a17518
Merge pull request #7444 from inaling/add_repositories_path_glob
...
Add repositories path glob
6 years ago
Jordi Boggiano
3d2b0deb6a
Merge pull request #7402 from m-jch/master
...
composer show options -t and -l do not work together, fixes #7210
6 years ago
Jonas Renaudot
1a725d5e1f
Add support for authentication with mercurial repositories.
6 years ago
Vladimir Reznichenko
6f6d59426d
New finding by Static Code Analysis: revert uniqid() to comply long path requirements
6 years ago
Vladimir Reznichenko
cd39efc72c
New finding by Static Code Analysis
6 years ago
Markus Staab
50565cb0c8
Use variable to call count() less often
6 years ago
Rob
68d468d683
Merge pull request #7450 from staabm/simpler-hash
...
Use a simpler hashing for the Rule2Literal case
6 years ago
Rob
1e9136f086
Merge pull request #7456 from staabm/simpler-equals
...
Specialize Rule2Literal->equals(Rule2Literal) for speedup
6 years ago
Rob
7079cdb70d
Merge pull request #7458 from staabm/patch-3
...
Define variable only when actually used
6 years ago
Rob
b350c09c7e
Merge pull request #7457 from staabm/patch-2
...
Remove unnecessary abs() calls
6 years ago
refael iliaguyev
b63e2de819
add alias `i` to the install command
6 years ago
Markus Staab
86d5de2965
Define variable only when actually used
6 years ago
Markus Staab
42516901f1
Removed another unnecessary abs() call
6 years ago
Markus Staab
0e16dbabde
Removed another unnecessary abs() call
6 years ago
Markus Staab
e3a23f4ae6
Remove unnecessary abs() calls
...
Literal cannot be negative at this point
6 years ago
Markus Staab
7a4937bbcc
Specialize Rule2Literal->equals(Rule2Literal) for speedup
6 years ago
Markus Staab
07383552b3
Temporary save the package-name into a variable
...
this reduces number of unnecessary function calls in the hot path of "composer update"
6 years ago
Markus Staab
0aa7ec2d2c
Use a simpler hashing for the Rule2Literal case
...
this speeds up "composer update" by ~18%
6 years ago
Kazuhiro Inari
354eec76ae
Add repositories path glob
6 years ago
Gabriel Caruso
7d9f8e2247
Improvements
...
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
efajnzilberg
9355ebd3f6
Closing the ZipArchive in ArtifactRepository::getComposerInformation()
6 years ago
Matrosov
7221e4ea4e
Generate tree view before displaying it
...
Add support json tree view
6 years ago
mohsen shafiei
20e89a7621
composer show options -t and -l do not work together, fixes #7210
6 years ago
Théo FIDRY
87646ae689
Hide suggest reason when there is not one
6 years ago
Jordi Boggiano
837ad7c14e
Merge branch '1.6'
6 years ago
Rasmus Schultz
5bae1913ab
swap tests to prevent conflicting error-messages
6 years ago
Rasmus Schultz
07867724d0
add back the warning about missing unzip
...
display an error-message on non-Windows OS if unzip is unavailable, per #7383
6 years ago
Jordi Boggiano
0a27ca7b65
Make sure circular dependencies do not break the autoload dumper, refs #7316 , refs #7348
6 years ago
Jordi Boggiano
3fb2a054a7
Merge pull request #7357 from Toflar/better-solver-debug-output
...
Improve SAT resolving developer debug information
6 years ago
Jeroen Ketelaar
6ff74d3ed1
[BUGFIX] Fixed typo in comment
6 years ago
Jordi Boggiano
b8989796bf
Merge branch '1.6'
6 years ago
Jordi Boggiano
eedbd218f5
Make sure circular dependencies do not break the autoload dumper, refs #7316 , refs #7348
6 years ago
Yanick Witschi
d82bdc04ac
Improved debugging output
6 years ago
Rob
1016cf19b2
Merge pull request #7351 from zefrog/fix-git-auth-failure-no-tty
...
Fix Git detection of authentication failure when no tty is attached to the process
6 years ago