Commit graph

7815 commits

Author SHA1 Message Date
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Michael Kriese
7f76a474a7
fix(datasource/golang-version): use HEAD instead of master (#17205) 2022-08-16 07:57:25 +00:00
Michael Kriese
8586f463ea
test(gradle-wrapper): modernize tests (#17204) 2022-08-16 09:14:38 +02:00
Masaki Hara
c9b21cee48
feat(ruby): improve bump/widen strategy for ~> (#17091) 2022-08-16 05:37:29 +00:00
RahulGautamSingh
7afb49de31
test: add assertion to test ensureCommentRemoval in dryRun (#17183)
add assertion
2022-08-15 13:06:22 +02:00
Gabriel-Ladzaretti
9c23f48008
fix(core/dashboard): fix truncated issue body (#16527) 2022-08-15 06:00:26 +00:00
Hasan Awad
719ab9be4a
fix(manager/gitlabci): clean more than one slash (#17132) 2022-08-14 15:57:37 +00:00
RahulGautamSingh
2d71049650
test: add test for empty string (#17162) 2022-08-13 09:47:06 +00:00
HonkingGoose
7e4aafc228
docs(docker versioning): rewrite (#17097)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-08-12 18:34:46 +00:00
Gabriel-Ladzaretti
9f837f226d
feat(lib/logger): add base branch metadata for multi-base repositories (#17027) 2022-08-12 08:19:31 +00:00
Michael Kriese
e24fe313eb
fix: set newVersion for pin updates (#17150) 2022-08-12 07:39:19 +00:00
Michael Kriese
8fd114ea90
feat(changelogs): defer fetching until required (#17149) 2022-08-12 09:12:19 +02:00
Michael Kriese
60ed6ad40d
feat(versioning): add python versioning for buildpack (#17147) 2022-08-12 06:24:56 +00:00
Michael Kriese
321afb5ede
fix(manager/gomod): fix auth (#17140)
* fix(manager/gomod): fix auth

* fix: add another github url

* test: fix coverage

* Update lib/util/git/auth.spec.ts

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
2022-08-12 05:12:30 +00:00
Michael Kriese
b24d796623
feat: defer commitBody compile (#17108)
* feat(changelogs): defer commitBody compilation

* fix(changelogs): embed to upgrade instead of branch config

* feat: defer `commitBody` compilation

* Update lib/workers/repository/update/branch/index.spec.ts

* fix: wrong logJSON position

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-11 20:27:13 +00:00
Louis Segretin
cedc8e2f6b
feat(conan): add revisions support (#16871)
* feat: add conan revisions

* Adding getDigest and moved function

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Changing undefined condition

* Minimize tests

* Extract isCommon to new common.ts

* Removing isComment

* Update lib/modules/datasource/conan/types.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Removing digest from getReleases

* Removing digest from packageName

* cleaning up and fixing caching

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Adding back eslint-disable-next-line

* forcing registryUrl

* move to joinurlparts

* Refactor depName and userAndChannel

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-11 21:07:54 +02:00
Michael Kriese
f684da8c2f
fix(buildpack): use poetry versioning for python (#17129)
* fix(buildpack): use poetry versioning for python

* test: fix tests
2022-08-11 08:59:04 +00:00
Pascal Berger
08e6203217
docs: change heading to H4 (#17128)
Change heading to H4
2022-08-11 07:38:54 +00:00
Hasan Awad
3cec44cfa7
fix(manager/gomod): add multi-line replace detection (#17111) 2022-08-11 05:29:53 +00:00
Gabriel-Ladzaretti
82a1f32b9a
fix(repo/update): dry run - skip PR update when branch is modified (#17114)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-10 15:36:36 +00:00
Sebastian Poxhofer
726b97b2e2
fix(package-rules): remove edge case if no depName packageRules are defined (#16930) 2022-08-10 17:02:48 +02:00
Michael Kriese
4b4449baf0
fix(changelogs): embed to upgrade instead of branch config (#17107) 2022-08-10 12:58:38 +00:00
Sergei Zharinov
f3531226e9
fix(github): Check release date for undefined value (#17106) 2022-08-10 12:14:34 +00:00
Michael Kriese
7492200014
fix(datasource/docker): export default config via class (#17102) 2022-08-10 10:09:29 +00:00
Michael Kriese
c3e5e07344
fix: wrong commit message title for groups (#17100) 2022-08-10 11:54:31 +02:00
Rhys Arkins
83610e0166
fix(github-actions): pkg can be null (#17094) 2022-08-10 10:22:35 +03:00
Michael Kriese
2546c03f6c
feat(changelogs): defer retrieval if not required for templates (#17073) 2022-08-10 06:19:17 +00:00
Sergei Zharinov
42d4de6507
refactor(sbt): Reimplement the parser (#17054) 2022-08-10 07:56:27 +02:00
Hasan Awad
0e7c4306ec
refactor(manager/go): make multiline parsing a function (#17074)
* make multiline parsing a function

* refactor

* added interface for type

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-09 19:51:43 +00:00
Sergei Zharinov
35df2bdb7c
fix(template): Use proxy instead of deep clone (#17075) 2022-08-09 17:19:03 +00:00
Gabriel-Ladzaretti
1c429f6037
refactor(repository/merge): extract unnecessarily nested function from detectConfigFile (#17066)
extract unnecessary nested function from `detectConfigFile`

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-09 16:43:58 +00:00
Ryan Delaney
5069b60109
fix(docs): comma splices in help text (#17049) 2022-08-09 13:46:58 +03:00
Michael Kriese
99de3b72f0
test(python): fix snapshot tests (#17064) 2022-08-09 08:24:46 +02:00
Rhys Arkins
157c07a0a1
fix(yarn): check stdout for disk space error (#17056)
Closes #16536
2022-08-09 08:28:14 +03:00
RahulGautamSingh
d011e848a4
refactor: merge extract config types (#16204) 2022-08-09 05:26:35 +00:00
Jamie Magee
997e5a1216
feat(datasource/azure-pipelines-tasks): add azure-pipelines-tasks datasource (#16904)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-08 21:34:29 -07:00
Nabeel Saabna
f9258c1ca4
fix(versioning/semver-coerced): fix bugs in semver-coerced (#16973) 2022-08-08 18:46:07 +00:00
IKEDA Sho
c8ca4267ef
fix(manager): correctly escape the dot character in fileMatch (#17048) 2022-08-08 17:20:16 +02:00
cjtim
6f324e4130
chore(datasource/sbt): list package versions in debug (#17035) 2022-08-08 11:45:27 +00:00
Michael Kriese
e8b3aefe08
feat(presets): add xUnit.net monorepo (#17036) 2022-08-08 10:27:36 +00:00
Michael Kriese
a700765925
feat(python): redirect pip cache to renovate (#17038) 2022-08-08 09:26:26 +00:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* remove unecessary nullish op

* Update docs/usage/templates.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
Yun Lai
1111b322f5
fix(hermit): findUpLocal expects relative cwd, fix incorrect hermit env in nested directory setup (#17031) 2022-08-08 06:15:45 +00:00
cjtim
f61342d068
fix(manager/sbt): allow addCompilerPlugin (#17006)
* fix(sbt/manager): allow addCompilerPlugin

* add test case

* fix: toMatchObject

* yarn run jest:14 -u

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-07 05:38:17 +00:00
Sergei Zharinov
89e9d31935
feat(bazel): Parser reimplementation (#16931)
* feat(bazel): Parser reimplementation

* Fixes

* Update comments

* Fixes

* Fix

* More fixes

* Fix

* Simplify

* Refactor context

* Fixes

* One more warning log

* Fix lint

* Fix depth limit

* Add more tests

* Rename `extract-new.ts` to `extract.ts`

* Fixes

* Remove async

* Update lib/modules/manager/bazel/parser.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-07 08:12:32 +03:00
cjtim
b367f4db99
fix(manager/sbt): allow star comment (#17005)
* fix: sbt manager allow star comment

* Update lib/modules/manager/sbt/extract.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* add test case

* prettier-fix

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-06 13:34:08 +00:00
Rhys Arkins
53f687898e
fix(npm): use node versioning for node (#17014)
Closes #17013
2022-08-06 06:27:47 +00:00
Michael Kriese
ce2318765f
fix: Revert "fix(renovate-config-validator): add validate presets to the validator" (#17012)
Revert "fix(renovate-config-validator): add validate presets to the validator (#16468)"

This reverts commit 4b0b49e1c6.
2022-08-06 05:27:07 +00:00
Michael Kriese
be316c5d0b
feat(manager/npm): full npm buildpack support (#16976)
* feat(manager/npm): full npm buildpack support

* chore: fix test
2022-08-05 16:13:59 +00:00
Michael Kriese
ff1447c081
feat(manager/pip-compile): support buildpack (#16996)
* fix(buildpack): execute `preCommads` on install mode

* feat(manager/pip-compile): support buildpack
2022-08-05 15:42:26 +00:00
Michael Kriese
4573bd78e6
feat(manager/npm): lerna buildpack support (#16991) 2022-08-05 15:00:34 +00:00
Michael Kriese
41894744ff
feat(manager/npm): full pnpm buildpack support (#16989) 2022-08-05 14:29:33 +00:00
Michael Kriese
b620f65577
feat(manager/npm): full yarn buildpack support (#16986)
* feat(manager/npm): full yarn buildpack support

* test: fix test
2022-08-05 14:17:37 +00:00
Michael Kriese
1035defa16
chore(manager/npm): remove empty preCommands (#16990) 2022-08-05 13:49:49 +00:00
Michael Kriese
6d426a0f88
feat(manager/poetry): support buildpack (#17002) 2022-08-05 13:35:39 +00:00
Michael Kriese
5138daede5
feat(manager/pip_requirements): support buildpack (#16999)
* feat(manager/pip_requirements): support buildpack

* fix: install as user
2022-08-05 15:20:16 +02:00
Yun Lai
44059c3e20
fix: join env var lines with os.EOL to fix test failure on different systems (#16993)
* fix: join env var lines with os.EOL to fix test failure on different systems

* fix: update test data to achieve full test coverage

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 12:06:59 +00:00
Sergei Zharinov
813cc8d474
fix(manager/bazel): fix regex and tests for update function (#16992)
* test(bazel): Refactor tests for update function

- use smaller fragment for each use-case
- remove fixture usage
- fix regex to support `maybe`

* Compact formatting

* Don't use `replaceAll`

* Fix coverage
2022-08-05 13:24:10 +02:00
Michael Kriese
9b3a3f8d11
fix(buildpack): execute preCommads on install mode (#16995) 2022-08-05 12:20:22 +02:00
Yun Lai
87fc22a4ce
fix: fix failed hermit binary source tests due to findUp module acts differently in windows (#16985)
* fix: fix failed hermit binary source tests due to findUp module acts differently in windows

* fix: set localDir in GlobalConfig in getHermitEnvs test

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: added two more mockResolvedValueOnce for extra test case and remove mockResolvedValueOnce('')

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 09:21:54 +00:00
Michael Kriese
f414cf9a54
fix(manager/npm): support yarn update without yarnPath (#16988) 2022-08-05 07:49:58 +00:00
Michael Kriese
9d939f429e
test: fix typo (#16984) 2022-08-05 06:11:20 +00:00
Philip
4b0b49e1c6
fix(renovate-config-validator): add validate presets to the validator (#16468) 2022-08-05 05:31:37 +00:00
Yun Lai
f07dcfb03a
feat: add hermit binary source (#16259) 2022-08-05 05:17:11 +00:00
Maxime Brunet
8dd40fe523
feat(github-actions): update job and service containers (#16770) 2022-08-05 04:57:33 +00:00
Hasan Awad
d1cc6cd116
fix(repository/update/pr/body): fix a test having wrong homepage and use regex (#16970) 2022-08-04 19:33:15 +00:00
Michael Kriese
3b699e9f7e
feat(manager/npm): prepare for buildpack support (#16979)
* feat(manager/npm): prepare for buildpack support

* chore: fixes
2022-08-04 21:18:43 +02:00
Sergei Zharinov
60609dcf59
fix(leiningen): Don't extract deps from commented vectors (#16978)
* fix(leiningen): Don't extract deps from commented vectors

* More precise detection
2022-08-04 20:13:36 +02:00
Gabriel-Ladzaretti
257d9a9d8e
fix(core/exec): use nodejs style error messages when throwing (#16961) 2022-08-04 14:29:11 +00:00
RahulGautamSingh
ff650ce822
chore: onboarding branch checkout log (#16966) 2022-08-04 14:21:09 +02:00
Michael Kriese
ababf34c7e
refactor(gitea): cleanup types (#16968) 2022-08-04 12:00:48 +00:00
Michael Kriese
1bc8fee494
refactor: cleanup http option interface (#16967) 2022-08-04 12:54:52 +02:00
HonkingGoose
6b584c2793
docs(hermit versioning): fix typos (#16929) 2022-08-04 09:12:36 +02:00
Maxime Brunet
cbe8bfc4cf
feat(config-validator): read filenames from CLI arguments (#16475) 2022-08-04 06:25:18 +00:00
IKEDA Sho
fe27734715
docs(manager/swift): Set displayName and url (#16944) 2022-08-03 17:55:29 +02:00
Durim Morina
075bf89e23
feat(datasource/docker): populate gitRef from OCI annotation (#16859) 2022-08-03 06:00:21 +00:00
Maron
868fa3cb15
refactor(dependencyDashboard): split parseDashboardIssue function (#16782)
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-03 07:33:16 +02:00
Jamie Magee
778f0aba6e
feat(manager/azure-pipelines): extract azure-pipelines tasks (#16882)
* feat(manager/azure-pipelines): extract azure-pipelines tasks

* test coverage

* PR comments

* PR comments
2022-08-03 06:49:55 +02:00
IKEDA Sho
1558c9be61
docs(manager/circleci): Set displayName and url (#16919) 2022-08-03 06:11:56 +02:00
Maron
dd5ca94a03
feat(dashboard): include dependency lookup warnings (#16297) 2022-08-02 13:06:37 +00:00
Michael Kriese
a251fc494d
feat(platform/gitea): support native automerge (#16885)
* feat(platform/gitea): support native automerge

* Update lib/modules/platform/gitea/index.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.spec.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 12:29:08 +02:00
Michael Kriese
16ea835218
feat(platform/gitea): support draft PR (#16888)
* feat(platform/gitea): support draft PR

* docs: update support state

* Update docs/usage/configuration-options.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 09:47:52 +00:00
Michael Kriese
61c045ca2f
feat: use sha512 for hashes (#16907) 2022-08-02 11:36:26 +02:00
Gabriel-Ladzaretti
bee604a1a3
feat(repository/config-migration): Adjust config migration PR title to not show filenames (#16781)
* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* Apply suggestions from code review

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-02 06:08:51 +00:00
Sergei Zharinov
765a76319b
feat(sbt-package): Fallback to Maven datasource for GitLab packages (#16817)
* feat(sbt-package): Fallback to Maven datasource for GitLab packages

* Fix

* Use `detectPlatform`

* Tests for hostType
2022-08-01 11:05:17 +00:00
HonkingGoose
0154fe0314
docs(bitbucket server support): fix typo (#16891)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-01 10:20:58 +00:00
HonkingGoose
e81b552abc
fix(platform/github): rewrite debug message (#16889)
chore(github): rewrite debug message
2022-08-01 11:58:15 +02:00
Sergei Zharinov
f8c789efb4
feat(github): Log warning when GitHub token is not configured (#16566)
* feat(github): Log warning when GitHub token is not configured

* Check `sourceUrl`

* Add tests

* Fix test

* Fix

* Remove `sourceUrl` check

* Test nullable input

* Fix nulls
2022-08-01 06:16:09 +00:00
IKEDA Sho
2dbc15e679
docs(manager): Set displayName and url for nodenv and nvm managers (#16878) 2022-08-01 04:48:45 +00:00
IKEDA Sho
72db89f6e5
refactor: Fix constraint typos (#16879) 2022-08-01 04:02:55 +00:00
Sergei Zharinov
e4dbd4ad49
fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Yun Lai
b696abb3c2
feat: add Hermit package manager (#16258)
* feat: add Hermit package manager

* fix: pass bin directory into getRepoStatus as string rather than an array

* fix: fix up hermit manager implementations

* add docker support in exec
* move fs related operations back into  util/fs
* remove ENVVar passed on by process.env
* set concurrency in pMap
* use for instead of pMap for concurrency = 1
* use regex to pick up package reference parts

* fix: fix manager updateArtifacts test after change

* Update lib/modules/manager/hermit/extract.ts

Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>

* fix: fix up test and docker reference for hermit manager

* test refer to internal fs
* docker image change to sidecar
* only symlink are read for the changed file content after hermit
  install
* no more global mock in artifacts test

* fix: use warn instead of error so error better flows up in hermit manager

* fix: partial for test type, use throw instead of reject

* fix: update snapshot

* fix: combine install packages, also make extractPackageFile async

* fix: remove weird generated readLocalSynmlink in test

* fix: removes old test

* fix: use ensureLocalPath and fix test coverage

* fix: more test coverage

* fix: use ensureLocalPath in readLocalSymlink

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: remove unused functions and types

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Apply suggestions from code review

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* fix: use execSnapshots and for of loop when returning the result

* Update lib/modules/manager/hermit/artifacts.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: move exports below imports

Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-30 08:41:45 +00:00
Rhys Arkins
bba3c782e2
chore: fix packageRules test (#16866) 2022-07-30 07:49:05 +03:00
Michael Kriese
ab7ddb5e3c
feat(platform/gitea): support automergeStrategy (#16851)
* feat(platform/gitea): support `automergeStrategy`

* chore: revert change

* Update docs/usage/configuration-options.md

* Update docs/usage/configuration-options.md
2022-07-29 14:40:26 +02:00
Michael Kriese
2c5fd14e25
fix(git): remove wrong submodule file filter (#16848) 2022-07-29 08:32:05 +00:00
Michael Kriese
a3d1235032
feat(manager/pipenv): support binarySource=install (#16828)
* feat(manager/pipenv): support binarySource=install

* docs: update docs

* fix: linting
2022-07-28 17:17:02 +00:00
IKEDA Sho
16705ed083
docs(manager/argocd): Set displayName and url (#16838) 2022-07-28 16:15:33 +00:00
Michael Kriese
cf7bb3226d
feat(manager/gradle-wrapper): support binarySource=install (#16830)
* feat(manager/gradle-wrapper): support `binarySource=install`

* docs: update docs
2022-07-28 13:47:56 +00:00
Michael Kriese
a7a44b32db
fix(manager/pip_requirements): remove invalid tagScheme (#16829) 2022-07-28 10:27:12 +00:00
Przemysław Romanik
ac7aa81eda
docs: Gitea account must have full name set for Git identity (#16792)
* Gitea account must have full name set for Git identity

* Update lib/modules/platform/gitea/index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-27 17:33:52 +00:00