Commit graph

390 commits

Author SHA1 Message Date
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
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
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
Maxime Brunet
8dd40fe523
feat(github-actions): update job and service containers (#16770) 2022-08-05 04:57:33 +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
Michael Kriese
ababf34c7e
refactor(gitea): cleanup types (#16968) 2022-08-04 12:00:48 +00:00
HonkingGoose
6b584c2793
docs(hermit versioning): fix typos (#16929) 2022-08-04 09:12:36 +02: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
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
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
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
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
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
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
Sergei Zharinov
e4716ead14
refactor(github): Simplify long-form condition in findPr (#16813) 2022-07-27 16:27:46 +00:00
Sergei Zharinov
eed6fe3349
refactor(github): Sort cached PR list (#16815) 2022-07-27 16:09:03 +00:00
Sergei Zharinov
d774d82fcd
test(github): Remove unnecessary type casts (#16816) 2022-07-27 15:44:37 +00:00
Sergei Zharinov
1c2a78bd67
test(sbt-package): Refactor tests (#16804) 2022-07-27 13:40:15 +02:00
Thorsten Essig
5bbb4c6054
fix(datasource/go): consider all available datasources for go-import (#16544)
* fix(16543): consider all available datasources for go-import

* fix(datasource/go): add test for go-import with gitlab datasource

* refactor: rename param to reduce diff

* fix(datasource/go): return early on datasource detection

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-27 09:13:39 +02:00
IKEDA Sho
caa720401a
docs(manager/gomod): Set displayName and url (#16796) 2022-07-27 08:51:17 +03:00
Gabriel-Ladzaretti
871b069d83
fix(logs): remove variable from a template literal for a warn message for gradle (#16789)
logs: tidy up warn message for grade file not found
2022-07-26 15:03:05 +00:00
Piotr Krzemiński
adccb9c0ca
feat(manager): add support for Kotlin Script (#16684) 2022-07-26 13:37:34 +02:00
Sebastian Poxhofer
90f85b9958
feat(manager/fleet): implement Rancher Fleet manager (#16138)
* feat(manager/fleet): implement Rancher Fleet manager

* Apply suggestions from code review

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

* Update lib/modules/manager/fleet/extract.spec.ts

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

* docs(fleet): add tsdocs

* fixup test null checks

* docs: add default filematch

* chore: rename tempDep to dep

* apply change requests

* catch exceptions from yaml-js

* trigger yaml parse error

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-26 08:48:50 +00:00
Michael Kriese
8270d5512d
refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
IKEDA Sho
8bff91a48b
feat(datasource): add cpan datasource (#16545)
* feat(datasource): add cpan datasource

* Update perl versioning's readme

* Extract copystr function to lib/util/string.ts

* Remove unnecessary optional chaining

* Use registryUrl and logger.trace

* Use `perl` versioning's `isStable`

* Remove possibly unnecessary try/catch

* Use MetaCPAN API

* Use reduce

* Use maturity field for `isStable` handling

https://metacpan.org/pod/CPAN::DistnameInfo#maturity

* Revert "Extract copystr function to lib/util/string.ts"

This reverts commit 51ebf55c90.

# Conflicts:
#	lib/modules/datasource/cpan/index.ts

* Remove downloadUrl

* Extract types

* Use toMatchObject

* Improve tests

* Rename to MetaCpanSearchResult

* Rename to searchUrl

* Rename to MetaCpanFileSearchResult and add tsdoc

* Use for...of over reduce

* More safely handle the response JSON

* Use joinUrlParts

* Don't embed distribution info

* Split tsdoc comments
2022-07-26 06:39:51 +00:00
IKEDA Sho
6f42227e5e
docs(manager/cocoapods): Configure ModuleApi's displayName and url (#16760)
* docs(manager/cocoapods): Configure `ModuleApi`'s displayName and url

* Revert export order

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-26 04:18:43 +00:00
Johannes Feichtner
d6fa2fefda
fix(gradle): silence warning for file not found via "apply from" (#16767) 2022-07-25 19:06:56 +02:00