Commit Graph

40 Commits

Author SHA1 Message Date
Sebastian Poxhofer a473e73b3e fix(linters): forbid inert counts in v8 coverage-ignore comments (#45287)
Adds a custom oxlint rule renovate/v8-ignore-no-count that flags the
count form '/* v8 ignore next <N> */'. The count is not honored by
vitest's ast-v8-to-istanbul hint parser, which captures only the
keyword (if/else/next/file); 'next' always exempts exactly the next
AST node. Trailing counts therefore suggest a line range that is never
applied and mislead readers.

The rule is autofixable (drops the count, preserving actual behavior)
and has been applied to all existing occurrences.
2026-08-22 11:25:31 +00:00
Jamie Tanna 01bcd4fd43 fix(datasource/maven): don't look up potential Gradle Plugins in Maven Central (#43346)
* fix(datasource/maven): don't look up potential Gradle Plugins in Maven Central

As part of efforts to reduce the general overload on Maven Central[0]
from Renovate, we can look to avoid lookups that we know are likely to
never resolve.

For instance, via #43146, we can skip any packages that appear to be a
Gradle Plugin, as they will only ever be sourced from the  Gradle Plugin
Portal.

[0]: https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* Update lib/modules/datasource/maven/readme.md

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

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-14 11:59:31 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +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
Michael Kriese 050ac8d23b chore: better code coverage (#39518) 2025-11-25 15:01:54 +00:00
Rhys Arkins c0bdd1cb4c feat(datasource/maven): set latest tag ignored by default (#37541) 2025-08-18 17:13:25 +00:00
Rhys Arkins 9f63f4aa93 fix(datasource/maven): remove tags (#37021) 2025-07-17 07:11:40 +00:00
Sergei Zharinov 57ec1001f7 feat(maven): Package cache provider (#34959) 2025-05-08 05:04:26 +00:00
Rhys Arkins 70fb88459b feat(datasource/maven)!: use latest and release values as tags (#35515)
Adds support for `latest` and `release` tags in Maven datasource. This means that Renovate will no longer upgrade past the `latest` version in Maven unless `respectLatest` is explicitly configured to `false`.

BREAKING CHANGE: Renovate will now enforce `latest` version for Maven upgrades
2025-04-30 10:51:58 +02:00
Sergei Zharinov 77fa0a0010 feat(maven): Unify fetching utilities (#32999) 2025-03-30 16:38:49 +00:00
Sergei Zharinov 55cb6f7df5 feat(maven): Increase cache TTL for successful postprocess checks (#35069) 2025-03-30 12:16:24 +00:00
Michael Kriese b5ff90f2bd fix: improve coverage (#34667) 2025-03-06 17:05:19 +00:00
Sergei Zharinov a33d3eab9e feat: Switch to Timestamp type (#33648) 2025-01-22 20:15:25 +00:00
Sergei Zharinov 43bd81b520 refactor(maven): Simplify metadata representation (#32786)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-11-28 20:09:00 +00:00
Sergei Zharinov 933ffc8c7e feat(maven): Remove unnecessary HTML page fetches (#32662) 2024-11-28 10:08:55 +00:00
Tobias 6e36262a6b fix(datasource/maven): make cache key extractedVersion specific (#32658) 2024-11-21 16:30:18 +00:00
Sergei Zharinov cb7c10bb9d fix: Handle extractVersion with release post-processing (#32540) 2024-11-16 10:32:33 +00:00
Hans Aikema 957d1997c5 fix(datasource/maven): Maven Central has no index.html (#32295) 2024-11-10 14:29:34 +00:00
Sergei Zharinov e7543eba78 refactor(maven): Simplify downloadHttpProtocol return type (#31641) 2024-09-26 21:01:14 +00:00
Sergei Zharinov f182fb3ea7 feat(maven): Use release post-fetch processing (#31261)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-09-26 13:20:54 +00:00
Sergei Zharinov 523d80ebb9 fix(maven): Return isPrivate flag for default repo (#31061) 2024-08-28 05:22:16 +00:00
Sergei Zharinov 8f797d6c45 feat(maven): Cache datasource results (#30807) 2024-08-15 16:02:35 +00:00
Sergei Zharinov 7c7063d2d5 feat: Support cachePrivatePackages for Maven datasource (#30126) 2024-07-12 18:24:02 +00:00
RahulGautamSingh d0b77e584a feat(datasource): sourceUrl & releaseTimestamp support (#29122) 2024-05-21 07:04:12 +00:00
Sergei Zharinov d64dc70e44 refactor(maven): Exit early for HTML-based metadata extraction (#27752) 2024-03-06 14:10:22 +00:00
Rhys Arkins 044bf9ffde fix(datasource/maven): restore registryStrategy=merge (#26013) 2023-11-28 15:42:27 +00:00
Sergei Zharinov fa3254662d refactor(maven): Simplify HEAD requests cache (#25868) 2023-11-20 19:42:13 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Rhys Arkins 3ec91b2808 feat(maven)!: use hunt strategy for registries (#24588) 2023-09-27 14:29:17 +02:00
Rhys Arkins b6ed33ec01 fix(regex): don’t escape forward slash in fileMatch (#19314)
This cleanup of default `fileMatch` values should be backwards compatible.
2023-03-10 09:34:39 +01:00
Sergei Zharinov 2df8967ae2 refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Michael Kriese 88c9ca6aa3 fix(datasource/maven): use sdk v3 api (#17408) 2022-08-25 12:00:54 +02:00
Sergei Zharinov 765a76319b feat(sbt-package): Fallback to Maven datasource for GitLab packages (#16817)
* feat(sbt-package): Fallback to Maven datasource for GitLab packages

* Fix

* Use `detectPlatform`

* Tests for hostType
2022-08-01 11:05:17 +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
Craig Andrews 295cf29a59 refactor(maven): move createUrlForDependencyPom from index.ts to util.ts (#15381) 2022-04-30 14:45:09 +00:00
Sergei Zharinov ee582fe0e7 refactor(maven): Use explicit cacheability flag for datasource (#15110) 2022-04-14 09:37:07 +02:00
Sergei Zharinov 78a894ce5e fix(maven): Incremental cache for HEAD request checks (#14735) 2022-03-27 05:27:30 +00:00
Sergei Zharinov f337d50af6 fix(datasource/maven): Fix head request caching (#14521) 2022-03-09 14:34:23 +01:00
Rhys Arkins 143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +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