Commit Graph

3913 Commits

Author SHA1 Message Date
RahulGautamSingh c7507255b7 refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
Michael Kriese fb0dad1e42 refactor(datasource/docker): types cleanup (#16578) 2022-07-14 22:27:31 +03:00
Sergei Zharinov d0fe5f904e feat(fs): Scope checks for filesystem functions (#16511) 2022-07-14 07:53:26 +00:00
IKEDA Sho 9a413e5f2e test(datasource): remove unnecessary optional chaining in tests (#16572) 2022-07-14 05:28:51 +00:00
Olivier Michaelis 5568420c78 feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Jamie Magee 98b19615fa feat(manager/kubernetes): extract kubernetes api versions (#16556)
* feat(manager/kubernetes): extract kubernetes api versions

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

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

* coverage

* inline small fixture

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-13 21:09:15 +02:00
Florian Greinacher 2b582140c2 fix(manager/docker): use correct autoreplace string for registry aliases (#16542)
* fix(manager/docker): use correct autoreplace string for registry aliases

* fix: re-establish old behavior
2022-07-13 06:22:52 +00:00
IKEDA Sho 0d2d22167d feat(versioning): add perl versioning (#16518) 2022-07-12 10:29:27 +02:00
Jamie Magee c3c493baf1 docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
Gabriel-Ladzaretti 6202b1c264 refactor(util/exec): change mocked modules in existing tests (#16519) 2022-07-11 11:41:24 +02:00
Johannes Feichtner 21d5e6829d feat(gradle): add support for variable assignments with rootProject and project (#16505)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-10 14:06:50 +00:00
Sergei Zharinov e26130329d refactor(fs): Add tests for every filesystem function (#16495)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
Philip 6453c3833f feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Michael Kriese 677fc8b332 fix(datasource/docker): do not use json for '/v2/' (#16482)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-08 14:05:29 +00:00
Yun Lai 605f35c45c feat: add versioning for Hermit package manager (#16256)
* feat: add versioning for Hermit package manager

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update index.ts index.spec.ts and readme.md according to PR comments

* fix: fix versioning test double negation and _parseVersion function which is just for testing

* fix: simplify hermit versioning implementation as suggested

* fix: use _compare to simplify versioning implementation

* fix: reword version in hermit versioning and make _isChannel & _getChannel static

* fix: remove duplicated title in test and make _config readonly

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 13:30:22 +00:00
Florian Greinacher 93c2d053a3 feat(manager/gitlabci): add support for registryAliases (#16227)
* feat(manager/gitlabci): add support for CI_REGISTRY

* fix: pass correct property

* chore: adapt tests

* docs; add documentation for the new option

* test: extend test cases

* fix: do the abc properly

* refactor: switch to using registryAliases option

* docs: mention registry variable

* style: remove extra heading

* docs: fix sentence

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

* docs: move documentation to managers

* docs: fix formatting

* refactor: handle default value in function body

* refactor: remove unused function

* refactor: move registry alias handling to dockerfile manager

* style: remove unused import

* refactor: use match groups directly

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

* refactor: add dockerfile manager tests

* chore: fix variable name

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 09:42:31 +02:00
Sergei Zharinov 83f67c27d5 refactor(fs): Rename getSubDirectory to getParentDir (#16446)
* refactor(fs): Rename `getSubDirectory` to `getParentDir`

* Add tests for `getSiblingFileName`

* fix

* fix
2022-07-07 06:44:21 +00:00
Paul Gschwendtner c8921582ce fix(npm): properly handle lock file maintenance for nested independent yarn workspaces (#16451) 2022-07-06 20:49:55 +00:00
Johannes Feichtner 19254ca0a4 fix(gradle): remove default maven central registry (#16430) 2022-07-06 20:33:56 +00:00
Jamie Magee 3589d0e222 refactor: remove deprecated loadFixture calls (#16404)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-04 04:18:53 +00:00
Johannes Feichtner 8738b0a47c feat(versioning/redhat): Support for Red Hat release versioning (#16294) 2022-07-03 23:39:13 +00:00
Johannes Feichtner db6de24756 fix(gradle): resolve escaped registry URLs in gradle.properties (#16403) 2022-07-03 15:53:43 -07:00
Jamie Magee 1c30a3d8cc refactor(manager/jenkins): correct type-check for version (#16395) 2022-07-03 20:48:53 +02:00
Johannes Feichtner 351fd363c1 fix(gradle): ignore stages() method from reckon plugin (#16401) 2022-07-03 16:25:36 +00:00
Rhys Arkins b49849b2a0 fix: assign default versioning before applying package rules (#16392) 2022-07-03 18:11:20 +02:00
Nuno Marujo 426d3f34cf docs: Maven - Ensure changelog is fetchable (#16389) 2022-07-03 15:31:23 +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
Sergei Zharinov c866fd06fc fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
Sergei Zharinov 1454b602fc fix(github): Shrink pages for specific types of errors (#16388) 2022-07-02 18:41:02 +02:00
Sergei Zharinov b5df686fb7 refactor(github): Introduce misc query function for GraphQL (#16387)
* refactor(github): Introduce misc `query` function for GraphQL

* Update lib/modules/datasource/github-releases/cache/cache-base.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-02 15:24:17 +02:00
Johannes Feichtner aa50662d3d feat(gradle): add support for versions with underscores (#16365) 2022-07-02 08:54:50 +00:00
Sergei Zharinov 49f7bac4e0 refactor(github): Consume pages entirely during tags/releases caching (#16386) 2022-07-02 10:13:55 +02:00
Sergei Zharinov b9257bf5dd fix(github-tags): Use releaseTimestamp from tagger object (#16385) 2022-07-02 09:46:48 +02: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
jatladams e1bb2581ef feat(bitbucket-server): Support gitUrl (#13875) 2022-07-01 11:59:58 +02:00
Jonathan Narwold c3fd5c2edf feat(bundler): support conservative mode (#16129) 2022-07-01 08:49:23 +00:00
Jamie Magee cc2ad5174e fix: switch changelog urls from http to https (#16349) 2022-07-01 04:57:07 +00:00
HonkingGoose 1261d70390 docs(manager/regex): link to our Handlebars helpers (#16340) 2022-06-30 09:37:50 +00:00
Johannes Feichtner 3b8bd95fe8 fix: add return value for additionalRegistryURLs concat in resolveRegistryUrls (#16334) 2022-06-30 05:06:22 +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
Gabriel-Ladzaretti dc11e26c37 fix(datasource/pypi): use pypi.org/pypi registry instead of pypi.org/simple (#16293)
* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* Update lib/modules/datasource/pypi/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 07:26:46 +02:00
Sergei Zharinov 6d605cbf90 fix(helm): Revert source url logic back (#16317) 2022-06-29 03:58:08 +00:00
Rhys Arkins 17f1b409a6 fix: log http and npm rejection cases (#16307) 2022-06-28 16:30:35 +02:00
Rhys Arkins f00590cff7 fix(bazel): skip updating if unchanged value (#16295)
Closes #16268
2022-06-28 11:27:57 +02:00
Sergei Zharinov 4fc31b1d7a fix(helm): Revert previous datasource changes (#16265) 2022-06-27 08:50:57 +00:00
renovate[bot] 100a820db6 build(deps): update aws-sdk-js-v3 monorepo (#16233)
* build(deps): update aws-sdk-js-v3 monorepo

* update snapshots

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-27 05:31:34 +00:00
Michael Kriese 07d278b268 refactor: add missing type (#16251) 2022-06-27 07:17:52 +02:00
Michael Kriese cbf39e7cae fix(datasource/helm): refactor logging (#16252) 2022-06-27 07:17:28 +02:00