Commit Graph

790 Commits

Author SHA1 Message Date
Sergei Zharinov 2b0e80b884 feat!: Switch to ESM modules (#40756) 2026-01-29 14:21:41 +00:00
Felipe Santos 5db0218ec1 fix(gerrit): not cloning submodules (#40089) 2026-01-28 22:25:16 +00:00
Michael Kriese e36d080d22 chore: add proper imports from azure-devops-node-api (#40762) 2026-01-28 17:01:15 +00:00
RahulGautamSingh e958373dbf chore: replace URL.parse (#40703)
* replace URL.parse

* fix test

* fix import extensions

* coverage

* add tests

---------

Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-01-27 16:19:02 +00:00
Sergei Zharinov c5b0a74f82 refactor: Remove constructor parameter properties (#40712) 2026-01-27 11:16:26 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
RahulGautamSingh 18bd32166b chore: replace URL.resolve (#40702)
replace URL.resolve
2026-01-26 18:59:54 +00:00
Adam Setch eec42ca57d fix(bitbucket): massage codeblock markdown (#40346)
* fix(bitbucket): /massage codeblock markdown

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(bitbucket): massage codeblock markdown

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(bitbucket): massage codeblock markdown

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(bitbucket): massage codeblock markdown

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Update index.ts

* fix(bitbucket): massage codeblock markdown

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-15 16:26:01 +00:00
Adam Setch 54d0edc750 fix(bitbucket): update indentation regex (#40359)
* fix(bitbucket): update regex to match multiline new lines

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(bitbucket): update regex to match multiline new lines

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Update index.ts

* update test to cover unordered lists in release notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update test to cover unordered lists in release notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-15 12:06:02 +00:00
renovate[bot] acacad57c6 chore(deps): update linters (main) (#40277)
* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | eslint-plugin-oxlint | 1.36.0 | 1.38.0 |
| npm        | typescript-eslint    | 8.50.1 | 8.52.0 |

* chore: enable oxlint gha format

* chore: fix lint

* chore: fix lint

* chore: fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-14 15:32:48 +00:00
Adam Setch 5c19dd608d feat(dashboard): add heading for abandoned deps section (#40381)
* feat(dashboard): heading for abandoned deps section

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(dashboard): heading for abandoned deps section

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-12 15:30:33 +00:00
jana-lemke e934191bbe fix(bitbucket-server): properly support gitUrl=endpoint (#39531)
* Fix handling of giturl

* fix handling of undefined credentials

(This was never called before and was now failing).
2026-01-11 16:58:29 +00:00
Adam Setch ec4c23e57d feat: emojify truncated notes (#40367)
* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify dashboard notices

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify dashboard notices

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-11 09:34:14 +00:00
Adam Setch 330d175341 feat: caution attestation notice (#40368)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-11 08:03:51 +00:00
Adam Setch 3854945c6a fix(bitbucket): markdown massaging for release notes (#40344)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-09 07:36:10 +00:00
Adam Setch 75aa561d3b feat(bitbucket): increase max body length (#40345)
* feat(bitbucket): increase max body length

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(bitbucket): increase max body length

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(bitbucket): increase max body length

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-09 07:34:17 +00:00
RahulGautamSingh 1413d5ac6d fix(gitlab): skip on unknown reviewers (#39619)
* skip on unknown reviewers instead of failing

* Update lib/modules/platform/gitlab/http.ts

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

* Update lib/modules/platform/gitlab/http.ts

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* skip of none reviewers could be fetched

---------

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
2026-01-07 16:03:57 +00:00
Jamie Tanna 39bfc0975e refactor(util/exec): remove deprecated encoding property (#40199)
This has been deprecated since 2022-07, and is unused as we only ever
use UTF-8.

In `tools/utils/exec.ts` we make sure to specify it explicitly, so we
don't get a Buffer returned.
2025-12-30 09:55:31 +00:00
Jamie Tanna a0de10332d refactor(platform/local): use shared rawExec for commands (#40200)
chore(platform/local): use shared `rawExec` for commands

Otherwise we miss out on instrumentation, and it makes it more difficult
to centrally change configuration.
2025-12-29 17:58:02 +00:00
Sergei Zharinov fb15aa4bfe fix(cache): use bitbucket-server as platform cache key (#40168)
* fix(cache): use `bitbucket-server` as platform cache key

Change the Bitbucket Server platform cache key from `bitbucketServer`
(camelCase) to `bitbucket-server` (kebab-case) to match the platform ID.

Adds migration logic to automatically convert existing caches using
the old key to the new format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Simplify

* Simplify more

* Update lib/modules/platform/bitbucket-server/pr-cache.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Revert "Update lib/modules/platform/bitbucket-server/pr-cache.ts"

This reverts commit e564d91742.

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-12-28 16:58:54 +00:00
RahulGautamSingh a052292daf refactor(platforms): changes around createdAt field (#40063)
* refactor(platforms): changes around  field

* push test changes
2025-12-18 14:13:34 +00:00
Adam Setch fd149d69e0 refactor: update fixture headers (#40031)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-17 11:50:28 +00:00
Shashi Kanth M 2809af341b fix(github/vulnerabilityAlerts): don't error on unknown ecosystems (#39417)
fix(github-alerts): safely skip unsupported vulnerability ecosystems without parse failure
2025-12-16 10:10:08 +00:00
Adam Setch aacb0261b4 feat(bitbucket): massage markdown for collapsible sections section (#39720)
* feat(bitbucket): massage markdown for detected deps section

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: add totals to detected dependency summaries

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Revert "feat: add totals to detected dependency summaries"

This reverts commit f76631a36d.

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update test

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* collapsible formatting

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-15 08:51:15 +00:00
travisshivers 32bf2bf5c6 fix(gerrit): pass credentials to api calls in initPlatform (#39970)
We need to explicitly pass the gerrit credentials to the api calls
in initPlaform since the host rules for the platform aren't set up
until later on, so the standard http library won't find any credentials
for the gerrit platform yet.

This follows the same pattern as many of the other platforms on renovate
where they also explicitly pass credentials for the api calls made
during their initPlatform.

This appears to have been broken recently due to the recent addition
of an authenticated version api call in
https://github.com/renovatebot/renovate/pull/39223

See https://github.com/renovatebot/renovate/discussions/39969
2025-12-15 08:43:14 +00:00
Kyle Sferrazza 32befe2944 fix(gitlab): properly massage config migration MR links (#39474)
fix gitlab migration MR link

closes #32178
2025-12-15 08:20:36 +00:00
Felipe Santos c1b45a56b7 feat(gerrit): use most efficient search operators based on Gerrit version (#39223)
* fix(gerrit): use most efficient search operators based on Gerrit version

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>

* Address review comments

* Use ignore if instead

* Rename client.version to client.gerritVersion

* Update lib/modules/platform/gerrit/client.spec.ts

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

---------

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-12-12 18:49:01 +00:00
Jamie Tanna 039589449d docs(codecommit): clarify "feature freeze" post Amazon re-investment (#39939)
As per discussion in #39741.
2025-12-12 11:58:31 +00:00
Felipe Santos 28116f7d40 feat(gerrit): support moving changes to different target branches (#39046)
* feat(gerrit): support moving changes to different target branches

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>

* Update lib/modules/platform/types.ts

---------

Signed-off-by: Felipe Santos <felipe.santos@ericsson.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-12-11 15:58:45 +00:00
Felipe Santos fe4823678d fix(gerrit): correct comment normalization (#39016) 2025-12-10 22:17:02 +00:00
Adam Setch e8f77e5926 fix(bitbucket): abandoned dependencies section heading formatting (#39817)
* fix: more targeted movement of note

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix: more targeted movement of note

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-09 21:51:23 +00:00
Adam Setch a3fdd35366 feat(dashboard): open all awaiting schedule PRs (#39674)
* feat(dashboard): open all PR controls for schedule and status checks

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(dashboard): open all pending schedule PRs

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(dashboard): open all awaiting schedule PRs

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(dashboard): open all awaiting schedule PRs

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix order

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(dashboard): open all awaiting schedule PRs

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Update read-only-issue-body.ts

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-08 20:49:02 +00:00
Jamie Tanna e194bd8636 docs(gerrit): mark experimental status more visibly (#39799) 2025-12-08 20:16:30 +00:00
Johannes Feichtner a64ee84038 fix(bitbucket-server): resize mend.io merge confidence badges (#39795) 2025-12-05 12:08:11 +00:00
Jellyfrog 16ea48d86d feat(gitlab): add support for autodiscovery repo sort/order (#39680) 2025-12-04 16:04:17 +00:00
Adam Setch 68baaa2856 refactor(dashboard): consistently use title case for headings (#39754)
* refactor(dashboard): proper-case section headings

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* refactor(dashboard): proper-case section headings

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-04 13:55:44 +00:00
RahulGautamSingh 60f7ffc620 feat(bitbucket-server): get username from header (#39554)
* get username from header

* always fetch bbs version

* Apply Suggestions

* remove outdated test

* fix typo

* add test
2025-12-03 18:32:35 +00:00
RahulGautamSingh 972495250f fix(gitlab/schema): change sha field to use nullish instead of optional (#39758)
Change sha field to use nullish instead of optional
2025-12-03 13:39:10 +00:00
RahulGautamSingh 6dc48db8e1 refactor(gitlab): use http.getJson (#38688)
* use getJson

* fix schema and tests

* make updated_at & target_branch non-optional

* convert head_pipeline[sha] to LongCommitSha type

* make assignee object nullable

* make head_pipleline nullable

* fix: revert some changes

* fix schema definition

* Apply Suggestions

* fix test

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-12-03 09:29:46 +00:00
Adam Setch 1b020a75f0 test(gitlab): update scenario to match dependency-dashboard text (#39677)
test: update scenario to match dependency-dashboard text

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-03 08:46:55 +00:00
Adam Setch 20888dbe7f docs(bitbucket): add comment re: collapsible syntax support (#39715)
* docs(bitbucket): add comment re: collapsible syntax support

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* docs(bitbucket): add comment re: collapsible syntax support

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-03 08:34:26 +00:00
Adam Setch b9da569bf0 feat(bitbucket): massage issue markdown for abandoned deps section (#39717)
* feat(bitbucket): massage markdown for abandoned deps section

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat(bitbucket): massage markdown for abandoned deps section

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-03 08:32:57 +00:00
Adam Setch e97a886a71 fix: read only issue (#39676)
* fix: read only issue

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix: read only issue

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update ordering

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update regex

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Update read-only-issue-body.ts

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-12-02 13:54:11 +00:00
Michael Kriese c641239c19 fix: use stricter types for renovate config (#39594)
* fix: use stricter types for renovate config

* fix: revert changes

* Apply suggestions from code review
2025-11-28 13:16:27 +00:00
Michael Kriese 32f73bb511 fix(platform): includeMirrors is a global only option (#39580) 2025-11-27 10:46:30 +00:00
Michael Kriese ad710ec6ea fix(platform): endpoint is a global only option (#39579) 2025-11-27 10:12:16 +00:00
Michael Kriese 0af770947b fix: ignorePrAuthor is a global repo config (#39578) 2025-11-27 09:05:15 +00:00
Adam Setch 079350743a refactor(bitbucket): compare issue type when determining whether to update existing issues (#39571)
* refactor(bitbucket): issue update consider issue type

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* refactor(bitbucket): issue update consider issue type

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* refactor(bitbucket): issue update consider issue type

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-11-26 17:45:00 +00:00
Adam Setch d226777e74 feat(bitbucket): raise issue as tasks not bugs (#39565)
feat(bitbucket): raise issues as `tasks` not `bugs`

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2025-11-26 17:08:29 +00:00
Michael Kriese 050ac8d23b chore: better code coverage (#39518) 2025-11-25 15:01:54 +00:00