1
0
Fork 0
Commit Graph

843 Commits (3942cdf8df0867d7df5706b8a3ee05f601c2aa8c)

Author SHA1 Message Date
Jérôme Tamarelle ac68a721f4 Merge remote-tracking branch 'composer/master' into gitlab
Conflicts:
	doc/04-schema.md
	src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 2015-11-09 15:34:11 +01:00
Jordi Boggiano 5a5088eb34 Add docs about wildcard support 2015-10-30 20:48:26 +00:00
Jordi Boggiano 463236cb74 Close code block in docs and tweak some wording 2015-10-30 18:51:52 +00:00
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
2015-10-30 00:00:44 +00: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
Louis Lagrange fbe2a5e726 Add "out of memory" tip 2015-10-28 20:14:23 +01:00
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 2015-10-27 15:36:12 +00:00
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 2015-10-27 15:20:53 +00:00
Rob 7a9eb02190 Merge pull request #4455 from samsaggace/config_archive
Enable command line configuration for archive-dir and archive-format
2015-10-07 12:05:33 +02:00
Nicolas Toniazzi b6df8549cd Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
2015-10-05 09:52:52 +02:00
3onyc 8cacb16cce Typo: prefering -> preferring 2015-10-03 22:40:55 +02:00
Sebastien Chemin 13f6ae1820 Fix archive-dir documentation example
Use an example of archive-dir configuration
2015-09-28 13:33:35 +02:00
Jordi Boggiano 8f44f9cc67 Merge pull request #4422 from dennisbirkholz/wildcard-repositories
Enable wildcards in path names for path repositories
2015-09-20 16:41:02 +01:00
Jordi Boggiano 8913ac2fff Merge pull request #4362 from bd808/classmap-authoritative-cli
Add cli argument for classmap-authoritative
2015-09-20 16:00:21 +01:00
Jordi Boggiano 620e629ec3 Update some more descriptions, refs #4114 2015-09-20 14:11:09 +01:00
Jordi Boggiano b9fbd5e5b1 Merge remote-tracking branch 'nevvermind/patch-2' 2015-09-20 14:08:32 +01:00
Dennis Birkholz 17636d1bd2 Use 'note' box to inform about wildcards 2015-09-18 14:23:54 +02:00
Dennis Birkholz e4435790a4 Documentation 2015-09-15 17:39:55 +02:00
Gabriele Santini dd0070af98 Update 05-repositories.md
fix typo
2015-09-15 16:44:41 +02:00
Samuel ROZE 284e4761bf Add documentation about the `path` repository 2015-09-14 09:48:15 +01:00
Rob 9f6fdfd703 spelling 2015-09-07 18:55:30 +02:00
Daniel Fahlke f0d6436293 add period 2015-09-05 17:12:20 +02:00
Daniel Fahlke d19aeab55c add another case when package is not found
occurred for my when I wanted to update a meta package, where nearly **ALL** dependencies changed their version.
2015-09-05 11:46:02 +02:00
Bryan Davis 71cb587611 Add autoloader cli options to `require` and `remove`
Update the `composer require` and `composer remove` commands to support
the `--optimize-autoloader` and `--classmap-authoritative` cli options
and associated configuration settings. All cli entry points that invoke
`Installer::run()` or `AutoloadGenerator::dump()` now have consistent
support for these autoloader optimization flags.
2015-08-19 22:18:54 -06:00
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
2015-08-19 22:18:54 -06:00
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
Steve Buzonas 7f8677d410 fixed tabs to spaces in doc 2015-04-18 21:17:19 -04:00
Steve Buzonas 20745f839c add documentation for preferred-install changes 2015-04-18 21:11:04 -04: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