91 Commits (47da91d99830f8136ba151456245673447c3c564)

Author SHA1 Message Date
Rob Bast 474541e9aa apply comments
- add capath to json schema
- simplify factory
- hash_file and sha256 for CA checking
- remove exception as scenario should not occur
- remove executable bit from CA file
- make CA file also group/world writable (we overwrite invalid content anyway)
    to avoid permission errors as much as possible
9 years ago
Jordi Boggiano 96ff17c520 Cleanups of XDG support, refs #1407 9 years ago
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 9 years ago
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Michal Gebauer ce74477899 Configuration of GitLab driver 9 years ago
Jordi Boggiano 430c6f3972 Allow string in abandoned format as well, refs #4621 9 years ago
Thiago Carvalho 320533bcf9 Fixes #4610 9 years ago
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Kocsis Máté 1bfb4faac6 Removed unnecessary type in the JSON schema 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Rob Bast e4118385a0 updated spdx related files 9 years ago
Thibault Jamet 3ab05fb54f Update composer-schema with archive configuration 9 years ago
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
9 years ago
Josh Di Fabio 03b7388eb2 Fix typo in composer-schema.json 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 years ago
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
  ...
9 years ago
isoroku e0657b60a2 Fix misspellings 9 years ago
Kocsis Máté ca0b5495b6 Made the type of bin-compat to enum in Composer schema 9 years ago
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
10 years ago
msiebeneicher f28785a49d Merge branches 'add_exclude' and 'master' of https://github.com/trivago/composer into add_exclude
* 'add_exclude' of https://github.com/trivago/composer:

# By Jordi Boggiano (239) and others
# Via Jordi Boggiano (184) and others
* 'master' of https://github.com/trivago/composer: (638 commits)
  Simplified syntax
  github deprecation changes
  fix bug in GitDriver::supports for remote repo
  strict check, testcase(s)
  Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716
  solve edge case for `composer remove vendor/pkg`
  chmod 644 src/Composer/Command/RemoveCommand.php
  Avoid failing on composer show of lazy providers
  Show more info when a download fails
  Add notion of autoloader skipping autoload-dev rules
  Satis grammar fix.
  remove unused statements
  removed needless output param
  + limit git ls-remote to heads + escape repo url
  add check for remote Repository in GitDriver::supports
  suppress the prefix
  Improve notice about /usr/local/bin
  Reuse current file permissions
  Add the P character to the regex pattern
  Added deprecated warning for the dev option
  ...

Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Autoload/ClassMapGenerator.php
10 years ago
Rob Bast d02eb8760b strict check, testcase(s) 10 years ago
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 10 years ago
rkerner abc9d60fcc added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches 10 years ago
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
10 years ago
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
10 years ago
Mads Kristensen acf3638762 Converted to draft v4 schema
Editors such as Visual Studio leverages JSON Schema draft v4, but this schema was authored in the old draft v3. With just a few minor changes, the schema is now draft v4.

* Added `$schema` property to state it is using schema draft v4
* Changed `required` properties to arrays instead of strings. This is the only real difference from v3 to v4 in this schema
10 years ago
Jordi Boggiano 494f5698c4 Update SPDX licenses, fixes #3431 10 years ago
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 10 years ago
David Grudl c03bcf0103 Update SPDX license identifiers to version 1.19 10 years ago
Jordi Boggiano 8035dbd714 Add full timezone date example, fixes #3038 10 years ago
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 10 years ago
Pádraic Brady 6c7dd39837 Merge branch 'master' of github.com:composer/composer into tls-config 10 years ago
Pádraic Brady 470fb58273 Add a bundled cacert.pem as a last resort option 10 years ago
Bilal Amarni db91454a13 added an autoload-dev section 10 years ago
René Kerner b0ec8ee096 * added exclude-from-classmap feature
* updated to latest master version
11 years ago
Robert Boloc 8a221854b1 changed name of the option to optimize-autoloader 11 years ago
Robert Boloc f67f04adfb added config option to optimize the autoloader always 11 years ago
Jordi Boggiano 8775a89710 deprecate target-dir and update docs to recommend psr-4, refs #2459 11 years ago
Jordi Boggiano 3c5000ad7f CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459 11 years ago
Jordi Boggiano b23742e30c Merge remote-tracking branch 'donquixote/feature/psr4-complete' 11 years ago
Jordi Boggiano f85a366eb9 Finalize new autoloader-suffix config value, refs #2524, fixes #1413 11 years ago
Stan Lemon 5fd3223aec Updates per @stof 11 years ago
Stan Lemon d6c46f2091 Allow the autoloader suffix to be configured from a project's composer.json 11 years ago
Andreas Hennings 39c09d5192 Add psr-4 stuff in a few more places. 11 years ago