Commit Graph

2281 Commits

Author SHA1 Message Date
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
IKEDA Sho c8ca4267ef fix(manager): correctly escape the dot character in fileMatch (#17048) 2022-08-08 17:20:16 +02: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
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
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
IKEDA Sho fe27734715 docs(manager/swift): Set displayName and url (#16944) 2022-08-03 17:55:29 +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
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 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
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 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
Michael Kriese 17387fcf48 fix(manager/nuget): skip invalid xml files (#16758) 2022-07-25 14:54:46 +02:00
Michael Kriese 2bbbc956e9 fix(manager/nuget): Skip dep if version is undefined (#16757) 2022-07-25 12:31:53 +00:00
IKEDA Sho 1ad61a7ebd refactor(manager): consistently write as export const language = ... (#16739)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-25 06:13:57 +00:00
Johannes Feichtner a3c3f11860 fix(gradle): adjust max. recursion depth and logger warning (#16734) 2022-07-24 13:28:04 +02:00
Sergei Zharinov 6e01af9320 fix(bundler): fix recursive resolved dependencies (#16462)
* fix(bundler): fix recursive resolved dependencies

* Remove ugly type assertions

* fixes

* fix

* fix

* Add recursion limit

* Extract unique packages

* pr fixes

* Add `exec-error.ts`

* fix

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-24 11:45:01 +03:00
foolioo bb52f9785a docs(regex): clarify regex manager limitations (#16709) 2022-07-24 09:25:45 +03:00
Johannes Feichtner 1b36708c64 feat(gradle): always add depType to extracted dependencies (#16725) 2022-07-24 06:14:29 +00:00