1
0
Fork 0
Commit Graph

814 Commits (ea30392105a769c18af62891a02d3e679502010d)

Author SHA1 Message Date
Rob Bast 91336a8312 Merge branch 'feature/document-need-to-require-autoloader-in-script-hooks' of git://github.com/jeskew/composer into jeskew-feature/document-need-to-require-autoloader-in-script-hooks
* 'feature/document-need-to-require-autoloader-in-script-hooks' of git://github.com/jeskew/composer:
  "No files" was inaccurate; amend to specify "no files except"
  House style requires concatenation in examples
  Reiterate the disclaimer in the context of callbacks
  Add a line and example to the documentation covering the need to require the autoloader file in order to use autoloaded files
2015-08-12 13:48:55 +02:00
Jordi Boggiano 976491d865 Rewrap markdown, refs #4329 2015-08-09 15:09:34 +01:00
emersonthis 5508bb8725 Clarified instructions 2015-08-04 16:54:43 -04:00
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 2015-07-22 15:54:20 +02:00
Jordi Boggiano c6cc6dd607 Advise the use of absolute paths, fixes #4259 2015-07-21 14:46:38 +01:00
Jordi Boggiano b260a9972f Timeouts are not necessarily cause for alarm 2015-07-20 17:50:56 +01:00
Jordi Boggiano dafa9efa8f Remove whitespace 2015-07-20 17:50:34 +01:00
Jordi Boggiano ff84b32097 Add degraded mode to try and bypass ipv6/gzip issues, refs #4142, refs #4121 2015-07-20 17:33:53 +01:00
Nils Adermann 417516098e Document that lock file name uses COMPOSER env var 2015-07-16 11:51:31 +02:00
Andreas Möller 5828f6202d Enhancement: Also validate lock file 2015-07-10 18:07:40 -04:00
Nils Adermann 39e6f51bef Clarify --no-check-publish in docs 2015-07-09 13:04:41 +02:00
Nils Adermann 984c0afddf Merge pull request #4230 from localheinz/fix/validate
Fix: Update docs for validate command
2015-07-09 13:03:35 +02:00
Nils Adermann 93fd8a928a Merge pull request #4235 from localheinz/fix/colon
Fix: Streamline options in documentation
2015-07-09 13:01:07 +02:00
Ivan Krechetov a9b98dc5b0 Fix a typo: interally -> internally 2015-07-09 08:54:24 +02:00
Andreas Möller cb1470775c Enhancement: Also validate if composer.lock is up to date 2015-07-08 21:48:12 -04:00
Andreas Möller 8b7f2c4984 Fix: Render option mono-spaced 2015-07-08 21:45:46 -04:00
Andreas Möller db1d58f3d3 Fix: Append colon to option name (for consistency) 2015-07-08 21:43:08 -04:00
Andreas Möller 22ecd0b740 Fix: Update docs for require command 2015-07-08 10:40:05 -04:00
Jordi Boggiano 0964c02acb Use only one level of verbosity 2015-07-04 12:02:57 +01:00
Jordi Boggiano 5ba41514a9 Merge remote-tracking branch 'alcohol/add-suggests-command' 2015-07-04 11:58:58 +01:00
Jordi Boggiano e817dba90c Rendering fix, refs #4172 2015-07-04 11:56:17 +01:00
Jordi Boggiano 812167b2a0 Formatting tweaks, refs #4172 2015-07-04 11:54:56 +01:00
Jordi Boggiano edf121ce11 Minor tweaks, refs #4172 2015-07-04 11:51:55 +01:00
Jordi Boggiano 720a25abb9 Merge remote-tracking branch 'alcohol/split-schema-documentation' 2015-07-04 11:45:49 +01:00
Jeremy Postlethwaite 558fca8a23 Changing config.json to satis.json
Updating docs to use `satis.json` instead of `config.json`
2015-07-01 14:15:24 -07:00
Jonathan Eskew 4e3fbeabfc "No files" was inaccurate; amend to specify "no files except" 2015-07-01 09:38:14 -07:00
Jonathan Eskew 56ffa407f1 House style requires concatenation in examples 2015-07-01 09:15:22 -07:00
Rob Bast 16a7cf19fc outside of table, no need to escape 2015-06-30 15:49:00 +02:00
Rob Bast d8d2bcadde added some links and some restructuring 2015-06-30 15:49:00 +02:00
Rob Bast 50db9393e5 better phrasing / structure + moved version testing link 2015-06-30 15:49:00 +02:00
Rob Bast 10b813fc40 reworking basic usage, added versions article 2015-06-30 15:49:00 +02:00
Rob Bast eb98613672 add installer information 2015-06-30 15:49:00 +02:00
Rob Bast 4ddd5aa37f cleaned up intro page a bit 2015-06-30 15:49:00 +02:00
Sam Minnee 5cd1b6d56f Added documentation about -stable suffix in version range comparison. Fixes #4080. 2015-06-30 13:10:16 +01:00
Jonathan Eskew 5fe37357a2 Reiterate the disclaimer in the context of callbacks 2015-06-29 14:44:28 -07:00
Jonathan Eskew 26a2e94e78 Add a line and example to the documentation covering the need to require the autoloader file in order to use autoloaded files 2015-06-27 14:38:09 -07:00
Rob Bast adc3e3a7f2 fixed typo (and auto whitespace) 2015-06-24 08:43:43 +02:00
Rob Bast b523a22641 updated doc 2015-06-23 22:46:16 +02:00
Rob Bast 760eeb0b03 reworked suggests command 2015-06-23 22:46:16 +02:00
Gusakov Nikita f1af16984e [Command] Add suggests command 2015-06-23 21:04:20 +02:00
Nicolas Toniazzi 7d63eb5718 Merge remote-tracking branch 'parent/master'
Conflicts:
	doc/04-schema.md
2015-06-23 14:19:12 +02:00
Rob Bast 4202032c56 updated config links 2015-06-22 14:18:49 +02:00
Rob Bast 48ff6b61b3 ucfirst packagist 2015-06-22 14:10:54 +02:00
Rob Bast eba72fdd43 removed uneccesary nesting 2015-06-22 14:05:50 +02:00
Rob Bast 5a2a78fd29 the note already explains the same, but better 2015-06-22 11:23:09 +02:00
Rob Bast 3e1b7ee295 link back to schema 2015-06-22 11:13:12 +02:00
Rob Bast 6ee6074a5c more consistent ucfirst composer references 2015-06-22 11:08:23 +02:00
Rob Bast db4b8dd42b wordwrap at 80 2015-06-22 10:54:55 +02:00
Rob Bast 3ed4be072d split list into individual sections/paragraphs 2015-06-22 10:53:17 +02:00
Rob Bast 859522ffb7 moved some non-config sections back 2015-06-22 10:53:04 +02:00
Rob Bast 141f2b626f link from schema to config 2015-06-22 10:02:27 +02:00
Rob Bast 016cc7ee19 splitting up some docs, closes #4155 2015-06-22 10:00:04 +02:00
Thibault Jamet 460f2f438e Update documentation with new archive configuration 2015-06-17 20:53:09 +02:00
Jordi Boggiano a7ec17b2f1 Merge pull request #4062 from coderstephen/master
Docs: Fix non-feature-branches schema example not syntax highlighted
2015-06-11 18:02:57 +01:00
Jordi Boggiano 070007769a Merge pull request #4134 from craue/patch-1
[docs] mention the `memory_limit` actually being set
2015-06-11 17:32:56 +01:00
Jordi Boggiano 9debc39ba5 Update to caret operator 2015-06-11 15:02:59 +01:00
Christian Raue fe0c600d0f [docs] mention the `memory_limit` actually being set 2015-06-11 15:14:45 +02:00
nevvermind 12c833864c Revert converting `1.0.0` to `^1.0`. 2015-06-08 22:45:20 +01:00
nevvermind 1cba63cc0a fix typo + better express order of events
The fix here being more "occurs before a package has been uninstalled", which is incorrect.
2015-06-06 11:06:14 +01:00
nevvermind 5ba1dd67c0 Change wording 2015-06-03 12:21:54 +01:00
Jordi Boggiano 17c2a8019e Merge pull request #4089 from nevvermind/plugin-api-versions
Make plugins have actual constraints instead of fixed versions
2015-06-03 11:37:52 +01:00
nevvermind 00da5945ec Update docs 2015-06-02 19:09:57 +01:00
Jordi Boggiano 65dd1f7137 Update 00-intro.md 2015-06-02 14:47:52 +01:00
Jordi Boggiano ba8114dd49 Merge pull request #3258 from FraGoTe/master
Windows Installation Details this closes #3186
2015-06-02 14:47:13 +01:00
Jordi Boggiano e64470c987 Merge pull request #4071 from nevvermind/patch-2
Update 02-libraries.md
2015-05-28 15:52:12 +01:00
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
2015-05-28 13:15:56 +02:00
nevvermind baf6ba06be Update 02-libraries.md
Small copy text fix.
2015-05-27 20:02:06 +01:00
coderstephen 8534d881f9 Fix non-feature-branches schema example not syntax highlighted 2015-05-24 16:02:58 -05:00
Olav Morken b0a7c2612d Fix link to Composer\Installer\InstallerInterface.
The link was pointing to Composer\Plugin\PluginInterface since
commit 98e5eab. Fix the link by updating the reference from
`[3]` to `[4]`.
2015-05-10 20:34:05 +02:00
Possum 2e99b9fdf5 Use https where possible 2015-05-04 19:37:57 +02:00
Jordi Boggiano d6620195e5 Prioritize repository over package versions in the default policy, fixes #3509 2015-04-30 10:43:04 +01:00
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
2015-04-29 22:38:07 +01:00
Fabien Schurter e392d1d039 Replace "an" with "a" in the docs 2015-04-28 14:42:17 +02:00
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
2015-04-15 02:21:44 +01:00
Jordi Boggiano 39c912005b Merge pull request #3869 from SchulteMarkus/patch-1
Explaining how to deal with cyclic dependency problems within Jenkins-bu...
2015-04-15 02:05:50 +01:00
Jordi Boggiano 1b3ca77bd5 Merge pull request #3878 from jakoch/patch-docu-httpheaderauth
added "example using a custom HTTP Header field" to docu, issue https://...
2015-04-15 01:59:55 +01:00
Jordi Boggiano 8a154d7300 Merge pull request #3891 from geo4orce/patch-1
Update 04-schema.md
2015-04-14 23:51:12 +01:00
Jordi Boggiano 87f3a0060e Merge pull request #3902 from TomasVotruba/patch-1
Readme: 00-intro - use __DIR__
2015-04-14 23:04:31 +01:00
Jordi Boggiano 31359510e5 Merge pull request #3936 from ajpevers/patch-1
Ignore all .git dirs in the vendor dir recursively
2015-04-14 23:01:56 +01:00
Jordi Boggiano 467f82fc15 Merge pull request #3935 from hannesvdvreken/patch-3
Link to semver version constraint tester
2015-04-14 23:01:25 +01:00
Anton Evers cc3a8379e2 Ignore all .git dirs in the vendor dir recursively
In accordance with http://git-scm.com/docs/gitignore
2015-04-14 09:46:53 +02:00
Hannes Van De Vreken 93f73ecc8c Link to semver version constraint tester 2015-04-14 09:21:48 +02:00
Richard K Miller 5b3457f812 Fix typo in aliases.md 2015-04-13 10:49:35 -06:00
Tomáš Votruba 0924318c17 Readme: 00-intro - use __DIR__
It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.
2015-04-02 02:22:46 +02:00
Geo 2070b95e27 Update 04-schema.md 2015-03-30 17:19:20 -04:00
jakoch cf7441bc27 added "example using a custom HTTP Header field" to docu, issue https://github.com/composer/composer/issues/3756 2015-03-27 19:01:16 +01:00
msiebeneicher 7522a33079 Merge branch 'master' of https://github.com/composer/composer into add_exclude
# By Jordi Boggiano (30) and others
# Via Jordi Boggiano (37) and Morgan Campbell (1)
* 'master' of https://github.com/composer/composer: (83 commits)
  Update 01-basic-usage.md
  Revert 331425bcb3 as well, fixes #3612
  Revert "Disable overwrites when no-ansi is present, fixes #3612"
  Update deps
  Use justinrainbow/json-schema 1.4
  Improved wording
  Fix docs basic-auth => http-basic
  Add test for Generics class
  Single variable for traits and enums
  Use HHVM_VERSION instead of HPHP_VERSION
  Add support for using classmap to autoload Hack enums
  Re-use existing autoloader suffix if available, fixes #3701
  Report Travis CI build success early
  Test on HHVM nightly releases. Allow to fail.
  Make parseJson safer
  Use get home from Config instead of factory
  Fix env override regression, fixes #3820
  [create-project] Used no progress value for dependencies
  Add docBlock and fix CS
  Fix output of first line of progress when output is not decorated, refs #3818
  ...
2015-03-25 16:27:23 +01:00
Morgan Campbell 7cb9b9a985 Update 01-basic-usage.md
Added a missing "the" so the sentence flows a little better.
2015-03-25 08:32:29 -05:00
Markus Schulte bcc387b297 Explaining how to deal with cyclic dependency problems within Jenkins-builds. 2015-03-24 09:44:13 +01:00
isoroku e0657b60a2 Fix misspellings 2015-03-20 14:23:24 +00:00
Sergey Gonimar c87418099c Fix docs basic-auth => http-basic 2015-03-13 14:25:55 +05:00
Jordi Boggiano 2a0da15eb5 Merge pull request #3227 from tobiastom/patch-1
Added some details about authentication handling.
2015-03-05 20:53:47 +00:00
Jordi Boggiano 26799f4244 Update script/plugin docs 2015-03-04 23:50:10 +00:00
Jérôme Tamarelle c1edfbb65c Add tests on GitLabDriver
Add an interactive prompt for gitlab token

Update doc for gitlab-domains

Add tests on GitLabDriver::supports

Update doc + CS

Optimize branch detection + fix typos

Fix test on GitLab support as it depends on SSL

Remove useless method + fix repository URL containing .git
2015-03-04 00:08:44 +01:00
Raphael Antonmattei 7b635f835d VCS section: add requirements for the branch name
If you want to use a custom branch in your requirements in your `composer.json`, that branch must be prefixed with "dev-" or you'll get an error:
```sh
[UnexpectedValueException]
  Could not parse version constraint some-branch: Invalid version string "some-branch".
```

It took me a while to find that info, so I figured I'd rather edit the doc.
Let me know.
2015-02-25 11:46:36 -05:00
Jordi Boggiano 01476214da Tweak satis/toran/packagist docs 2015-02-24 12:49:14 +00:00
Jordi Boggiano 5744981795 Merge pull request #3702 from alcohol/feature/list-scripts
Added --list to run-script command, closes #3671
2015-02-17 20:23:05 +00:00
msiebeneicher 636f93750c add "exclude-from-classmap" description to 04-schema.md 2015-02-17 15:56:34 +01:00
Felix Kiss 65f8d1c247 Update why-are-unbound-version-constraints-a-bad-idea.md
Minor text improvement
2015-02-17 02:46:15 +01:00
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
rkerner 38d546da45 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:03:17 +01:00
rkerner 40b498c96e * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:01:41 +01:00
rkerner 86c7dfcd94 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 16:00:43 +01:00
rkerner 62636cdd64 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 15:59:26 +01:00
rkerner a8b8a2e143 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
2015-02-11 15:57:33 +01:00
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 2015-02-03 21:06:53 +01:00
Rob Bast 1575f19ef2 Updated documentation 2015-02-03 15:26:02 +01:00
Nicolas Toniazzi 865eab602f Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
2015-02-02 14:03:13 +01:00
Hannes Van De Vreken 955e3f776a Add notion of autoloader skipping autoload-dev rules 2015-01-30 21:51:12 +01:00
Paul Dragoonis 2bd9cef799 Satis grammar fix. 2015-01-30 10:35:39 +00:00
Padraic Brady 6ce20d36b6 Resolve final conflicts 2015-01-29 20:34:05 +00:00
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
2015-01-29 20:31:56 +00:00
Nils Adermann 2fbce61f6a Merge pull request #3675 from Shelob9/patch-1
Add note about /usr not existing in OSX Yosemite by default.
2015-01-29 16:53:39 +01:00
Josh Pollock 76a0e818b5 Improve notice about /usr/local/bin 2015-01-28 21:33:42 -05:00
Nils Adermann 0543a32d39 Merge pull request #3610 from bd808/feature/classmap-authoritative
Add classmap-authoritative config setting
2015-01-28 11:26:28 +01:00
findstar 82831bec13 I think 'dump-autoload' command is more proper. 2015-01-28 15:07:44 +09:00
Josh Pollock 59141c8663 Add note about /usr not existing in OSX Yosemite by default.
BTW Seriously Apple?
2015-01-25 17:05:21 -05:00
Jordi Boggiano f5de5a1268 Merge pull request #3652 from hallabro/documentation-versionparser
Update documententation for version shorthand parsing
2015-01-20 10:27:47 +00:00
Jordi Boggiano dadf02f511 Merge remote-tracking branch 'tractorcow/pulls/fix-numeric-alias' 2015-01-20 10:18:29 +00:00
Jordi Boggiano af161e242e Add more troubleshooting info, refs #3457 2015-01-20 09:55:18 +00:00
Robin Hallabro ea3736522d Update documententation for version shorthand parsing 2015-01-20 09:05:40 +01:00
Damian Mooyman 7bb85ff21e Support aliases for numeric branches. Fixes #3461 2015-01-20 17:42:01 +13:00
SofHad 9d84a92163 Fixed json syntax error 2015-01-16 20:59:30 +01:00
Hannes Van De Vreken 200f867d64 "suggest" was on a wrong heading level compared to the others 2015-01-09 10:08:13 +01:00
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
2015-01-03 17:35:25 -07:00
Jordi Boggiano 8d0c1a14b3 Add --ignore-platform-reqs to create-project, refs #1426 2015-01-01 16:21:22 +00:00
Jordi Boggiano b8f4960f0d Merge remote-tracking branch 'mattsah/master' 2014-12-29 20:21:43 +00:00
Arfan 70007fee4e Typo edited.
Silly typo edit.
2014-12-21 02:18:29 +05:30
tomzx 6b5a531782 Minor fix to the HTTP Basic Authentication documentation
Replaced JSON array with JSON object since you cannot assign key values in an array.
2014-12-17 21:11:36 -05:00
Jordi Boggiano c54d6f93e3 Add --absolute to resolve absolute paths in config command, otherwise set default back to relative 2014-12-16 14:28:51 +00:00
Nicolas Toniazzi f046694e4b Merge branch 'master' of https://github.com/composer/composer
Conflicts:
	doc/04-schema.md
2014-12-15 15:16:18 +01:00
Nicolas Toniazzi ad9c3d3b30 Merge branch 'master' of https://github.com/composer/composer
Conflicts:
	src/Composer/Factory.php
2014-12-15 14:36:43 +01:00
Miodrag Tokić 12ba415f0e Fix documented Composer home variable name 2014-12-14 22:55:49 +01:00
Jordi Boggiano 901fd838f3 Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
add --prefer-lowest and --prefer-stable to update command
2014-12-14 13:02:06 +00:00
Nicolas Grekas e821ac2772 Persist prefer-lowest in composer.lock 2014-12-14 10:29:41 +01:00
Rob 2e4cb8be33 scrapping next line 2014-12-13 19:05:52 +01:00
Rob d26f817cfd rewriting some documentation sections 2014-12-13 18:59:14 +01:00
Jordi Boggiano d515577560 Fix wording, refs #3466 2014-12-13 13:37:05 +00:00
Jordi Boggiano d6d8fe5f55 Merge remote-tracking branch 'PaulSchell/patch-1' 2014-12-13 13:35:41 +00:00
Jordi Boggiano 4a3bc58adf Fix formatting 2014-12-10 15:36:16 +00:00
Jordi Boggiano fa470be001 Wording tweaks and docblock formatting, refs #2536 2014-12-08 21:30:39 +00:00
Jordi Boggiano 5c62e9b487 Merge remote-tracking branch 'cordoval/http-basic-auth' 2014-12-08 21:23:58 +00:00
Jordi Boggiano 90a69cd02e Add new arg to docs, refs #3385 2014-12-08 21:21:33 +00:00
Jordi Boggiano f363f9d370 Add support for caret (^) operator 2014-12-08 15:39:52 +00:00
Jordi Boggiano ebab9db27a Add support for hyphen ranges 2014-12-08 13:44:42 +00:00
Jordi Boggiano 69ef80124f Add support for capital X in 3.X and || for OR 2014-12-08 12:59:01 +00:00
Jordi Boggiano ca168d478b Spaces are now equivalent to comma in constraints and mean AND 2014-12-07 18:07:29 +00:00
Nicolas Toniazzi 75448ff09c Merge branch 'master' of github.com:ntoniazzi/composer
Conflicts:
	doc/04-schema.md
	src/Composer/Factory.php
2014-12-03 11:58:49 +01:00
ntoniazzi b79f38fd99 Conforming to XDG Base Directory Specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) 2014-12-03 11:55:50 +01:00
Paul Schell 62bcc3996b Update 00-intro.md 2014-11-25 17:01:07 +01:00