1
0
Fork 0
Commit Graph

451 Commits (57e9795455428fa7d79190675d96869142fdef41)

Author SHA1 Message Date
gnito-org 239638e687
Fix minor spelling & grammar issues in docs (#10370) 2021-12-19 15:15:21 +01:00
Helmut Hummel ace8a1776c
Add composer platform package with exact Composer version (#10313)
Co-authored-by: Lars Strojny <lars.strojny@internations.org>
Co-authored-by: Nils Adermann <naderman@naderman.de>
2021-11-27 14:26:57 +01:00
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-11-25 09:53:03 +01:00
Bruno Baguette 0f5f0fb9e1
(Probable) typo fix (#10286)
Isn't "to" missing before "raise awareness" ?
2021-11-17 11:03:48 +01:00
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 2021-11-11 16:13:24 +01:00
Jordi Boggiano 8542321a31
Updates to the troubleshooting docs, refs #10129 2021-11-11 15:18:16 +01:00
Matthias Pigulla abf832aa49
Update what GitHub token scope is needed and what it implies (#10257)
Follows up on https://github.com/composer/composer/pull/10256.
2021-11-08 10:53:12 +01:00
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 2021-10-27 16:18:53 +02:00
Wouter de Jong bb128c465c Capitalize Composer in the docs 2021-10-25 13:11:56 +02:00
Wouter de Jong 6aec6ecbfa Use `composer.phar` consistently in the examples 2021-10-25 13:11:41 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Rodrigo 131d6ade5d
Add alternative to custom installers (#10149)
Taken from composer/installers readme
2021-10-13 22:48:58 +02:00
Ian Dunn b78570055d
Docs: Place general troubleshooting steps in a more logical order
* `self-update` should be run first, because it may affect the results of `diagnose`. 
* `clear-cache` should be run before `update`, otherwise `update` would need to be run again after clearing the cache.
2021-08-31 11:44:46 -07:00
Jordi Boggiano a72784c4da
Merge pull request #10057 from nicholsonjf/docs-double-pipe-note
Note in docs about how single pipes are treated
2021-08-18 12:11:09 +02:00
小克 d9a94b376a
Update the Composer plugin API version to 2.1.0 2021-08-17 18:36:08 +08:00
James Nicholson 2d79f3381b Single pipe note 2021-08-13 13:50:38 -04:00
Jordi Boggiano cbef7b9172
Detect and output a better hint for dependencies on the root package, fixes #9837 2021-05-25 22:47:53 +02:00
timrizzi 6b7f795956
Link to GitLab documentation for auth (#9833)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-05-04 16:05:05 +02:00
Jordi Boggiano 6587715d0f
Merge branch '2.0' 2021-04-20 22:05:32 +02:00
Jordi Boggiano 1fd70de32d
Merge branch '2.0' 2021-04-20 22:03:43 +02:00
Jordi Boggiano 9ed241c809
Use jsonc highlighting 2021-04-19 14:16:39 +02:00
Jordi Boggiano 53a4725dbe
Fix source links, fixes #9836 2021-04-18 23:10:17 +02:00
Jordi Boggiano d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev (#9714) 2021-02-24 21:17:05 +01:00
sink 66ec8b3d92
docs: fix bad URL 2021-02-08 16:56:57 +08:00
Jordi Boggiano b8f9550a2e
Update doc/articles/versions.md 2021-01-25 21:27:43 +01:00
Stephan Vock bb393588ea Docs: explain how Composer gets the stability from a version 2021-01-22 10:04:58 +00:00
Jordi Boggiano 738a89ffe1
Doc tweaks, fixes composer/getcomposer.org#178 2021-01-12 16:19:29 +01:00
Brad Jones 4b2df65833
Clarify difference in create-project related scripts
I wasn't entirely clear the difference between post-root-package-install and post-create-project-cmd, so this is an effort to clarify (as to the best of my understanding.)
2020-11-23 10:41:52 -10:00
Jan Slabon 27339aeaf8
Update authentication-for-private-packages.md
Added some information about encoding of username and password for "Inline http-basic" authentication.
2020-11-18 14:41:27 +01:00
PrinsFrank 3d5be62250
Add article on resolving merge conflicts (#9386) 2020-11-13 15:38:28 +01:00
Karsten Dambekalns 3518dba00f
Mention no-slash requirement for getInstallPath() 2020-11-05 15:17:27 +01:00
Christophe Coevoet 8ee3e106d8
Fix the current plugin api version in the doc 2020-10-26 12:16:11 +01:00
Nils Adermann 8627f1cce6
Clear up plugin doc for modifying downloads 2020-10-25 22:32:44 +01:00
Jordi Boggiano 3dfbd9e9e9
Add plugin-modifies-downloads to docs, refs #9339 2020-10-25 22:07:05 +01:00
schramm-michael 996eb563c0
Update authentication-for-private-packages.md
Typo on line 278
changed cosumer... to consumer-key
2020-10-25 19:05:51 +01:00
Jordi Boggiano 3d1e8b6e75
Apply suggestions from code review
Co-authored-by: Nils Adermann <naderman@naderman.de>
2020-10-25 12:50:13 +01:00
Frank Prins c2a2e48ce9 Add information about dev-dependency of composer/composer to plugin article 2020-10-24 21:20:11 +02:00
Jordi Boggiano b1d2842fa7
Add more backticks for consistency 2020-10-24 18:10:57 +02:00
Dan Wallis 4c424ac32d
Use quotes instead of escaping special characters 2020-10-24 14:37:35 +01:00
Dan Wallis a3f9d300f3
Escape special characters in Markdown files 2020-10-24 11:53:20 +01:00
Jordi Boggiano 0d236858ec
Merge branch '1.10' 2020-10-24 09:59:46 +02:00
Nils Adermann b12b50c679 Docs: Remove unnecessary uses of simple/easy
They only serve to make anyone reading the docs who doesn't find
something as simple or easy as stated feel bad about themselves, they
don't add anything valuable to the docs in these cases.
2020-10-23 21:52:05 +02:00
Michael McMahon d4e818c22f
Setting permissions prevents a warning from swapon
Warning text:
```
/sbin/swapon /var/swap.1
swapon: /var/swap.1: insecure permissions 0644, 0600 suggested.
```
2020-10-22 17:50:35 +00:00
Frank Prins 53b0930287 Move some duplicate documentation, link across multiple pages and clarify some texts 2020-10-13 23:55:17 +02:00
Frank Prins 2c8cbebd85 Update authentication methods in documentation 2020-10-13 23:30:47 +02:00
Jordi Boggiano aac1a25ee3
Merge pull request #9278 from Seldaek/plugin-helpers
Plugin helpers for v2
2020-10-13 15:49:23 +02:00
Jordi Boggiano 3c25d180e6
Add detailed notes about events in upgrade guide, add COMPOSER_DEBUG_EVENTS env var for debugging events 2020-10-13 12:08:42 +02:00
Jordi Boggiano 31cf6788e6
Improve plugin docs 2020-10-13 11:05:37 +02:00
Jordi Boggiano 06ab043f7b
Minor fix, refs #9250 2020-10-12 16:12:48 +02:00
Jordi Boggiano 53de100721
Merge pull request #9250 from PrinsFrank/document-authentication-for-private-packages
Document authentication for private packages
2020-10-12 16:10:11 +02:00
Jordi Boggiano 7ab24bec94
Minor updates 2020-10-12 16:09:21 +02:00
Jordi Boggiano 42ee8a7331
Delete http-basic-authentication.md 2020-10-12 15:58:53 +02:00
Jaroslav Týc 85070c0afd
Fixed a white-space typo
A colon has been wrapped to a next line due to a redundant space.
2020-10-10 12:01:58 +02:00
Frank Prins 5b34a61b4a Capitalize composer name occurrences 2020-10-05 21:13:02 +02:00
Frank Prins 78f9dd73ce Rename handling private packages page to better reflect content 2020-10-05 21:11:16 +02:00
Frank Prins 2afd7e5913 Readded http basic auth page with link to new page so old links don't break 2020-10-05 14:09:58 +02:00
Frank Prins e90e08dc26 Revert rename of handling private packages with satis page to split off to new CR. 2020-10-05 10:45:41 +02:00
Frank Prins 6a2f91a0e0 Process review comments 2020-09-30 19:02:58 +02:00
Frank Prins 45d104ab83 Document authentication for private packages 2020-09-29 21:13:54 +02:00
Ayesh Karunaratne 6e3efabbfc
Multiple grammar fixes in markdown files 2020-07-01 02:43:13 +07:00
Jordi Boggiano 09d7acee3c
Merge branch '1.10' 2020-06-21 12:45:21 +02:00
Grummfy e55a019b8d
replace toran with private packagist 2020-06-19 18:21:03 +02:00
Jordi Boggiano 0071bc1ec0
Add docs about new runtime features 2020-05-01 10:18:54 +02:00
Jordi Boggiano b21936ab46
Update scripts.md 2020-04-22 17:08:33 +02:00
Elan Ruusamäe 613982e88b scripts: indicate how to see scripts-descriptions 2020-04-22 14:43:02 +03:00
Jordi Boggiano feefa9be71
Add post-file-download event to docs, refs #8655 2020-04-14 23:51:34 +02:00
Jordi Boggiano 7c1709c3b8
Merge pull request #8770 from villfa/patch-1
Add missing pre-status-cmd event in doc
2020-04-13 12:39:49 +02:00
Fabien Villepinte da3c42cced
Add missing pre-status-cmd event 2020-04-12 13:27:48 +02:00
Christophe Coevoet c67c804c4b
Fix the doc about repository priorities 2020-04-10 13:32:55 +02:00
Jordi Boggiano 059c009179
Docs fixes
Co-Authored-By: Nils Adermann <naderman@naderman.de>
2020-04-09 14:01:05 +02:00
Jordi Boggiano b6bad4eef6
Add options to configure repository priorities 2020-04-09 13:39:06 +02:00
Jordi Boggiano d63eb8179e
Merge branch 'master' into 2.0 2020-03-10 14:05:33 +01:00
Romain 41edce01fc
Update link to wikipedia VC -> Common terminology
The wikipedia section `Version_control#Common_vocabulary` has moved to `Version_control#Common_terminology`.
You know, scrolling along is harassing :-)
2020-03-06 12:17:09 +01:00
Jordi Boggiano d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 2020-02-12 14:35:31 +01:00
Jordi Boggiano 835a91532d
Add PRE_POOL_CREATE event, fixes #8348 2020-02-12 10:41:04 +01:00
Jordi Boggiano 23359f2db6
Merge branch 'master' into 2.0 2020-01-13 13:35:52 +01:00
Markus Staab 2ff079ba22
Fix typo 2019-12-22 12:33:58 +01:00
Jordi Boggiano b82a96405d
Add @putenv to docs, refs #8492 2019-12-22 12:32:04 +01:00
Jordi Boggiano 88b051c96b
Merge branch 'master' into 2.0
Update deps
2019-11-23 12:27:41 +01:00
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 2019-11-03 14:08:14 +01:00
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 2019-10-30 08:54:44 +01:00
John Stevenson 45d616c447 Add Windows proc-open errors to troubleshooting.md
As per these issues:

https://github.com/composer/composer/issues/7186
https://github.com/composer/composer/issues/8152
2019-10-21 11:12:08 +02:00
Jordi Boggiano b60e44c1dc
Update deps 2019-08-02 20:41:50 +02:00
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 2019-07-31 17:50:01 +02:00
kpitn 8def53c4b3
Update only one package
This PR come with https://github.com/composer/satis/pull/509
2019-07-09 15:29:21 +02:00
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
2019-06-27 14:08:00 +02:00
Jordi Boggiano ee506e0848
Merge pull request #8121 from gregorhyneck/run_plugins_manually_documentation
Add documentation how to run plugins manually
2019-06-07 16:49:46 +02:00
Rob Bast d63bf33848 flag should come before script name 2019-05-14 10:30:18 +02:00
Rob Bast 7f34189f91 use full command name, not abbreviated/alias 2019-05-14 10:30:18 +02:00
Rob Bast 1976da9ee9 modify text 2019-05-14 10:30:18 +02:00
Guilherme Rossato ce8afe1c95 Document the alternatives to disable the default script timeout
Mentioning and giving an example of the usage of the 4 options to disable the default script timeout of 300 seconds:
1. Static helper (already exists and kept).
2. Config key "process-timeout".
3. Environment variable "COMPOSER_PROCESS_TIMEOUT".
4. The "--timeout" parameter.
2019-05-14 10:30:18 +02:00
Kevin Boyd 5d615a16d1 Add documentation for Composer\\Config::disableProcessTimeout 2019-05-02 13:50:25 +02:00
Gregor Hyneck 4e14ac7640 Add documentation how to run plugins manually 2019-04-30 13:46:17 +02:00
Jim Birch 88852fbf1a Updates typo: nother-feature to another-feature 2019-04-02 11:15:23 +02:00
Nils Adermann 287419f6a0 Merge branch 'master' into 2.0
* master:
  Follow up to #7946 test: add solver flag to assert path execution
  Fix tests
  Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
  Recognize composer-plugin-api as a platform package, fixes #7951
  Quote wildcards to avoid issues in some shells, fixes #7960
  Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
  Soften hard exit after revert of composer file
  Make unixy proxy code POSIX compatible
  Update aliases.md
  Same but for Problem.php
  Better error message for present but incompatible versions
  Fix inconsistent casing
  Don't do (new Foo())->bar() - not 5.3-compatible
  Support identifying the HHVM version when not running with HHVM
2019-02-10 20:28:24 +01:00
Marc Wilhelm f89f9439e4
Update aliases.md
Add composer command for alias.
2019-02-07 17:26:17 +01:00
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 2019-01-14 17:29:23 +01:00
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 2019-01-14 17:29:23 +01:00
Jérôme Deuchnord b0b00ad1fa Call a script recursively with extra parameters (#7720)
* Added support for calling scripts recursively (fixes #7562)
2018-11-26 12:35:41 +01:00
Jordi Boggiano ea78712822 Merge branch '1.6' 2018-04-13 10:52:23 +02:00