Commit graph

205 commits

Author SHA1 Message Date
Johannes Feichtner
351fd363c1
fix(gradle): ignore stages() method from reckon plugin (#16401) 2022-07-03 16:25:36 +00:00
Johannes Feichtner
d19d645b6c
feat(manager/gradle): add support for apply from statements (#16030)
* add synchronous local file read

* add tests

* add support for apply from statements

* add safeguard to prevent breakout from localDir

* add safeguard to allow "apply from" only with official Gradle file types

* fix: use async io

* fix test coverage

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

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

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

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

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

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

* re-add try/catch

* add istanbul ignore

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

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

* fs tests: remove obsolete block

* remove istanbul ignore next

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

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

* tests: replace mockImplementationOnce() with mockRejectedValueOnce()

* scriptFile: explicitly set null for undefined values

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>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-07-03 15:58:58 +02:00
Johannes Feichtner
aa50662d3d
feat(gradle): add support for versions with underscores (#16365) 2022-07-02 08:54:50 +00:00
HonkingGoose
f299699ae7
docs(gitlabci): rewrite predefined variables section (#16372) 2022-07-01 19:34:07 +02:00
Sergei Zharinov
2b43f273bf
refactor(fs): Remove proxies.ts file (#16325)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 14:57:30 +02:00
Jonathan Narwold
c3fd5c2edf
feat(bundler): support conservative mode (#16129) 2022-07-01 08:49:23 +00:00
HonkingGoose
1261d70390
docs(manager/regex): link to our Handlebars helpers (#16340) 2022-06-30 09:37:50 +00:00
Michael Kriese
99b16becaf
refactor: remove unused properties (#16328) 2022-06-29 13:18:12 +02:00
Sergei Zharinov
851d8f4f7a
refactor(fs): Move chmod to chmodLocalFile (#16306)
* refactor(fs): Move `chmod` to `chmodLocalFile`

* More refactoring and tests

* Fix tests

* Apply suggestions from code review

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

* Fix prettier

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:03:49 +00:00
Rhys Arkins
f00590cff7
fix(bazel): skip updating if unchanged value (#16295)
Closes #16268
2022-06-28 11:27:57 +02:00
Sergei Zharinov
8e9d9245b3
feat(clojure): Support dependencies in bb.edn (#16234) 2022-06-25 15:43:01 +02:00
Rhys Arkins
92057df4b4
fix(nuget): filter project references for non empty strings (#16232)
Closes #16231
2022-06-25 10:39:37 +02:00
Alan Ross-Ross
1f778166e5
feat(bumpVersion): add prerelease semver level (#15626) 2022-06-25 07:38:19 +02:00
HonkingGoose
9d35b9df07
docs(nuget): rewrite readme (#16179) 2022-06-24 12:42:07 +02:00
Karl-Johan Grahn
29a272c78f
feat(helm-manager): allow either tag or version for images in helm charts (#16058)
* update

Allow either tag or version for images in helm charts

* undo

* lint

* undo

* exports

* rewrite

* add spaces for lint

* chore: prettier fix

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-23 17:36:01 +00:00
Johannes Feichtner
b9a400aa9f
feat(gradle): add interpolation for local name variable in registry URL (#16136) 2022-06-22 11:10:34 +00:00
Rhys Arkins
07b98a90ff
chore: improve/lower extract logging (#16181) 2022-06-22 12:06:22 +02:00
Jason Bedard
8901e724f3
feat(bazel): add "maybe" macro support (#16003) 2022-06-22 06:16:43 +00:00
Michael Kriese
10302eba68
refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese
e5c6f38d75
refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Maron
7f48897e75
feat(go): add support for GOINSECURE (#15944) 2022-06-21 11:23:58 +02:00
Michael Kriese
0a582d31c7
refactor: fix nullable types (#16156)
* refactor: fix nullable types

* chore: revert changes

* chore: fix lint comments

* chore: revert changes
2022-06-20 16:15:40 +00:00
Michael Kriese
b4319928f1
refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
Sergei Zharinov
0cf4f48842
refactor: Strict null checks for all files except tests (#16071)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +02:00
Jason Bedard
461cbc7551
feat(bazelisk): add support for bazelisk bazelversion files (#16114) 2022-06-19 06:33:03 +00:00
RahulGautamSingh
abe821ac4d
refactor: update WorkerExtractConfig type definition (#16020)
* update WorkerExtractConfig types

* update comment

* move worker-extract

* update CustomManager

* move interface RegExManagerTemplates manager->config

* fix import error

* rename CustomManager -> RegExManager

* fix lint error
2022-06-16 18:18:36 +02:00
Michael Kriese
827d313de4
feat(manager/terraform): support multiple container images (#16107)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-16 14:06:36 +00:00
Johannes Feichtner
a4205761c8
feat(terraform): kubernetes image resources support (#16029)
* add tests

* add support for kubernetes image resources

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

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>

* added unknown resource

* added Kubernetes to Readme

* missed one spot in the Readme

* Update lib/modules/manager/terraform/readme.md

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>

* switch to toMatchObject() in tests

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-14 19:51:11 +00:00
renovate[bot]
10731ddb73
chore(deps): update dependency typescript to v4.7.3 (#15815) 2022-06-14 06:45:42 +02:00
Hasan Awad
89facd1d5d
feat: add extractedConstraint field for poetry (#15922)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-13 21:12:51 +00:00
Johannes Feichtner
8d9e3be6f3
feat(gradle): add support for library(...).version() (#15929) 2022-06-13 07:12:02 +02:00
Dan Ports
0c66358e8c
docs(flux): OCI HelmRepository sources are currently unsupported (#16024) 2022-06-12 05:18:25 +00:00
Michael Kriese
94a39ae33d
feat(manager/nuget): cache restored packages (#15984) 2022-06-10 17:24:41 +00:00
Michael Kriese
6d88e7f726
fix(manager/npm): respect contraints from root package.json when using yarn workspaces (#15992) 2022-06-10 14:20:05 +02:00
RahulGautamSingh
996e4a6e57
feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00
HonkingGoose
bb44a4bf83
docs(circleci): explain private orbs hostRules (#15939) 2022-06-10 07:00:51 +02:00
HonkingGoose
a52b5f49b3
docs(kustomize): rewrite readme (#15940) 2022-06-10 06:47:40 +02:00
Johannes Feichtner
0496610fe4
feat(gradle): add support for simple extra properties (#15983) 2022-06-10 03:56:32 +00:00
Johannes Feichtner
0bbf62eb3d
refactor(dockerfile): rewrite splitImageParts() (#15933) 2022-06-09 05:12:01 +00:00
Johannes Feichtner
d40a8a9745
feat(manager/gradle): add support for registry URL interpolation and additional properties delimiters (#15903) 2022-06-07 07:47:50 +00:00
Johannes Feichtner
44c67da0e1
feat(dockerfile): add support for escape chars and ARG instructions (#15751) 2022-06-06 05:47:17 +00:00
Gabriel-Ladzaretti
a73942ca9d
fix(circleci): add android to machine image skipping (#15792) 2022-06-04 07:53:24 +00:00
Rhys Arkins
f5b8f08906
feat: additionalRegistryUrls (#15868) 2022-06-03 06:46:45 +00:00
Kevin Ennis
c4bd2b27f0
fix(manager:npm): Allow Github URLs with uppercase letters (#15863) 2022-06-03 05:58:33 +00:00
Rhys Arkins
cf6885f71a
fix(config): move endpoint, platform to GlobalConfig (#15864)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-03 06:43:58 +02:00
HonkingGoose
5f21c63ba5
docs: replace word therefore, plus other small changes (#15694) 2022-06-02 16:58:52 +02:00
HonkingGoose
c09b39e14c
docs(regex manager): one sentence per line (#15845) 2022-06-02 16:52:33 +02:00
Sergei Zharinov
5495ab6394
refactor: Enable strict null checks for lookup-related functionality (#15848) 2022-06-02 13:56:14 +02:00
Maron
18b3c14ac3
fix(terraform): extend module provider git url parsing (#15773) 2022-06-01 07:20:41 +00:00
Piotr Wielgołaski
5a4b7eead1
feat(maven): Parse maven dependency.optional into depType (#15775) 2022-05-31 14:23:47 +00:00
RahulGautamSingh
56170df9ae
refactor: move updateInternalDeps to worker logic (#15790) 2022-05-31 03:53:25 +00:00
StinkyLord
13d0255d8d
fix(manager/go): fix replace block regex (#15547) 2022-05-29 19:11:12 +02:00
Rhys Arkins
4b0102f08b
fix(gomod): default to not massaging replace statements (#15767) 2022-05-28 10:19:36 +02:00
Joshua Tang
99c4d1b020
feat(fvm): update to use flutter version datasource (#15765) 2022-05-28 05:41:35 +00:00
Michael Kriese
3ee32bce6c
fix: Revert "fix: move update internal deps to worker logic" (#15756) 2022-05-27 16:44:58 +02:00
RahulGautamSingh
9e7659f754
fix: move update internal deps to worker logic (#15745) 2022-05-27 09:22:56 +02:00
Michael Kriese
e397cb71d7
fix(manager:terraform): use github-releases (#15713)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-05-26 04:47:10 +00:00
Rhys Arkins
afd96e7b8a
fix: whitesource -> mend (#15729) 2022-05-25 15:23:28 +02:00
Sergei Zharinov
c18c55e97c
fix(clojure): Prioritize Maven-based deps over git-based ones (#15720) 2022-05-25 07:48:44 +02:00
Michael Kriese
c1da6b948d
feat(manager:nuget): support central version management (#15698) 2022-05-24 16:29:28 +02:00
Rhys Arkins
c3acca8877
refactor: better manager types (#15708)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 07:01:43 +00:00
George Georgiev
a5b26f6a97
feat(droneci): Preserve multiline image with digest format (#15673) 2022-05-24 07:29:30 +02:00
scemily13
1b28501d30
fix(buildkite): Catch '?' yaml syntax for plugins (#15666) 2022-05-22 06:42:08 +02:00
Hasan Awad
e183d4c064
fix(manager/sbt): handle new line after equalities in the file (#15613) 2022-05-20 09:50:46 +02:00
Michael Kriese
5afed40ba3
fix(manager:nuget): use git to read current lockfile (#15395) 2022-05-20 04:40:54 +00:00
Gabriel-Ladzaretti
c17a274de3
feat(versioning/debian): Debian codenames support (#14881)
* refactor(tools/distro-info): for later use in ubuntu and debian versioning

cr changes

* feat(versioning/debian): Debian codenames support

restore extracted code

* feat(versioning/debian): Debian codenames support

package.json, dropped the generate: prefix.

unit test mod as per CR

* feat(versioning/debian): Debian codenames support

now using the generic ver api interface

* feat(versioning/debian): Debian codenames support

revert exporting docker versioning

* feat(versioning/debian): Debian codenames support

switched to luxon for time handle
test fixes
dropped ts-ignore comments

* feat(versioning/debian): Debian codenames support

extract changes in distro.ts

* feat(versioning/debian): Debian codenames support

post merge changes

* feat(versioning/debian): Debian codenames support

cr changes

* feat(versioning/debian): Debian codenames support

 - added support for pin range strategy

* feat(versioning/debian): Debian codenames support

- typos & metadata fixes

* feat(versioning/debian): Debian codenames support

- added isReleased to distro.ts

* feat(versioning/debian): Debian codenames support

- moved all time/date handling into distro.ts

- date freeze for ubuntu/debian/distro unit tests

* refactor(versioning/distro): Move date handling into distro.ts

- revert refactor #15272

* feat(versioning/debian): Debian codenames support

 - merge distro refactor

* feat(versioning/debian): Debian codenames support

 - extract private properties

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-18 15:32:59 +00:00
Hasan Awad
4ef5aa2422
feat(npm): add detection for overrides block (#15351)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-17 15:10:43 +00:00
George Georgiev
e59004325f
feat(droneci): support for multiline string image dependency (#15578) 2022-05-17 05:21:33 +02:00
David May
652ac2aca4
feat: add velaci manager (#14803) 2022-05-16 17:59:20 +00:00
Jack Pierce
06a226291c
fix(buildkite): inspect all lines for plugin definitions (#15548) 2022-05-16 16:42:42 +02:00
patst
500c2cd2ba
feat(manager:terraform): Terraform-module updates for Azure DevOps SSH Repositories (#15492)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-16 14:23:57 +00:00
Sean Fausett
5043379847
fix(dockerfile): loosen default dockerfile manager filematch (#15583) 2022-05-15 06:00:45 +02:00
Sergei Zharinov
918ef59df0
fix(gradle): Refer correct file when resolving version from variable (#15581) 2022-05-14 15:59:02 +00:00
Gabriel-Ladzaretti
d50856bda7
test: deprecate old loads fixtures functions (#15554) 2022-05-12 10:04:41 +02:00
Hasan Awad
8dfad00414
fix(github-actions): handle quotes (#15502) 2022-05-11 13:57:14 +00:00
Morre
d4ccd8a466
fix(manager:terraform): resources can contain blocks (#15543) 2022-05-11 13:41:13 +00:00
Sergei Zharinov
c5a60d1c02
fix(gradle): Parse dependencies declared via library() (#15541) 2022-05-11 12:27:02 +02:00
Michael Kriese
47385421e4
test: deprecate old loads fixtures functions (#15539) 2022-05-11 07:19:34 +00:00
Michael Kriese
0180fddb37
feat(npm): use updated node for artifacts (#15527) 2022-05-11 05:19:35 +00:00
StinkyLord
dad6a1f607
fix(gradle): gradle/libs.versions.toml should replace version not comment (#15330) 2022-05-11 05:44:44 +02:00
Sebastian
34cc43a765
feat(docker-compose): Add support for more file names (#15532) 2022-05-10 15:48:01 +00:00
Sergei Zharinov
42f86cfb7d
feat(clojure): Enhanced support for deps.edn files (#15530) 2022-05-10 16:52:22 +02:00
Michael Kriese
30120f952a
test: add missing diff types (#15528) 2022-05-10 12:13:09 +02:00
Michael Kriese
42824400d7
feat(manager:cocoapods): support binarySource=install for cocoapods (#15473)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-05 16:59:42 +02:00
Rhys Arkins
456b2c0d86
feat(pnpm): detect v7 support when updating lock file (#15470)
* feat(pnpm): detect v7 support when updating lock file

* fix type check

* refactor: test
2022-05-05 16:13:50 +02:00
Jean-Yves CAMIER
e97974d55b
feat(helmfile): oci support (#15432) 2022-05-05 14:15:20 +02:00
Rhys Arkins
e79813d32e
feat: gomodNoMassage (#15462) 2022-05-05 11:33:50 +02:00
Hasan Awad
e520129272
fix(manager/gradle): Add groupName for toml parser and plugins (#15190) 2022-05-05 07:41:06 +02:00
Michael Kriese
a51baaf8af
fix(manager:npm): patch local yarn v1 binary (#15440)
* test: fix mocks

* fix(manager:npm): patch local yarn v1 binary
2022-05-04 10:28:37 +00:00
Michael Kriese
82a047965a
fix(manager:pip_requirements): declare git-tags datasource (#15444) 2022-05-04 09:30:51 +00:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install for yarn (#15414) 2022-05-04 08:32:15 +02:00
Christoph Brand
30765fbd1e
feat(manager): no-emit-index-url in pip compile (#15367)
* feat(manager): no-emit-index-url in pip compile

Add support for no-emit-index-url to avoid sharing
confident credentials in the generated requirements.txt
file.

* chore: linting fixes

* chore: update docs

* chore: code review fixes

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-03 22:35:32 +00:00
Michael Kriese
8611d5c434
fix(manager:npm): support yarn-path in repo sub-dir (#15415) 2022-05-03 09:19:42 +00:00
Sebastian Poxhofer
ae9714a379
fix(helmv3): do not attempt to update locks for local references (#15382) 2022-05-02 07:49:17 +00:00
Wouter Klijn
9100172483
test(manager/nuget): add tests covering more complex project references (#15386)
* test(manager/nuget): add tests covering more complex project references

* chore: run prettier-fix

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-01 09:23:03 +00:00
Maron
27dd1c027a
bug: Gradle-Unsupported dependency formats (#15355) 2022-04-29 08:13:19 +00:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type (#14658) 2022-04-29 09:49:15 +02:00
Mikhail Advani
3fe66407f1
Support git over https without username for pip_requirements (#15231) 2022-04-29 04:11:11 +00:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api (#15294) 2022-04-25 15:41:10 +02:00
David Schneider
3eec5b7d88
fix(manager/gitlabci): strip Gitlab Dependecy Proxy variable from depName (#14734)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-25 06:42:29 +02:00