Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
8 years ago
David Zuelke
cf43244f85
fix config add/remove/unset/merge for bitbucket
8 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
8 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
8 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
8 years ago
Paul Wenke
9059d70ba0
Corrected username / access token parameters for $this->io->setAuthentication when read from git config. Grant type is now only set when requesting an access token. Removed bitbucket-domains and bitbucket-protocols from config. Fixed bitbucket typo in JsonConfigSource. Removed unecessary comments. Changed visibility of Composer/Util/Bitbucket properties to private. Added https to bitbucket url. Removed unused $note variable.
8 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
8 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
8 years ago
Jordi Boggiano
3c640e689e
Fix regex escaping and remove constants
8 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
8 years ago
cinamo
ef60478926
Added secure-http flag, defaults to true
9 years ago
appchecker
13b50799d1
fix: missing parentheses
9 years ago
Jordi Boggiano
03e0d65f37
Allow stream wrapper usage in config dirs, fixes #4788
9 years ago
Rob Bast
c1488f65bf
a quick stab at adding capath
9 years ago
Jordi Boggiano
395d115d9b
Resolve all dirs before initializing them, fixes #4802
9 years ago
Jordi Boggiano
3e9efcfb85
Merge remote-tracking branch 'ntoniazzi/master'
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
hanov.ruslan
b298b9e8c6
Added sort-packages into config
9 years ago
Michal Gebauer
ce74477899
Configuration of GitLab driver
9 years ago
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
9 years ago
Jordi Boggiano
615638c7c3
Simplify bin-compat by removing the nosymlink option, refs #3704
9 years ago
Jordi Boggiano
c9b51a5751
Merge remote-tracking branch 'kocsismate/feature-bin-compat'
9 years ago
Nicolas Toniazzi
b6df8549cd
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Dennis Birkholz
1d7fa565e6
Fix check for flag in case RELATIVE_PATHS should be changed somehow
9 years ago
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
9 years ago
Steve Buzonas
73c1f8c0e0
prefer strings for install handling when possible
9 years ago
Steve Buzonas
124739d055
fix preference resolution to be backwards compatible
9 years ago
Jérôme Tamarelle
48fc2eafa0
Add gitlab.com as default GitLab domain
9 years ago
Steve Buzonas
bf08b6eb90
add support for package based install type preferences
9 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