1
0
Fork 0
Commit Graph

1227 Commits (a40e6157debb32b4e86db11748cb24ae61ed6b75)

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 02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
Create project: add option to add the repository to the composer.json
2020-02-11 13:47:34 +01:00
Jordi Boggiano 9609729de7
Change update to upgrade for package update operations which are upgrades, refs #8594 2020-02-11 13:43:38 +01:00
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 2020-02-11 11:33:52 +01:00
Klaus 9940271c6e
rename signature to checksum 2020-02-11 09:11:45 +01:00
Stephan Vock 2a564a9f36 Create project: add option to add the repository to the composer.json 2020-02-10 16:46:28 +00:00
Victor Bocharsky 3934877efe Wrap version constaints that contain * with double quotes
Some shells like ZSH require wrapping * with quotes, otherwise, it shows an error like:
> zsh: no matches found: 2.2.*
But single quotes may cause issues on Windows CMD
2020-02-08 10:16:59 +02:00
Jordi Boggiano d14d411fa4
Add --dry-run to require and remove commands, fixes #7793 2020-01-31 14:34:10 +01:00
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 2020-01-14 15:39:35 +01:00
Jordi Boggiano 7e87b56324
Merge pull request #8497 from Fonata/patch-1
Documentation: Explain the syntax of stability flags
2020-01-13 15:58:56 +01:00
Jordi Boggiano 23359f2db6
Merge branch 'master' into 2.0 2020-01-13 13:35:52 +01:00
Tyson Andre 6827105a5b Fix nits on typos 2019-12-29 12:14:38 -05:00
Fonata 6add026df0
Explain the syntax of stability flags 2019-12-25 20:13:57 +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 f6b3f12107
Merge branch 'master' into 2.0 2019-12-07 21:10:14 +01:00
Jordi Boggiano 0d173b6e20
Merge pull request #8469 from abdounikarim/master
Update 01-basic-usage.md - add dump-autoload
2019-12-07 20:41:03 +01:00
Abdouni Abdelkarim 2f69ebc624
Update 01-basic-usage.md
Hello,

I add the `php composer.phar dump-autoload` command explicity because i didn't find it on the doc like this.

Cheers 😉
2019-12-06 09:56:16 +01:00
gary houbre ff3eda6d40 Added Documentation from new alias 2019-12-04 11:41:39 +01:00
Jordi Boggiano 88b051c96b
Merge branch 'master' into 2.0
Update deps
2019-11-23 12:27:41 +01:00
Mark Sch a9fec9b972
Fix language. 2019-11-21 23:00:29 +01:00
Jordi Boggiano 7e92950367
Merge pull request #8407 from localheinz/fix/environment-variables
Fix: Add environment variables related to Xdebug to documentation
2019-11-06 11:27:40 +01:00
Andreas Möller f4ff91da6c
Fix: Add environment variables related to Xdebug to documentation 2019-11-03 14:27:22 +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
Jordi Boggiano 82e0fdccca
Merge pull request #8384 from aboks/no-lock
Config option to disable lockfile generation
2019-10-24 11:06:02 +02: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
lasseeee 5687ac7de7 Don't necessarily mention Google
There's other search engines as well.
2019-10-21 11:06:38 +02:00
Arnout Boks 7c5e5e3ede Add option to disable the lock file
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.

https://github.com/composer/composer/issues/8354
2019-10-19 21:46:29 +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
Jordi Boggiano e7051de1a4
Merge pull request #8215 from kpitn/patch-1
Update only one package
2019-07-30 08:18:30 +02:00
Jordi Boggiano 45591597f6
Clarify how check-platform-reqs works, fixes #8191 2019-07-29 16:38: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 79a300eaac
Merge branch '1.8' 2019-06-07 16:58:37 +02:00
Jordi Boggiano e7eecc6901
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151 2019-06-07 16:55:23 +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
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 2019-04-01 18:03:34 +02:00
Mike Hatch 20ff8b22f2
Corrected a typo and two grammar errors. 2019-03-09 00:27:34 -06:00
Jordi Boggiano 9957807990
Merge branch 'master' into 2.0 2019-02-18 12:25:44 +01:00
John Stevenson ae9ed20812
Update 05-repositories.md 2019-02-12 12:09:25 +00: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
Jordi Boggiano ff246e3e85 Merge branch '1.8' 2019-02-10 12:59:38 +01:00
Jordi Boggiano 4de1f021f5 Quote wildcards to avoid issues in some shells, fixes #7960 2019-02-10 12:40:11 +01:00
Jordi Boggiano 9adcdfcb88
Merge pull request #7962 from TekkCraft/patch-1
Update aliases.md
2019-02-10 11:40:53 +01:00
Marc Wilhelm f89f9439e4
Update aliases.md
Add composer command for alias.
2019-02-07 17:26:17 +01:00
JakeConnors376W 3b117da6d7
Fix inconsistent casing 2019-02-04 15:59:50 -08:00
Jordi Boggiano 9c32808782 Merge branch 'master' into 2.0 2019-01-30 08:33:13 +01:00
Will Otterburn 6d58b13ee4
Update installer commit to fix SHA384 bug
Installer linked is affected by #7669
2019-01-29 18:03:03 +00:00
Jordi Boggiano 4517c00d40 Merge branch 'master' into 2.0 2019-01-29 14:01:28 +01:00
Jordi Boggiano 11bfe9970f
Merge pull request #7912 from kathyoungaligent/feature/no-api-config
Feature/no api config
2019-01-29 10:57:15 +01:00
Jordi Boggiano 2d7a8c67e8
Doc formatting fixes 2019-01-29 10:55:05 +01:00
Kath Young fbb9d20c33 Adjusted config name to be more descriptive, added documentation 2019-01-29 07:26:38 +10:30
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 2019-01-28 18:00:52 +01:00
Jordi Boggiano f1297b11bc Merge branch '1.8' 2019-01-28 16:56:40 +01:00
Jordi Boggiano abcde19022 Document --no-check-all better, fixes #7889 2019-01-28 16:17:46 +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 0b928b2a42 Merge branch 'master' into 2.0 2019-01-28 14:33:10 +01:00
Jordi Boggiano fc03ab9bba Add COMPOSER_DISABLE_NETWORK env var for debugging 2019-01-14 17:29:24 +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
Andreas Möller 618122f897
Fix: Keep environment variables sorted by name 2018-12-24 10:45:06 +01:00
Jordi Boggiano 85ec111dee Merge remote-tracking branch 'dmanners/add-chat-option-for-support' 2018-11-26 19:47:13 +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 008475dee7
Use lowercase sha in docs 2018-11-06 14:55:46 +01:00
Jordi Boggiano 2528654c53 Merge branch '1.7' 2018-10-31 18:13:39 +01:00
dtranmobil 900e3b65db Update why-can't-composer-load-repositories-recursively.md (#7690) 2018-10-31 18:12:20 +01:00
Thomas Landauer abb6377caa Update 05-repositories.md
Fixed typo.
2018-10-24 09:39:28 +02:00
Alexey Kopytko e92eda5678
composer/composer#7384: update chat note based on code review feedback
Co-Authored-By: dmanners <dmanners87@gmail.com>
2018-10-22 10:11:34 +02:00
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
2018-10-14 11:15:25 +00:00
Alexey Pyltsyn ed3aa1870c Replace OSX with macOS 2018-09-27 14:00:10 +03:00
Christophe Coevoet 0ca5c6342d
Fix the doc markup
In *nix, the star needs to be part of the content, not of the markdown markup, and so it requires escaping.
2018-09-26 15:12:25 +02:00
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 2018-07-24 09:30:06 +02:00
Tomáš Votruba 10f707e316
basic usage - promote safe version range
I'm aware this just an example, but it [leads readers to see it a best practise](40642df5ec (r29802440)).

Having code with `"php": ">=5.4.0"` is pretty dangerous and will probably break with next major version.

```json
{
    "require": {
        "php": "^5.4"
    }
}
```

```json
{
    "require": {
        "php": "^7.1"
    }
}
```

is much more safer. Promoting best and proven practise should from *Basic usage* helps people to use composer the best way they can.

What do you think?
2018-07-23 18:49:39 +02:00
Jordi Boggiano 945adcf172 Fix doc ambiguity, fixes #7471 2018-07-20 11:38:58 +02:00
refael iliaguyev 2f347e1347 add alias `u` to the update command 2018-07-19 11:38:43 +03:00
refael iliaguyev b63e2de819 add alias `i` to the install command 2018-07-11 20:37:34 +03:00
Nathan Purcell dcdef95785
Update example for auth.json in BitBucket config
Remove the `config` level
2018-06-21 09:02:29 +01:00
Sam Pablo Kuper d7645a83a2 Document the versioning system used by Composer.
Fixes #7356.
2018-05-31 23:55:20 +01:00
mw-jko 635d96b5e5
add hint for possible need of gitlab-domains option 2018-05-03 15:43:36 +02:00
Hugo Locurcio a06ae28c69
Improve grammar in the programmatic Composer installation page 2018-04-24 17:45:51 +02:00
Jordi Boggiano 9de9c2b114
Merge pull request #7259 from tflori/doc-readme-patch
move readme description one level up
2018-04-13 11:04:53 +02:00
Jordi Boggiano ea78712822 Merge branch '1.6' 2018-04-13 10:52:23 +02:00
Jordi Boggiano eaf725d6a5
Merge pull request #7131 from pylebecq/doc-abandoned-prop
Add abandoned property in composer schema documentation
2018-04-13 10:11:54 +02:00
Jordi Boggiano f0a1eaaabf Clarify that inline aliases are root only, fixes #7217 2018-04-13 09:49:07 +02:00
Thomas Flori 6825592d65
move readme description one level up 2018-04-13 09:06:45 +02:00
Jordi Boggiano a8cf4a07fc Merge branch '1.6' 2018-04-12 20:03:08 +02:00
Jordi Boggiano 24ef605473 Clarify that #refs is root-only, fixes #7241 2018-04-12 19:49:18 +02:00
Jordi Boggiano 35ebb8b93f Merge branch '1.6' 2018-04-12 19:22:50 +02:00
Jordi Boggiano 89e138a593 Add hint about .local/bin to docs, fixes #7132 2018-04-12 19:06:24 +02:00
Jordi Boggiano 00031afa87
Merge pull request #7253 from tflori/patch-1
add readme to support fields in the schema docs
2018-04-12 12:03:01 +02:00