1
0
Fork 0
Commit Graph

428 Commits (ecb69eaa4aec3c2bd866d17ee7a46e684dc16f71)

Author SHA1 Message Date
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
Jordi Boggiano f0a1eaaabf Clarify that inline aliases are root only, fixes #7217 2018-04-13 09:49:07 +02:00
Jordi Boggiano a652039cc2
Merge pull request #7157 from xabbuh/patch-1
document the COMPOSER_MEMORY_LIMIT env var
2018-04-12 09:26:38 +02:00
Sven Luijten 8f65518ed3 Avoid using 'just' in documentation 2018-03-23 11:37:33 +01:00
Christian Flothmann 47ce495454
document the COMPOSER_MEMORY_LIMIT env var
as implemented in 882b82d542
2018-03-05 09:38:22 +01:00
Kat a34f88cb01
Change `dependencies` to `binaries` 2018-02-01 14:43:38 +00:00
Kat cd27cb1a95
Correct a tiny typo
`project b's` should be `project a's` in the example given
2018-01-31 14:38:48 +00:00
Jordi Boggiano b1bfb9bb65 Add PRE_COMMAND_RUN event, fixes #7002 2018-01-24 15:21:55 +01:00
Gabriel Caruso 486e580db2 Clean up documentation 2017-12-30 18:11:52 -02:00
Martin Hujer 149a5e9401 Change links to prevent unnecessary redirect 2017-12-29 11:38:02 +01:00
Martin Hujer 58a62dceab Change http to https where possible 2017-12-29 11:37:59 +01:00
Mathias Brodala 8424235fac Rename to "scripts-descriptions" 2017-12-18 10:47:01 +01:00
Mathias Brodala 80d0c2029b Move "scripts-description" to toplevel
Fixes #6881
2017-12-18 10:14:24 +01:00
Jordi Boggiano 226eb7e657
Merge pull request #6906 from sonjaq/patch-1
Corrects troubleshooting.md documentation link by removing space
2017-12-16 22:38:39 +01:00
Sonja Leaf 20cdfd09ae
Corrects documentation link by removing space
There was an extra space lurking that prevented a link from rendering. The space is now removed.
2017-12-15 12:33:31 -06:00
Mathias Brodala 4721a7c2c8
Document arguments for custom commands
Custom commands support the same pattern to pass arbitrary arguments like the "run-script" Composer command.
2017-12-07 12:21:41 +01:00
Jordi Boggiano 41a9357d4b Merge remote-tracking branch 'thom8/script_help' 2017-11-03 17:19:36 +01:00
Petr Heinz 7d06c3b9b8 typo "semvar" => "semver" 2017-09-19 09:37:28 +02:00
Bartek Zdanowski dc693c3a6e fixed caret sub title link in the article
Fixed link to Caret version range paragraph
2017-09-12 09:11:47 +02:00
Thom Toogood bf880ad5e0 Allow custom script descriptions. 2017-09-12 13:17:08 +10:00
Victor Isadov 2bb5c79ea4 Update versions.md 2017-08-12 14:49:54 +03:00
Jordi Boggiano 020805dd6f More version doc updates 2017-07-04 08:18:43 +02:00
Jordi Boggiano 91fcb6cba1 Clarify version doc titles 2017-07-04 08:16:56 +02:00
Jordi Boggiano 9aadbe2728 Minor wording tweak
Closes https://github.com/composer/getcomposer.org/issues/113
2017-06-06 15:49:06 +02:00
frezno 5a3891d5d9 Correct path 2017-03-11 16:15:19 +01:00
Thorsten Frommen 8c388a6a4d Fix typo 2017-03-09 11:14:27 +01:00
Nils Adermann 001fe8afcf Merge branch 'docs-improve'
* docs-improve:
  Docs: cleanup version branches section
  Docs: those/these composer/Composer
  Docs: notice => note
  Docs: Fix shell sample output
  Docs: Add back a second clear note about hardcoded versions in VCS
  Docs: HHVM is not called HipHop
  Docs: versions plural, and update == rm lock&install
  Docs: don't use short forms, it => composer
  Docs: composer.lock lists versions, not constraints
  Docs: superfluous comma & it => Composer
  The confusing part is probably rather constraints and how versions work, not what they are
  Docs: Clarify what "It" stands for
  Finished reworking docs to clarify points about versioning (fixes #6088)
  Updated basic usage and versions pages to clarify how versioning and package resolution works (refs #6088)
  Added some useful overview information about repositories in the Basic Usage documentation.
2017-03-08 11:21:05 +01:00
Nils Adermann cd224ad44b Docs: cleanup version branches section 2017-03-08 11:20:23 +01:00
Nils Adermann 6c07bb1fb7 Docs: those/these composer/Composer 2017-03-08 11:13:08 +01:00
Nils Adermann 4a20d5d98b Docs: notice => note 2017-03-08 11:10:51 +01:00
Nils Adermann 138fb5b6af Docs: Fix shell sample output 2017-03-08 11:02:24 +01:00
Jordi Boggiano 6260bb70d0 Warn about using autoloader optimizations in dev 2017-03-07 14:04:10 +01:00
Jordi Boggiano f1f064981b Add docs about autoloader optimizations, fixes #5947 2017-03-07 12:33:19 +01:00
Jordi Boggiano e2b2baf48a Merge pull request #6205 from Xerkus/patch-1
Update current plugin api version in docs
2017-03-06 15:43:09 +01:00
Jordi Boggiano 0ecd1f5eb5 Merge branch '1.3' 2017-03-06 12:30:33 +01:00
Jordi Boggiano 4b11bbccef Add note about requiring composer for plugin dev, fixes #6132 2017-03-06 09:01:07 +01:00
Jordi Boggiano 78d81cc473 Fix typo 2017-03-01 09:13:04 +01:00
Aleksei Khudiakov acc1238ac2 Update current plugin api version in docs 2017-02-24 05:02:57 +10:00
Kael Shipman c8c7619a4a Finished reworking docs to clarify points about versioning (fixes #6088) 2017-01-23 13:06:51 -06:00
Kael Shipman a0d2934946 Updated basic usage and versions pages to clarify how versioning and package resolution works (refs #6088) 2017-01-20 11:49:29 -06:00
Tilo Baller 89a2e66293 Add GitLab as supported downloads source in docs 2017-01-19 00:12:05 +01:00
Nils Adermann b3bd409a30 Clarify Private Packagist description a bit 2017-01-03 01:03:08 +01:00
Filippo Tessarotto 498d49f1ba Fix php.net HTTPS links; always use HTTPS for getcomposer.org 2017-01-02 12:49:45 +01:00
Michael Cullum 97a80b6249 Update memory limit in docs
As per 0bc75c3fb6
2017-01-01 21:18:52 +00:00
Jordi Boggiano fdd63de8ac Typo fix 2016-12-29 18:02:08 +01:00
Jordi Boggiano 173a601d27 Update private package hosting docs 2016-12-29 18:01:02 +01:00
johnstevenson 25ff290e4c Document COMPOSER_DISABLE_XDEBUG_WARN variable 2016-12-28 15:22:00 +00:00
johnstevenson d57a89d5af Update xdebug troubleshooting, fixes #5997 2016-12-28 12:13:23 +00:00
Jordi Boggiano 9042147674 Merge pull request #5931 from Jean85/patch-1
[Documentation] Update troubleshooting article
2016-12-24 01:08:39 +01:00
Jordi Boggiano da097aa6fc Clarify PATH modification, refs #5970 2016-12-18 11:39:05 +01:00
Jordi Boggiano b0000617cc Support @php prefix for scripts to reuse the current PHP interpreter, fixes #5957 2016-12-11 16:17:34 +01:00
Jordi Boggiano cd21d7e7d4 Merge pull request #5897 from baptistedonaux/patch-1
Permanent swap file tutorial proposed
2016-12-06 22:44:11 +01:00
Alessandro Lai 365e3feba9 [Documentation] Update troubleshooting article
- remove the xdebug section, since it will be irrelevant from v1.3
 - add cPanel shell fork bomb protection as an other possible root cause of memory errors
2016-12-02 18:26:07 +01:00
Rob Bast 960607afc8
Merge branch '1.2' of github.com:composer/composer
* '1.2' of github.com:composer/composer:
  semver.mwl.be moved to HTTPS
2016-12-02 10:09:28 +01:00
Filippo Tessarotto 35a5036c3e semver.mwl.be moved to HTTPS 2016-12-02 09:09:31 +01:00
Baptiste Donaux 90b79d685a Permanent swap file tutorial proposed 2016-11-23 12:05:55 +01:00
Rob Bast 4abb02dbe8
fix #5884 - mardown issues + move urls to footnotes 2016-11-21 08:19:10 +01:00
Rob Bast 96540d4139
apply proper word wrapping 2016-11-18 14:33:42 +01:00
copitz cc932e5bda Add documentation for providers option
With composer/satis#295 an option for dumping provider includes was added which is missing here in the docs
2016-11-18 11:48:26 +01:00
Rob Bast 235b1cca81
wordwrap and minor rephrasing 2016-10-19 08:40:06 +02:00
Andrew Taylor ce6a3c0dd7 Issue 5769 dev mode varaible 2016-10-18 22:56:32 +01:00
Yaman Jain 66950f0354 JSON standard do not allow trailing comma 2016-09-02 17:33:06 +05:30
snipe 35821fc0ce Update troubleshooting.md 2016-07-19 02:35:50 -07:00
snipe 1b96882736 Fixed typo 2016-07-19 00:52:08 -07:00
Jordi Boggiano a8bb93aa1f Fix typo 2016-06-02 11:59:21 +01:00
mastre abfe74244a Update versions.md
Clearer language with less chance for confusion, Though -> Although -- edited because I was confused myself when I first read it.
2016-05-12 19:02:22 -07:00
Jordi Boggiano 124852f15d Merge pull request #5319 from joy2fun/1.1
Tips for running composer without xdebug enabled.
2016-05-12 15:35:41 +02:00
Chiao d2bc5f4563 Add aliases for composer to disable xdebug. 2016-05-12 13:46:59 +08:00
Niels Nijens d113b2b5ec Fix typos in the word priority 2016-05-10 14:27:20 +02:00
Jordi Boggiano b8974a3e13 Merge branch '1.1' 2016-05-05 14:10:14 +01:00
Jordi Boggiano d3eece0af2 Cross-link versions to stability flags and minimum-stability, fixes #5278 2016-05-05 13:33:08 +01:00
Bilal Amarni 253a30793d updates 2016-05-03 08:22:54 +02:00
Bilal Amarni c1bc50dd2a add missing interface 2016-05-02 12:50:25 +02:00
Bilal Amarni 81f33e9739 document plugin capabilities (closes #5262) 2016-05-02 09:19:40 +02:00
Jordi Boggiano a67b127a1a Add deprecation notice for the event type hint rewrites, refs #5238 2016-04-24 15:48:48 +01:00
Jordi Boggiano aeafe2fe59 Add INIT event and bump plugin-api to 1.1.0, fixes #5232 2016-04-22 20:30:24 +01:00
forevermatt f1a16596d1 Fix small typos 2016-04-20 13:25:06 -04:00
Jordi Boggiano 60ce2324bc Add ability to call composer from scripts using @composer XXX, fixes #5153 2016-04-11 19:03:32 +01:00
Jordi Boggiano 5ae2deeee2 Fix minor wording issues, refs #5170 2016-04-11 14:32:34 +01:00
Luis Ferro b37178577c Update troubleshooting.md
Alternative way to turn off composer on Mac OS, with PHP installed in user available folders by Homebrew.
2016-04-08 20:34:36 +01:00
Filippo Tessarotto 4d1416050d Adapt scripts doc to 55b0ed8c8b 2016-03-25 12:16:56 +01:00
Nicolas Grekas 08d48cb61a Prefer ZipArchive over unzip on Windows 2016-03-11 11:07:36 +01:00
Niels Keurentjes 379d769132 Troubleshooting and warning in code related to issues with native ZipArchiver. 2016-02-26 08:38:39 +01:00
Jordi Boggiano c0883d85fa Fix backticks 2016-02-25 15:44:15 +00:00
Jordi Boggiano 250862b325 Merge pull request #4941 from astehlik/doc/troubleshoot-ssh-controlma
Troubleshoot info about SSH ControlMaster
2016-02-25 15:33:06 +00:00
Patrik Lermon 1da09f24ee Update troubleshooting.md 2016-02-25 12:48:46 +01:00
Patrik Lermon 0c93bc3d0b Update troubleshooting.md 2016-02-25 11:18:41 +01:00
Patrik Lermon 271c778300 Update troubleshooting.md 2016-02-25 10:43:07 +01:00
Patrik Lermon 5e1bd00089 Update troubleshooting.md 2016-02-25 10:28:19 +01:00
Patrik Lermon 8a4a27e450 Update troubleshooting.md 2016-02-25 10:27:47 +01:00
Patrik Lermon 06dc17ac8e Update troubleshooting.md
Adding a workaround for disabling xdebug while executing composer.
2016-02-25 10:04:50 +01:00
Alexander Stehlik 1fc4a00db7 Troubleshoot info about SSH ControlMaster
Relates: #4180
2016-02-22 11:18:57 +01:00
Jordi Boggiano 7e44d19d59 Rewrap 2016-02-20 18:56:22 +00:00
Jordi Boggiano 9e41ce2ab1 Merge pull request #4842 from cgrossde/patch-1
Document IPv6 workarounds. Fixes #4748.
2016-02-20 18:53:59 +00:00
Piotr Antosik aeb72fb7c6 Update github api url 2016-02-16 01:12:29 +01:00
Chris 3775b05e19 Document IPv6 workarounds. Fixes #4748. 2016-01-27 12:41:08 +01:00
Jordi Boggiano c4df3ec0d4 Rewrap text and few minor typos, refs #4832 2016-01-26 12:17:10 +00:00
Daniel Mason 48287b5a1c Removed new style array syntax 2016-01-26 11:47:36 +00:00
Daniel Mason 41937ef781 More comprehensive documentation of event handlers 2016-01-26 11:38:12 +00:00
Jordi Boggiano 9d08a7943a Merge pull request #4819 from 0mars/master
Fix Broken Links in troubleshooting.md
2016-01-25 17:58:49 +00:00
Bob4ever eb8df89cd5 Update custom-installers.md 2016-01-25 14:29:37 +01:00
Omar Shaban 05c5aee1f1 Fix Broken Links in troubleshooting.md 2016-01-23 20:50:43 +02:00
Rob Bast a927499bd5 fix typo 2016-01-19 15:12:46 +01:00
Rob Bast 8cc50f9c8b minor tweaking of phrasing 2016-01-12 08:47:11 +01:00
Rob Bast aca19deffa move to troubleshooting 2016-01-11 10:23:14 +01:00
Rob Bast 04fb28a9cb add possible work-around / solution 2015-12-17 14:15:07 +01:00
Rob Bast 8b12e39509 initial document 2015-12-17 10:14:39 +01:00
JamesRezo 5c2df001dd add notify-batch in schema 2015-12-04 08:41:17 +01:00
Jordi Boggiano feefd51565 Fix custom installer example, fixes #4648 2015-12-03 16:17:58 +00:00
Rob c74fa483d8 Merge pull request #4668 from mpdude/patch-1
Add a note how to use package and repository URL filters
2015-12-03 11:43:13 +01:00
Matthias Pigulla 7fa72b3e6a Add a note how to use package and repository URL filters 2015-12-03 11:37:06 +01:00
JamesRezo ff93bd5bf2 Typo again 2015-11-27 14:22:50 +01:00
JamesRezo b63cfb7b37 Other options 2015-11-27 09:30:04 +01:00
JamesRezo b4e0d1e879 Indentation 2015-11-26 16:48:17 +01:00
JamesRezo 33f725e99b Satis documentation updates 2015-11-26 16:31:49 +01:00
Sullivan SENECHAL 9fd67e9e82 Add alias trick on xdebug documentation part 2015-11-25 17:10:18 +01:00
Jordi Boggiano 7a06615bf0 Add env var to disable xdebug warnings, refs #4622 2015-11-21 20:06:31 +00:00
Jordi Boggiano f2b0e2284a Remove suggestion which is now kinda useless 2015-11-21 02:59:25 +00:00
Markus Staab a59f0a7ca8 add a warning when xdebug is loaded while running composer commands 2015-11-19 13:57:57 +01:00
Rob d7d91269ec Merge pull request #4554 from Minishlink/patch-1
Add "out of memory" tip
2015-11-16 13:23:56 +01:00
Jordi Boggiano adc0bbeeb9 Forward args/flags down to referenced events 2015-11-14 14:02:47 +00:00
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 2015-11-09 15:34:11 +01:00
Louis Lagrange 842e09a143 Typo 2015-10-29 13:32:12 +01:00
Louis Lagrange 3df536a3ba Wrap lines at the correct limit
Assuming this limit is 80 cols.
2015-10-29 13:29:33 +01:00