Commit graph

251 commits

Author SHA1 Message Date
Olivier Michaelis
5568420c78
feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Jamie Magee
c3c493baf1
docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
Philip
6453c3833f
feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Sergei Zharinov
c866fd06fc
fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
jatladams
e1bb2581ef
feat(bitbucket-server): Support gitUrl (#13875) 2022-07-01 11:59:58 +02: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
Michael Kriese
69e3f5117e
fix: use re2 (#16044) 2022-06-20 12:52:22 +00:00
Tobias
6a78436600
feat(github): enable platformAutomerge feature for GHES>=3.3 (#15924) 2022-06-14 16:57:15 +02:00
Dominic Seitz
953ef18e87
feat(gitea): Support gitUrl (#14947)
* feat: Support gitUrl on gitea platform

* refactor: use query token instead of auth header

* refactor: debug message style

* refactor: use url property query

* refactor: use basic http auth for gitea

* test: add gitea tests for gitUrl property

* refactor: capitalising abbreviations

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

* refactor: move getRepoUrl to utils

* fix: add missing property ssh_url to fix linting

* fix: utils strict mode issues

* Merge branch 'main' into main

* refactor: use endpoint without api path slicing

* refactor: use different null check

* refactor: make urls optional

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

* test: prettier fix

* test: update test

* refactor: throw error if clone_url is missing

* test: refactor empty clone_url test

* refactor: change empty clone_url logic

* refactor: change imports

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

* test: add token tests

* refactor: replace deprecated url module

* refactor: add null checks

* test: add tests for null checks

* test: use host rule implementation instead of mock

* refactor: remove explicit typing

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

* test: update mocking

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

* test: change dynamic imports

* Update lib/modules/platform/gitea/utils.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-09 13:48:40 +00:00
Rhys Arkins
561c08d545
fix(github): filter vulnerability states only for >=3.5 (#15920)
Closes #14431
2022-06-07 09:12:23 +02:00
Rhys Arkins
381481ace1 fix: log GHES version 2022-06-07 07:50:46 +02:00
Gabriel-Ladzaretti
1c248e284f
fix(platform/github): dryrun skip autoclosed prs reopening (#15727) 2022-05-26 07:12:30 +02:00
Dominic Seitz
292f144590
refactor(gitea): use env variable endpoint without api path appendix (#15055)
* refactor: use gitea env variable endpoint without api path appendix

* refactor: use regex for api path trimming

* refacotr: move api path constant to gitea-helper

* refactor: consider end of string for api path trimming

* refactor: use baseUrl in gitea helper tests

* test: use toEqual instead of snapshot test

* refactor: update gitea default endpoint

* test: update gitea base url

* test: update init platform test

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

* test: fix linting

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 18:32:45 +00:00
Michael Kriese
8c20872ee2
fix(config): unicodeEmoji is a global only option (#15631) 2022-05-18 11:32:27 +02:00
Rhys Arkins
9a1d98cc1b
fix(changelog): massage links case insensitive (#15570) 2022-05-13 08:07:01 +02:00
Sergei Zharinov
f292e76852
feat: Cache compacted PR body structure (#15303) 2022-05-09 10:24:28 +00:00
Kenneth Jorgensen
6ea0d5d6fb
feat(maven): S3 Support (#14938)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-04 05:59:14 +02:00
Sergei Zharinov
add3520a30
fix(github): Use long pages for initial PR lsit fetch (#15400) 2022-05-02 18:59:17 +00:00
Michael Kriese
ef470f7f92
feat(config): parse json files as json5 (#15187) 2022-04-29 08:34:55 +00:00
Michael Kriese
982cefff2b
refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Sergei Zharinov
05c0c9bd4b
fix(github): Drop ETag support for PR cache (#15292) 2022-04-24 18:36:06 +02:00
Sergei Zharinov
ce52bda3c8
feat(github): Remove irrelevant fields from PR cache (#15283) 2022-04-23 15:23:06 +00:00
Sergei Zharinov
b722489191
feat(github): Descrease PR list page size (#15280) 2022-04-23 14:28:35 +01:00
Michael Kriese
53bd90b30f
refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00
Michael Kriese
e24bf474ef
refactor(platform): more strict null checks (#15247) 2022-04-22 14:13:14 +00:00
Michael Kriese
e8808f33aa
refactor(platform:bitbucket): strict null checks (#15196)
* refactor(platform:bitbucket): strict null checks

* refactor: wrong change
2022-04-20 20:55:20 +00:00
HonkingGoose
e23b8fc3e1
docs: use term GitHub Enterprise Server (#15188) 2022-04-20 11:26:26 +01:00
Michael Kriese
78eb54361d
refactor(platform:azure): strict null checks (#15189) 2022-04-20 11:22:23 +01:00
Sergei Zharinov
a06e5d9ce7
refactor(cache): Separate data and metadata for repo cache (#15117) 2022-04-16 06:51:29 +01:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST (#14907) 2022-04-15 17:21:09 +00:00
Michael Kriese
ac12692637
fix(platform:github): filter discovered null repos (#15097) 2022-04-13 07:24:17 +01:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests (#15082) 2022-04-12 15:09:19 +01:00
Michael Kriese
0a264567d0
test(platform/gitea): replace massageMarkdown (#15070) 2022-04-12 08:06:55 +00:00
HonkingGoose
f3e0462aa0
docs(running renovate): move authentication info into platform readmes (#14654) 2022-04-10 09:39:51 +00:00
Sergei Zharinov
6698c20603
feat(github): Mapping functions for ApiCache items (#15010) 2022-04-08 05:54:17 +00:00
Sergei Zharinov
65a99fb94f
feat(github): Implement ApiCache data structure (#14943) 2022-04-06 16:00:26 +00:00
Michael Kriese
fb9303c190
feat(core:changelogs): better platform detection (#14989)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-06 14:56:40 +00:00
MaronHatoum
f730ff5394
fix(platform/pr-body): refactor smartTruncate function (#14915)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-04 17:49:19 +02:00
jatladams
e5a0ca905b
refactor(platform/bitbucket-server): split initRepo (#14606)
* Move getting repo git url logic into a function similar to gitlab implementation as per request in another PR:
https://github.com/renovatebot/renovate/pull/13875#issuecomment-1023980178

* Bitbucket server - Move getRepoGitUrl into utils

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-02 05:41:53 +00:00
Sergei Zharinov
0245f0f461
refactor(github): Explicit coerce functions for PR list responses (#14884) 2022-04-02 04:33:32 +00:00
renovate[bot]
832517e98b
chore(deps): update linters to v5.16.0 (#14833)
* chore(deps): update linters to v5.16.0

* chore: fix lint errors manually

* Update lib/modules/manager/npm/update/package-version/index.ts

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-30 03:08:04 +00:00
nyg
18b884d4a7
fix(github): Ignore vulnerability alerts in FIXED or DISMISSED states (#14431) 2022-03-28 14:16:25 +02:00
Sergei Zharinov
9933dda182
refactor(github): Stop using cannotMergeReason field (#14823) 2022-03-28 13:15:45 +02:00
Rhys Arkins
891bcd9960
fix(azure): handle missing repo (#14784) 2022-03-24 08:15:18 +01:00
MaronHatoum
ef3db00462
fix(platform): renovate should not be case sensitive (#14714) 2022-03-20 12:13:51 +01:00
Sergei Zharinov
d2c42ebe42
refactor(platform/github): Simplify test mocks (#14725) 2022-03-19 06:03:41 +00:00
Rhys Arkins
90e5182bd4
refactor: split global/repo sanitizations (#14635) 2022-03-13 10:27:21 +00:00
HonkingGoose
7d13826854
fix(bitbucket server): rewrite debug message (#14595) 2022-03-11 08:58:50 +01:00
Rhys Arkins
dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00