Jordi Boggiano
90332f1dbd
Add a readonly mode to the cache, fixes #9150
4 years ago
Jordi Boggiano
875a4784ed
Reorg config class a little
4 years ago
Jordi Boggiano
2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer
4 years ago
Jordi Boggiano
f964b83018
Add bearer support in config command and add to docs/schema, refs #8671
5 years ago
Arnout Boks
7c5e5e3ede
Add option to disable the lock file
...
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.
https://github.com/composer/composer/issues/8354
5 years ago
Kevin Boyd
5633a68689
Add a helper to disable process timeouts
...
The helper can be included in custom script definitions by calling
"Composer\\Config::disableProcessTimeout".
Example:
{
"scripts": {
"watch": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/long-running-script --watch"
]
}
}
6 years ago
Jordi Boggiano
11bfe9970f
Merge pull request #7912 from kathyoungaligent/feature/no-api-config
...
Feature/no api config
6 years ago
Kath Young
fbb9d20c33
Adjusted config name to be more descriptive, added documentation
6 years ago
Kath Young
3d1e0e79cc
Allow for no-api for Github to be a composer configuration as well as repo specific
6 years ago
bugreportuser
2739fc05e9
Read htaccess-protect as a bool
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Wil Hall
f0924fb878
Add htaccess-protect option for disabling the creation of .htaccess files
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Stefan Grootscholten
a4af559ca8
Store access-token for re-use
...
Store the Bitbucket access-token (and the expiration time) so it can be re-used within the time it is valid.
The Bitbucket::requestToken and Bitbucket::getToken now only return the access-token and not all other parameters it receives from the Bitbucket API.
8 years ago
Jordi Boggiano
1464146629
Explicitly cast possible-null to string
8 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Jordi Boggiano
e38ebefc7e
Update packagist default repo to be packagist.org
8 years ago
Fabien Potencier
2c77fd6801
Fix process timeout when set to 0
8 years ago
moyo
997a062ebd
Support gitlab private-token (or personal-access-token) for easier access via gitlab API
...
Config example:
$HOME/.composer/auth.json
{
"gitlab-token": {
"gitlab.com": "YOUR-TOKEN-HERE"
}
}
Gitlab API authentication doc: http://doc.gitlab.com/ce/api/README.html
8 years ago
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
9 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
9 years ago
Niels Keurentjes
d5158d943f
Exempt custom URLs from secure-http checks, refs #5173
9 years ago
Niels Keurentjes
c9534d48c1
Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation.
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
9 years ago
David Zuelke
cf43244f85
fix config add/remove/unset/merge for bitbucket
9 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
9 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 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.
9 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
3c640e689e
Fix regex escaping and remove constants
9 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
9 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