Commit graph

5021 commits

Author SHA1 Message Date
Florian Greinacher
9c94b3c45b
fix: mark unlisted NuGet package version as deprecated (#7304)
Fixes #7299

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-17 20:19:48 +02:00
Tobias Bieniek
f254a6fc8c
feat(cargo): Add support for lockfile maintenance (#7268) 2020-09-17 10:59:59 +02:00
ylemkimon
de7ca87758
fix(npm): merge compatibility in generateBranchConfig (#7290)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-17 10:36:11 +02:00
Rhys Arkins
62bc64970a
feat: extractVersion (#7307)
Adds a new option extractVersion which allows for extracting a substring of raw versions from datasources, to be used as the actual version.

Closes #7297, Closes #6793
2020-09-17 10:06:06 +02:00
Rhys Arkins
953101bf15
fix: don’t force cli token or hostRules (#7303)
Closes #7298
2020-09-16 16:34:18 +02:00
Jérémie Astori
ba71eff36d
feat(preset): add the formatjs monorepo (#7294) 2020-09-16 06:33:36 +02:00
Rhys Arkins
4e1ace3a85 fix(git): gracefully abort for bad revision errors 2020-09-15 12:05:19 +02:00
Antek S
8b0cac5a0e
feat(pypi): Add more changelogUrls for python projects (#7289) 2020-09-15 11:41:28 +02:00
Robert Lin
cd57b3e3df
fix: do not override config.force with forceCli (#7274) 2020-09-15 10:17:44 +02:00
jgarec
662a249ba0
fix(migration): do not migrate semanticCommits if not necessary (#7280) 2020-09-15 06:34:00 +02:00
Rhys Arkins
35c5fe81a1 feat(internal): log fixedVersion of dependencies 2020-09-13 12:03:20 +02:00
Rhys Arkins
2c9ebbe54b refactor: sort fileMatch result for deterministic ordering 2020-09-13 07:17:43 +02:00
Rhys Arkins
6c9c4ac14e fix(azure): add auth value to sanitized strings 2020-09-12 19:43:55 +02:00
Tobias Bieniek
7ab9b6bdd9
chore(datasource/crate): Extract getIndexSuffix() function and add tests (#7263)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-12 14:37:38 +02:00
Tobias Bieniek
9c4203c890
chore(datasource/metadata): Move massageGithub|GitLabUrl() functions out of addMetaData() (#7264) 2020-09-12 14:15:40 +02:00
Tobias Bieniek
171b65eed0
feat(pr/body): Fall back to dependencyUrl property (#7262)
... if no `homepage` or `sourceUrl` is available

This is relevant for the `crate` datasource where both are currently not available due to the API rate limiting.
2020-09-12 14:11:35 +02:00
Tobias Bieniek
1ed10fbe4b
feat(datasource/crate): Assign dependencyUrl property (#7261)
If I understand correctly the `dependencyUrl` property is supposed to link to the package on the package registry, which is crates.io in this case. This could potentially be used in the PR description if no homepage or source URL is available.
2020-09-12 14:10:19 +02:00
Tobias Bieniek
e872011546
feat: Add ember-template-lint to packages:linters preset (#7259) 2020-09-12 13:34:11 +02:00
Tobias Bieniek
b0cfbbae98
feat: Add @embroider monorepo (#7256)
see https://github.com/embroider-build/embroider/
2020-09-12 13:09:50 +02:00
Tobias Bieniek
02936d4650
feat: Add group:glimmer (#7257)
from https://github.com/glimmerjs/glimmer.js/tree/master/packages/%40glimmer

Note that not all packages should be included since these two are the only ones that are currently considered stable and officially used in Ember.js
2020-09-12 13:09:38 +02:00
Tobias Bieniek
c474d717b0
feat: Add ember-exam|qunit|mocha to packages:jsUnitTest preset (#7260) 2020-09-12 13:09:26 +02:00
Tobias Bieniek
2663dc5d32
fix: Fix semanticCommits migration code (#7258)
The code was overriding any non-boolean value with `auto`, even if `enabled` or `disabled` was set.
2020-09-12 11:36:41 +02:00
Rhys Arkins
facf46c84e
fix: treat config validation errors as enabled (#7255) 2020-09-12 07:28:12 +02:00
Sergio Zharinov
ec2154963a
fix(dependency-dashboard): Force checked PRs creation (#7253)
* fix(dependency-dashboard): Force checked PRs creation

* Simplify

* Remove unused check
2020-09-11 20:35:57 +02:00
Sergio Zharinov
1f4bda7877
feat(gradle): Add more variable patterns for Kotlin files (#7250) 2020-09-11 17:54:12 +02:00
Rhys Arkins
243728f263 fix(config): Migrate semantic commit option to enum type (#7170)
This reverts commit d1d7901a0a.
2020-09-11 13:15:04 +02:00
Rhys Arkins
d1d7901a0a fix: Revert "fix(config): Migrate semantic commit option to enum type (#7170)"
This reverts commit d2a5b7167b.
2020-09-11 12:43:49 +02:00
Sergio Zharinov
d2a5b7167b
fix(config): Migrate semantic commit option to enum type (#7170)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-11 11:45:14 +02:00
Rhys Arkins
42e223da3b
fix(git): clone default branch to depth 10 (#7249)
Necessary for accurate detection of semantic commits.
2020-09-11 10:28:28 +02:00
Shotaro Watanabe
487753a71b
feat(preset): add reg-suit monorepo (#7248) 2020-09-11 06:45:37 +02:00
Rhys Arkins
b7ac19d9bf
fix: sanitize github vulnerability alert bodies (#7246) 2020-09-10 21:57:18 +02:00
Rhys Arkins
5ba2704080
fix(git): fetch long sha for branchCommits (#7240) 2020-09-10 11:45:21 +02:00
Marek Hornak
5475f42518
fix(utils): change default maxBuffer limit to 10MB (#7209) 2020-09-10 07:00:40 +02:00
ylemkimon
fd1b04665a
fix(npm): fix lockfileUpdate commands for Yarn 2 (#7230) 2020-09-10 07:00:21 +02:00
Sergio Zharinov
79596e43c2
fix(gitea): Return only PRs created by Renovate (#7229) 2020-09-09 13:54:57 +02:00
Sergio Zharinov
6ac379715b
refactor(platform): Introduce optional getJsonFile function (#7174)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 11:08:51 +02:00
Rhys Arkins
9896f5e562
refactor: handle undefined platformOptions (#7227) 2020-09-09 11:07:38 +02:00
Rhys Arkins
6a98ab1fe0 chore: fix tests 2020-09-09 09:13:45 +02:00
ylemkimon
df2b2b3fa2
fix(npm): lockfileUpdate for Yarn 2 (#7222)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 08:42:40 +02:00
ylemkimon
fcd9bdc314
fix(npm): set CI=true in Yarn generateLockFile (#7223)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 08:42:27 +02:00
ylemkimon
c65d400489
fix(npm): correct Yarn lockedVersion for scoped package (#7219)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 08:11:52 +02:00
ylemkimon
fbd0fdd7de
fix(npm): yarnDedupeHighest for Yarn 2 (#7200) 2020-09-08 13:21:26 +02:00
Sergio Zharinov
cb240141b8
fix(azure): Fix "branchName" field for azure-helper.ts (#7211)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 13:20:35 +02:00
Tobias Bieniek
c0026ff1c9
fix: changelog: Fix files.length conditions (#7210)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 13:20:17 +02:00
Michael Kriese
0503ad7c7a
feat: add docker image prefix (#7164)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:59:47 +02:00
renovate[bot]
2d2e95c747
chore(deps): update dependency typescript to v4 (#7092)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:26:17 +02:00
Michael Kriese
6fefb268f9
fix(helm-values): update digest if available (#7202) 2020-09-08 07:42:00 +02:00
ylemkimon
605346f51b
fix(npm): more granular Yarn 2 version detection (#7204) 2020-09-08 07:12:25 +02:00
ylemkimon
efafeea3c4
fix(preset): add istanbuljs monorepo (#7201)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 07:00:19 +02:00
Jamie Magee
f3a3db4a4f
fix(pr): move ADO and BB pr config to repo configuration (#7176)
* fix(pr): move ADO and BB pr config to repo configuration

This change moves `azureWorkItemId` & `bbUseDefaultReviewers` from self-hosted configuration (only) and allows them to be set at any level.

In draft for now as it needs test fixes

Fixes #7150

* test fixes

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 12:55:37 +02:00
renovate[bot]
907b2b054e
chore(deps): update linters (major) (#7185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-07 09:54:07 +02:00
Christophe Hurpeau
ef3a79bdfe
fix: don't try to install yarn 2 from npm (#7183)
as yarn 2 is local in the project and should be started by yarn 1 via yarn config file.
When using yarn2, installing latest yarn (v1) should work best

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:49:40 +02:00
Tim Gatzemeier
ee5e0ad162
feat: add privateKeyPath to support reading PK from file (#7158)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:42:33 +02:00
pulish
5f2844247f
fix(dry-run): don't check non existing branch in dry-run (#7171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:38:19 +02:00
Rhys Arkins
462351f9b1
feat(logger): serialize got request error (#7181)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:34:17 +02:00
Sergio Zharinov
ab842850f9
fix(nuget): Parse nested Version XML elements (#7190)
* fix(nuget): Parse nested Version XML elements

* Compactify currentValue extraction chain

* Fix coverage

* Don't walk through entire XML

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 07:51:16 +02:00
Lukas
b21530bb16
feat(preset): add fullcalendar monorepo (#7182) 2020-09-04 12:14:26 +02:00
Rhys Arkins
73f11c09ee refactor: log setBranchStatus url if failing 2020-09-04 10:55:36 +02:00
Christian Murphy
63b487aad1
feat(preset): add lrnwebcomponents monorepo (#7172) 2020-09-03 17:31:52 +02:00
Sergio Zharinov
d2ec7ccd2e
fix(nuget): Fix cache key and URL construction (#7169) 2020-09-03 08:37:15 +02:00
Michael Kriese
63cc26e3ea
fix(git): wrong config argument passing (#7166) 2020-09-02 18:03:45 +02:00
Rhys Arkins
83e54064f9
fix(azure): use repo remoteUrl if available (#7165) 2020-09-02 11:31:16 +02:00
Rhys Arkins
1d83cbbc4b
fix(github): massage url and message in errors (#7160) 2020-09-02 09:19:50 +02:00
Rhys Arkins
2c9b1de0b8 refactor: remove unused branchList in updateRepo 2020-09-01 18:33:45 +02:00
Rhys Arkins
1627db8c3f
refactor: simplify baseBranchSha, reduce checkouts (#7159) 2020-09-01 18:32:58 +02:00
Rhys Arkins
bb708262c8 refactor: remove defaultBranchSha from repo init 2020-09-01 17:10:58 +02:00
Rhys Arkins
6a0fade7f9 refactor: drop defaultBranchSha from platform/github 2020-09-01 17:09:11 +02:00
Rhys Arkins
539312645c refactor: better init config names 2020-09-01 16:40:06 +02:00
Rhys Arkins
4a0605a765 fix(changelog): harden check for fromVersion and toVersion 2020-09-01 15:59:54 +02:00
Kid
6fb36435f4
feat(npm): Update Yarn install arguments (#7156)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 15:57:55 +02:00
Rhys Arkins
2d344b1a69 test: remove noisy snapshot 2020-09-01 15:31:02 +02:00
Sergio Zharinov
831c45397f
refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00
Rhys Arkins
ed1f650030 feat(config): templated branchPrefix migration 2020-09-01 14:37:09 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Julien Poissonnier
a2b2671370
fix(gitlab): Restore auth for versions older than 12.2 (#7155) 2020-09-01 12:42:23 +02:00
Rhys Arkins
c75d2c6873
refactor: detectSemanticCommits (#7151) 2020-09-01 10:44:52 +02:00
Rhys Arkins
6d24e9de78
fix(azure): pass extra clone options when fetching branch commits (#7149)
* fix(azure): pass extra clone options when fetching branch commits

Closes #7148

* more coverage
2020-09-01 09:39:10 +02:00
Rhys Arkins
1aa5ffc503 fix(azure): repository is empty if no defaultBranch 2020-09-01 09:00:34 +02:00
Rhys Arkins
540d47ba87 chore: fix lint 2020-09-01 07:25:13 +02:00
Rhys Arkins
1ddbce2fa2 test: refactor init tests 2020-09-01 07:10:50 +02:00
Rhys Arkins
92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins
0bd7d27b33 chore: type -> interface 2020-09-01 06:30:52 +02:00
Rhys Arkins
750cd30296 chore: remove unused defaultBranch cache 2020-09-01 06:23:59 +02:00
Rhys Arkins
8a286a4663 chore: rename RepoConfig -> RepoFileConfig 2020-09-01 06:20:26 +02:00
Rhys Arkins
4b2eaf54ec
refactor: initRepo cache (#7146) 2020-08-31 20:01:41 +02:00
Tom Wieczorek
b7f215b90a
fix(git): add dashes after git log <rev> (#7144)
To fix an ambiguous argument error from git, following this notation:

    git <command> [<revision>...] -- [<file>...]
2020-08-31 19:14:32 +02:00
Sergio Zharinov
bffebcc331
refactor(workers): Enum type for ProcessBranchResult (#7132) 2020-08-31 16:05:38 +02:00
Julien Poissonnier
499c838fe0
feat(gitlab): Allow using an OAuth2 token for authentication (#7131)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-31 15:36:48 +02:00
Samuel Bodin
addfd4ef83
fix(circleci): leading dash is optional (#7143) 2020-08-31 14:21:08 +02:00
Rhys Arkins
6dbb1c710c refactor: get defaultBranchSha from git 2020-08-31 13:14:13 +02:00
Sergio Zharinov
ad52ac9b13
fix(eslint): Restrict the rules and fix errors (#7117) 2020-08-31 13:13:02 +02:00
Rhys Arkins
0a60516891 chore: getRepoConfig -> detectRepoFileConfig 2020-08-31 12:42:25 +02:00
Rhys Arkins
b88b1c96da refactor: split out repo config error throwing 2020-08-31 12:31:42 +02:00
Rhys Arkins
40d3316703 refactor: write repoConfig to cache 2020-08-31 12:14:10 +02:00
Rhys Arkins
8c5e6f3689
refactor: split getRepoConfig from mergeRenovateConfig (#7142) 2020-08-31 11:40:18 +02:00
Rhys Arkins
01659f2bb2 chore: fix lint 2020-08-31 11:20:53 +02:00
Rhys Arkins
81a75dd8b4 refactor: remove null file check 2020-08-31 11:14:55 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
655bdc1dda fix: Revert "feat(config): templated branchPrefix migration"
This reverts commit 7235c14df6.
2020-08-31 09:33:19 +02:00