Commit graph

13008 commits

Author SHA1 Message Date
Yun Lai
f1bcafc584
feat(fs): add localPathIsSymbolicLink and readLocalSymlink (#16673)
* fix: add localPathIsSymbolicLink and readLocalSymlink to fs module

* Update lib/util/fs/index.ts

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

* Update lib/util/fs/index.ts

* Apply suggestions from code review

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>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-26 08:19:20 +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
aKzenT
5bcbedcde1
feat(preset): include applicationinsights-dotnet as monorepo (#16685)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-07-26 05:40:27 +00:00
Rhys Arkins
8d0c72af06
fix(config): filter out invalid massaged packageRules (#16778)
Closes #16777
2022-07-26 08:25:37 +03:00
Gabriel-Ladzaretti
2446f446b7
fix(git/cache): getCachedBehindBaseResult returns true when branch is not modified (#16752) 2022-07-26 04:41:09 +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
renovate[bot]
8035f380b3
chore(deps): update dependency @types/luxon to v2.4.0 (#16775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 23:26:49 +00:00
Gabriel-Ladzaretti
24a237c15b
fix(git/cache): getCachedBranchParentShaResult returns unexpected undefined (#16762) 2022-07-25 20:23:25 +02:00
renovate[bot]
882ce6cce3
chore(deps): update linters to v5.30.7 (#16769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 17:45:17 +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
Gabriel-Ladzaretti
5f83529ec8
docs: best practices add cast bullet under unit testing (#16756)
docs: best prac add cast bullet under unit testing
2022-07-25 14:15:09 +02:00
Maron
6246a61bf4
fix(datasource/docker): Docker tags list for library images not working (#16509) 2022-07-25 08:23:42 +02: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
HonkingGoose
dc4e0dd772
docs(shareable config presets): partial rewrite (#16521) 2022-07-25 07:59:40 +02:00
renovate[bot]
542dd93f4d
chore(deps): lock file maintenance (#16741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 00:47:02 +00:00
renovate[bot]
a28b77b434
docs: update references to renovate/renovate to v32.127.0 (#16740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 00:31:37 +00:00
renovate[bot]
245953cc0d
chore(deps): update dependency eslint-import-resolver-typescript to v3.2.7 (#16738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 19:39:40 +00:00
RahulGautamSingh
9778ca67d9
feat: use getBranchParentSha cached result (#16724) 2022-07-24 19:49:39 +02:00
Johannes Feichtner
a3c3f11860
fix(gradle): adjust max. recursion depth and logger warning (#16734) 2022-07-24 13:28:04 +02:00
Yun Lai
a7202c4f46
fix: add excludeCommitPaths for hermit manager (#16674) 2022-07-24 08:56:13 +00: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
renovate[bot]
61eb7ecf5f
chore(deps): update linters (#16552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 07:37:30 +00:00
renovate[bot]
c17728e73c
chore(deps): update dependency ts-node to v10.9.1 (#16670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 10:23:36 +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
IKEDA Sho
45d0dbf884
refactor(workers): Prefer interface over type (#16727)
https://github.com/renovatebot/renovate/blob/main/docs/development/best-practices.md#general
2022-07-24 08:53:54 +03:00
IKEDA Sho
c803825f7c
test: Fix requireConfig test name (#16728) 2022-07-24 06:13:46 +02:00
IKEDA Sho
04ba9cd44e
test(config/decrypt): Use CONFIG_VALIDATION constant (#16730) 2022-07-24 06:13:21 +02:00
renovate[bot]
7bf6019d47
chore(deps): update dependency ts-jest to v28.0.7 (#16726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 00:28:08 +00:00
renovate[bot]
59aabea8cd
chore(deps): update dependency @types/jest to v28.1.6 (#16718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-23 00:17:00 +00:00
renovate[bot]
38c5bceaea
chore(deps): update dependency @types/node to v16.11.45 (#16719)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-23 00:04:09 +00:00
renovate[bot]
8bba806446
chore(deps): update node.js to 9477007 (#16711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 19:22:04 +00:00
Michael Kriese
6854145528
feat(manager/elixir): support install binary source (#16710)
* feat(manager/elixir): support install binary source

* test: fix snapshot
2022-07-22 16:35:20 +00:00
Gabriel-Ladzaretti
892595aea8
feat(util/exec): use spawn instead of exec (#16414)
* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - init spawn-util

* refactor(util): use spawn instead of exec

 - spawn-util

* refactor(util): use spawn instead of exec

 - init index-spawn.spec.ts

* refactor(util): use spawn instead of exec

 - fixed various tests

* refactor(util): use spawn instead of exec

 - fix all artifacts.spec.ts

* refactor(util): use spawn instead of exec

 - fix all artifacts.spec.ts

* refactor(util): use spawn instead of exec

 - fix npm post update imports

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff
 - destroy stdio when terminating child process

* refactor(util): use spawn instead of exec

 - delete and revert dev related changes

* refactor(util): use spawn instead of exec
 - fix support for windows

* refactor(util): use spawn instead of exec

 - handle SIGSTOP and such
 - add test coverage

* refactor(util): use spawn instead of exec

 - now converts to strings when resolving/rejecting

* refactor(util): use spawn instead of exec

 - logs improvements
 - force shell (exec like)
 - fix tests

* refactor(util): use spawn instead of exec

 - strongly type listeners

* refactor(util): use spawn instead of exec

 - create helper mock for spawn

* refactor(util): use spawn instead of exec

 - cr changes

* Update lib/util/exec/common.ts

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

* refactor(util): use spawn instead of exec

 - documentation

* refactor(util): use spawn instead of exec

 - revert unnecessary formatting

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

 - added ExecError class

* refactor(util): use spawn instead of exec

 - exec-error.ts restructure

* refactor(util): use spawn instead of exec

* Apply suggestions from code review

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

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

 - deprecated RawExecOptions.encoding property

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 15:43:28 +00:00
horihel
c2b19d8dd0
feat(preset): add grafana monorepo (#16697)
add grafana monorepo to monorepo list
2022-07-22 07:55:13 -07:00
Hasan Awad
9ca19dbe24
refactor(config/presets): for loop of resolveConfigPresets (#16677) 2022-07-22 12:53:56 +00:00
IKEDA Sho
2241daaada
refactor(datasource): Prefer interface over type (#16707)
https://github.com/renovatebot/renovate/blob/main/docs/development/best-practices.md#general
2022-07-22 12:18:58 +00:00
renovate[bot]
edd85ae2ed
build(deps): update dependency commander to v9.4.0 (#16703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 11:23:53 +00:00
Michael Kriese
ed538ac304
fix(manager/kubernetes): log filename on parse error (#16676) 2022-07-22 09:17:16 +00:00
Michael Kriese
0cc8e2bb02
refactor(preset): sort monorepos (#16695) 2022-07-22 11:03:35 +02:00
Michael Kriese
6c78237993
test: simplify exec mock (#16698) 2022-07-22 07:42:30 +00:00
Michael Kriese
13027fd4f5
fix(manager/nuget): optimize xml error handling (#16681)
* fix(manager/nuget): optimize xml error handling

* Update lib/modules/manager/nuget/package-tree.spec.ts

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

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 09:15:25 +02:00
Michael Kriese
c95024bb2c
fix(manager/argocd): catch invalid definitions (#16675) 2022-07-22 06:11:01 +00:00
IKEDA Sho
497b5de6c2
test(datasource): Avoid snapshots for testing EXTERNAL_HOST_ERROR (#16692) 2022-07-22 06:49:05 +02:00
renovate[bot]
2f93a5e064
build(deps): update dependency xmldoc to v1.2.0 (#16691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 22:43:28 +00:00
Philip
b8c5a87bc4
fix(manage/gomod): Golang fix pin (#16682)
* Add .whitesource configuration file (#3)

Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>

* Update .whitesource

* build(deps): update dependency simple-git to v3.5.0 (#17)

Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>

* golang fix pin

* golang fix pin

Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
2022-07-21 17:29:15 +02:00
renovate[bot]
146df16ec2
chore(deps): update dependency ts-jest to v28.0.6 (#16686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 13:51:28 +00:00
Michael Kriese
4f82df4c3d
feat(buildpack): enable cache (#16591) 2022-07-21 07:00:02 +00:00