Kocsis Máté
87c16073ec
Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat
9 years ago
Andreas Möller
eac5fbdee4
Fix: Remove unused imports
9 years ago
Nicolas Toniazzi
7d63eb5718
Merge remote-tracking branch 'parent/master'
...
Conflicts:
doc/04-schema.md
9 years ago
Thibault Jamet
1eec4fdfa5
Add archive configuration default values
9 years ago
nevvermind
3032f0a538
Refactor based on code review
...
- Move the version api getter to the PluginManager And make it such that it can be mocked, but not pollute the public interface. That means "protected" visibility.
- The plugin api version constant should still be used throughout the code.
- Use different fixtures class names
- Use regex possessive quantifiers for performance
- Use full words for readability
9 years ago
nevvermind
eb2aa14830
Make plugins have actual constraints instead of fixed versions
...
Instead of developing plugins against a single, fixed Plugin API version - `"composer-plugin-api": "1.0.0"`, this change will allow plugin developers to use versions like `"composer-plugin-api": "~1.1"` or `"composer-plugin-api": ">=2.1 <3.0"`, aka actual Composer-compatible constraints.
Only the "1.0", "1.0.0" and "1.0.0" Plugin API versions will be regarded as BC versions, and internally converted to "^1.0"; every other declared version string will be kept as it is.
Because of this new constraint flexibility, plugin version mismatches will be skipped, which means those plugin will NOT be registered to the system. Previously, a mismatch triggered a warning, but plugins were still registered.
9 years ago
Jordi Boggiano
80b0a35a68
Merge remote-tracking branch 'HuffAndPuff/ignore-platform'
...
Conflicts:
src/Composer/Config.php
src/Composer/Repository/PlatformRepository.php
10 years ago
Steve Buzonas
73c1f8c0e0
prefer strings for install handling when possible
10 years ago
Steve Buzonas
124739d055
fix preference resolution to be backwards compatible
10 years ago
Jérôme Tamarelle
48fc2eafa0
Add gitlab.com as default GitLab domain
10 years ago
Steve Buzonas
bf08b6eb90
add support for package based install type preferences
10 years ago
Kocsis Máté
7b4fe767a4
Added space before assignment operator
10 years ago
Kocsis Máté
d7437f19ad
Changed config key order
10 years ago
Kocsis Máté
08c4732d1e
Improving bin-compat configuration
10 years ago
Nicolas Toniazzi
865eab602f
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
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
Nils Adermann
0543a32d39
Merge pull request #3610 from bd808/feature/classmap-authoritative
...
Add classmap-authoritative config setting
10 years ago
Dmitry Tarasov
3b678ee379
Fix error handling for incorrect "repositories" array
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
Jordi Boggiano
60ac971419
Fix relative path fetching when a var uses var replacement, fixes #3564
10 years ago
Jordi Boggiano
c54d6f93e3
Add --absolute to resolve absolute paths in config command, otherwise set default back to relative
10 years ago
Jordi Boggiano
331bda235c
Fix activation of global plugins, fixes #3557
10 years ago
Nicolas Toniazzi
ad9c3d3b30
Merge branch 'master' of https://github.com/composer/composer
...
Conflicts:
src/Composer/Factory.php
10 years ago
Jordi Boggiano
fc3c7838b2
CS fixes
10 years ago
Nicolas Toniazzi
83a1441285
Added support for backup PHARs
10 years ago
Chris Smith
86b5938cdb
Allow reading of COMPOSER_ environment variables to be disabled
10 years ago
xelan
bddba72e13
Option to disable inclusion of hostname in OAuth app name
10 years ago
Jordi Boggiano
449f8165ef
Allow $HOME and ~ usage in all *-dir config values, fixes #3060
10 years ago
Jordi Boggiano
d9fe17443b
Allow empty json files to be merged into a config, fixes #3055
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
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
Joakim Israelsson
571363dee2
The config setting 'platform' is used to override platform packages.
...
Like suggested in #1522 .
These overridden packages appear only during install/update and not
when running init, show and search commands.
I don't know if they should or not.
11 years ago
Pádraic Brady
9881d76216
Adds Composer\Factory::createRemoteFilesystem():
...
- Implemented in self-update command
- Added to Composer\IO\BaseIO the getInputOption() and getInputArgument() getters to allow access to input
- Fixed some minor bugs
11 years ago
Pádraic Brady
cb32c480be
Validate disable-tls and cafile config file values
11 years ago
Pádraic Brady
7e30c67827
Add config.json default config option for "disable-tls" (FALSE by default)
11 years ago
Jordi Boggiano
9896abeb38
Doc tweaks, refs #2682
11 years ago
Jordi Boggiano
245461d8ed
Merge pull request #2682 from gena01/ssh-support-in-github-protocols
...
Adding ssh protocol support to "github-protocols".
11 years ago
Dave Hulbert
81aa3a850c
Fix some PHP doc blocks
11 years ago
Gennady Feldman
ac78eaa027
Adding ssh protocol support to github-protocols.
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
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
Jordi Boggiano
7148b22414
Add github-domains config value for GitHub Enterprise setups, fixes #728
...
Signed-off-by: Gennady Feldman <gena01@gmail.com>
11 years ago
Ruud Denivel
c7bb3ad746
refactor prepend autoloader from cli option to config var (prepend-autoloader) in composer.json
11 years ago
Jordi Boggiano
e68d455c5c
Remove the http protocol from github-protocols, refs #1955
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Jordi Boggiano
19bfd6c713
Clarify some more
12 years ago
Jordi Boggiano
9e210c8338
Clarify exception message
12 years ago
Jordi Boggiano
1d5e3c5a0d
Fix handling of COMPOSER_DISCARD_CHANGES env var
12 years ago
Jordi Boggiano
894f530898
Add COMPOSER_DISCARD_CHANGE env var, refs #1188
12 years ago
Miklós Márton
72a4146383
Scratch 'prefer-source'; 'preferred-install' is the bee's knees
12 years ago
Miklós Márton
0f8530ef56
Support for 'prefer-source' config setting, refs #553
12 years ago
Jordi Boggiano
f06c0cb580
Code reorgs and make bool values real booleans, refs #1637
12 years ago
Ricard Clau
48ac383599
initial steps with new config value, implementation of discard changes for git and svn
12 years ago
Jordi Boggiano
995dc40130
Make packagist downgrade out of ssl after fetching the main file, since the other files can be verified via sha256
12 years ago
Jordi Boggiano
94e99b9c8b
Update docs, config command and schema with all the config values
12 years ago
Pierre du Plessis
84b34b70e0
Add config option to set if the PHP include path should automatically be used when generating the autoloader
12 years ago
Jordi Boggiano
2e19d67aec
allow K/KB as well as KiB for cache size configuration
12 years ago
Jordi Boggiano
514a3cde77
CS fixes
12 years ago
Galymzhan
219b489d01
add size-based limit for files cache, fixes #1321
12 years ago
Jordi Boggiano
23d45f67c1
Fix config merging for arrays
12 years ago
Jordi Boggiano
111c42b8fb
Make config command list all values in the config (aggregated defaults + global [+ local])
12 years ago
Jordi Boggiano
15475f0ef2
Rename cache dirs to consolidate them by purpose
12 years ago
Jordi Boggiano
b05a554883
Add cache-files-ttl setting, and docs for the cache
12 years ago
Jordi Boggiano
5a9d986e67
Implement cache GC and fix keys
12 years ago
Jordi Boggiano
e410da786e
Add ConfigSourceInterface and matching class
12 years ago
Jordi Boggiano
fb296972ef
Enable https for packagist when possible
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Nils Adermann
d84273ee34
Merge pull request #833 from Seldaek/installmgr_cleanup
...
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
890e60c614
Allow multiple configs to disable the same repo
12 years ago
Jordi Boggiano
b876dcbafb
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
ffecd39d33
Refactor repositories handling in config/factory/loader, fixes #828 , fixes #826
12 years ago
Jordi Boggiano
488e794c9b
Merge repos instead of replacing
12 years ago
Jordi Boggiano
3ac11b932c
Expose default repositories in system config file
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jordi Boggiano
b094ef7155
Add repository notification API support
13 years ago
Nils Adermann
38cc4e9e5f
Config values from local config overwrite global config
13 years ago
Jordi Boggiano
fc29487a2a
Add home config key and use it to create the cache instance
13 years ago
Jordi Boggiano
28d0f4a7c8
Add docblocks
13 years ago
Jordi Boggiano
e638182397
Add Config class and system-wide config management, fixes #513
13 years ago