renovate 44.105.4 → 44.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/config/presets/gitea/common.js +4 -2
  2. package/dist/config/presets/gitea/common.js.map +1 -1
  3. package/dist/config/presets/github/index.js +7 -9
  4. package/dist/config/presets/github/index.js.map +1 -1
  5. package/dist/config/presets/gitlab/index.js +4 -15
  6. package/dist/config/presets/gitlab/index.js.map +1 -1
  7. package/dist/constants/platforms.js +94 -42
  8. package/dist/constants/platforms.js.map +1 -1
  9. package/dist/modules/manager/fingerprint.generated.js +6 -6
  10. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  11. package/dist/modules/manager/fleet/extract.js +2 -2
  12. package/dist/modules/manager/fleet/extract.js.map +1 -1
  13. package/dist/modules/manager/flux/extract.js +2 -1
  14. package/dist/modules/manager/flux/extract.js.map +1 -1
  15. package/dist/modules/manager/github-actions/extract.js +5 -8
  16. package/dist/modules/manager/github-actions/extract.js.map +1 -1
  17. package/dist/modules/manager/helmfile/artifacts.js +7 -7
  18. package/dist/modules/manager/helmfile/artifacts.js.map +1 -1
  19. package/dist/modules/manager/helmfile/extract.js +2 -8
  20. package/dist/modules/manager/helmfile/extract.js.map +1 -1
  21. package/dist/modules/manager/helmfile/utils.js +2 -16
  22. package/dist/modules/manager/helmfile/utils.js.map +1 -1
  23. package/dist/modules/manager/helmv3/artifacts.js +8 -17
  24. package/dist/modules/manager/helmv3/artifacts.js.map +1 -1
  25. package/dist/modules/manager/helmv3/common.js +23 -8
  26. package/dist/modules/manager/helmv3/common.js.map +1 -1
  27. package/dist/modules/manager/helmv3/utils.js +16 -1
  28. package/dist/modules/manager/helmv3/utils.js.map +1 -1
  29. package/dist/modules/manager/kustomize/artifacts.js +1 -1
  30. package/dist/modules/manager/kustomize/artifacts.js.map +1 -1
  31. package/dist/modules/manager/mise/backends.js +20 -5
  32. package/dist/modules/manager/mise/backends.js.map +1 -1
  33. package/dist/modules/manager/mise/extract.js +2 -1
  34. package/dist/modules/manager/mise/extract.js.map +1 -1
  35. package/dist/modules/manager/mise/index.js +5 -0
  36. package/dist/modules/manager/mise/index.js.map +1 -1
  37. package/dist/modules/manager/pre-commit/extract.js +13 -13
  38. package/dist/modules/manager/pre-commit/extract.js.map +1 -1
  39. package/dist/modules/manager/terraform/extractors/resources/helm-release.js +2 -2
  40. package/dist/modules/manager/terraform/extractors/resources/helm-release.js.map +1 -1
  41. package/dist/modules/manager/terraform/util.js +1 -5
  42. package/dist/modules/manager/terraform/util.js.map +1 -1
  43. package/dist/modules/platform/bitbucket/files.js +19 -0
  44. package/dist/modules/platform/bitbucket/files.js.map +1 -0
  45. package/dist/modules/platform/bitbucket/index.js +2 -3
  46. package/dist/modules/platform/bitbucket/index.js.map +1 -1
  47. package/dist/modules/platform/gitea/files.js +40 -0
  48. package/dist/modules/platform/gitea/files.js.map +1 -0
  49. package/dist/modules/platform/gitea/gitea-helper.js +2 -7
  50. package/dist/modules/platform/gitea/gitea-helper.js.map +1 -1
  51. package/dist/modules/platform/gitea/index.js +5 -4
  52. package/dist/modules/platform/gitea/index.js.map +1 -1
  53. package/dist/modules/platform/gitea/labels.js.map +1 -1
  54. package/dist/modules/platform/gitea/pr-cache.js.map +1 -1
  55. package/dist/modules/platform/github/files.js +21 -0
  56. package/dist/modules/platform/github/files.js.map +1 -0
  57. package/dist/modules/platform/github/index.js +3 -5
  58. package/dist/modules/platform/github/index.js.map +1 -1
  59. package/dist/modules/platform/gitlab/files.js +23 -0
  60. package/dist/modules/platform/gitlab/files.js.map +1 -0
  61. package/dist/modules/platform/gitlab/index.js +3 -4
  62. package/dist/modules/platform/gitlab/index.js.map +1 -1
  63. package/dist/util/common.js +11 -16
  64. package/dist/util/common.js.map +1 -1
  65. package/dist/util/http/auth.js +5 -5
  66. package/dist/util/http/auth.js.map +1 -1
  67. package/dist/util/http/host-rules.js +7 -7
  68. package/dist/util/http/host-rules.js.map +1 -1
  69. package/dist/workers/repository/update/pr/body/index.js +3 -6
  70. package/dist/workers/repository/update/pr/body/index.js.map +1 -1
  71. package/dist/workers/repository/update/pr/changelog/bitbucket/source.js +28 -5
  72. package/dist/workers/repository/update/pr/changelog/bitbucket/source.js.map +1 -1
  73. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +30 -6
  74. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js.map +1 -1
  75. package/dist/workers/repository/update/pr/changelog/forgejo/source.js +7 -4
  76. package/dist/workers/repository/update/pr/changelog/forgejo/source.js.map +1 -1
  77. package/dist/workers/repository/update/pr/changelog/gitea/source.js +51 -7
  78. package/dist/workers/repository/update/pr/changelog/gitea/source.js.map +1 -1
  79. package/dist/workers/repository/update/pr/changelog/github/source.js +53 -8
  80. package/dist/workers/repository/update/pr/changelog/github/source.js.map +1 -1
  81. package/dist/workers/repository/update/pr/changelog/gitlab/source.js +37 -5
  82. package/dist/workers/repository/update/pr/changelog/gitlab/source.js.map +1 -1
  83. package/dist/workers/repository/update/pr/changelog/release-notes.js +13 -51
  84. package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
  85. package/dist/workers/repository/update/pr/changelog/source.js +17 -5
  86. package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
  87. package/package.json +1 -1
  88. package/renovate-schema.json +2 -2
  89. package/dist/modules/manager/kustomize/common.js +0 -18
  90. package/dist/modules/manager/kustomize/common.js.map +0 -1
  91. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +0 -36
  92. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +0 -1
  93. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js +0 -33
  94. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js.map +0 -1
  95. package/dist/workers/repository/update/pr/changelog/forgejo/index.js +0 -9
  96. package/dist/workers/repository/update/pr/changelog/forgejo/index.js.map +0 -1
  97. package/dist/workers/repository/update/pr/changelog/gitea/common.js +0 -56
  98. package/dist/workers/repository/update/pr/changelog/gitea/common.js.map +0 -1
  99. package/dist/workers/repository/update/pr/changelog/gitea/index.js +0 -9
  100. package/dist/workers/repository/update/pr/changelog/gitea/index.js.map +0 -1
  101. package/dist/workers/repository/update/pr/changelog/github/index.js +0 -56
  102. package/dist/workers/repository/update/pr/changelog/github/index.js.map +0 -1
  103. package/dist/workers/repository/update/pr/changelog/gitlab/index.js +0 -40
  104. package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +0 -1
@@ -1,7 +1,9 @@
1
1
  import { logger } from "../../../logger/index.js";
2
+ import { joinUrlParts } from "../../../util/url.js";
2
3
  import { ExternalHostError } from "../../../types/errors/external-host-error.js";
3
4
  import { PRESET_DEP_NOT_FOUND, PRESET_INVALID, fetchPreset, parsePreset } from "../util.js";
4
- import { getRepoContents } from "../../../modules/platform/gitea/gitea-helper.js";
5
+ import { getRepoFile } from "../../../modules/platform/gitea/files.js";
6
+ import { API_PATH } from "../../../modules/platform/gitea/utils.js";
5
7
  //#region lib/config/presets/gitea/common.ts
6
8
  /**
7
9
  * Builds the preset source of a platform which speaks the Gitea API.
@@ -13,7 +15,7 @@ function createPresetSource(http, defaultEndpoint) {
13
15
  async function fetchJSONFile(repo, fileName, endpoint, tag) {
14
16
  let res;
15
17
  try {
16
- res = await getRepoContents(http, repo, fileName, tag, { baseUrl: endpoint });
18
+ res = await getRepoFile(http, repo, fileName, tag, { baseUrl: joinUrlParts(endpoint, API_PATH) });
17
19
  } catch (err) {
18
20
  if (err instanceof ExternalHostError) throw err;
19
21
  logger.debug(`Preset file ${fileName} not found in ${repo}: ${err.message}`);
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/config/presets/gitea/common.ts"],"sourcesContent":["import { logger } from '../../../logger/index.ts';\nimport { getRepoContents } from '../../../modules/platform/gitea/gitea-helper.ts';\nimport type { RepoContents } from '../../../modules/platform/gitea/schema.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport type { GiteaHttp } from '../../../util/http/gitea.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport {\n PRESET_DEP_NOT_FOUND,\n PRESET_INVALID,\n fetchPreset,\n parsePreset,\n} from '../util.ts';\n\nexport interface GiteaPresetSource {\n fetchJSONFile: (\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string | null,\n ) => Promise<Nullish<Preset>>;\n getPresetFromEndpoint: (\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint?: string,\n tag?: string,\n ) => Promise<Nullish<Preset>>;\n getPreset: (config: PresetConfig) => Promise<Nullish<Preset>>;\n}\n\n/**\n * Builds the preset source of a platform which speaks the Gitea API.\n *\n * Forgejo is a fork of Gitea and serves the same contents API, so the Gitea\n * and Forgejo sources only differ in their Http client and default endpoint.\n */\nexport function createPresetSource(\n http: GiteaHttp,\n defaultEndpoint: string,\n): GiteaPresetSource {\n async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string | null,\n ): Promise<Nullish<Preset>> {\n let res: RepoContents;\n try {\n res = await getRepoContents(http, repo, fileName, tag, {\n baseUrl: endpoint,\n });\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n let contentString: string;\n if (res.type === 'file') {\n contentString = res.contentString;\n } else {\n logger.debug(\n `Preset ${fileName} has unexpected type '${res.type}'. Only \\`file\\` is supported`,\n );\n throw new Error(PRESET_INVALID);\n }\n return parsePreset(contentString, fileName);\n }\n\n function getPresetFromEndpoint(\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint = defaultEndpoint,\n tag?: string,\n ): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n }\n\n function getPreset({\n repo,\n presetName = 'default',\n presetPath,\n tag,\n }: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(\n repo,\n presetName,\n presetPath,\n defaultEndpoint,\n tag,\n );\n }\n\n return { fetchJSONFile, getPresetFromEndpoint, getPreset };\n}\n"],"mappings":";;;;;;;;;;;AAqCA,SAAgB,mBACd,MACA,iBACmB;CACnB,eAAe,cACb,MACA,UACA,UACA,KAC0B;EAC1B,IAAI;EACJ,IAAI;GACF,MAAM,MAAM,gBAAgB,MAAM,MAAM,UAAU,KAAK,EACrD,SAAS,SACX,CAAC;EACH,SAAS,KAAK;GACZ,IAAI,eAAe,mBACjB,MAAM;GAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;GACA,MAAM,IAAI,MAAM,oBAAoB;EACtC;EAEA,IAAI;EACJ,IAAI,IAAI,SAAS,QACf,gBAAgB,IAAI;OACf;GACL,OAAO,MACL,UAAU,SAAS,wBAAwB,IAAI,KAAK,8BACtD;GACA,MAAM,IAAI,MAAM,cAAc;EAChC;EACA,OAAO,YAAY,eAAe,QAAQ;CAC5C;CAEA,SAAS,sBACP,MACA,YACA,YACA,WAAW,iBACX,KAC0B;EAC1B,OAAO,YAAY;GACjB;GACA;GACA;GACA;GACA;GACA,OAAO;EACT,CAAC;CACH;CAEA,SAAS,UAAU,EACjB,MACA,aAAa,WACb,YACA,OACyC;EACzC,OAAO,sBACL,MACA,YACA,YACA,iBACA,GACF;CACF;CAEA,OAAO;EAAE;EAAe;EAAuB;CAAU;AAC3D"}
1
+ {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/config/presets/gitea/common.ts"],"sourcesContent":["import { logger } from '../../../logger/index.ts';\nimport { getRepoFile } from '../../../modules/platform/gitea/files.ts';\nimport type { RepoContents } from '../../../modules/platform/gitea/schema.ts';\nimport { API_PATH } from '../../../modules/platform/gitea/utils.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport type { GiteaHttp } from '../../../util/http/gitea.ts';\nimport { joinUrlParts } from '../../../util/url.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport {\n PRESET_DEP_NOT_FOUND,\n PRESET_INVALID,\n fetchPreset,\n parsePreset,\n} from '../util.ts';\n\nexport interface GiteaPresetSource {\n fetchJSONFile: (\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string | null,\n ) => Promise<Nullish<Preset>>;\n getPresetFromEndpoint: (\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint?: string,\n tag?: string,\n ) => Promise<Nullish<Preset>>;\n getPreset: (config: PresetConfig) => Promise<Nullish<Preset>>;\n}\n\n/**\n * Builds the preset source of a platform which speaks the Gitea API.\n *\n * Forgejo is a fork of Gitea and serves the same contents API, so the Gitea\n * and Forgejo sources only differ in their Http client and default endpoint.\n */\nexport function createPresetSource(\n http: GiteaHttp,\n defaultEndpoint: string,\n): GiteaPresetSource {\n async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string | null,\n ): Promise<Nullish<Preset>> {\n let res: RepoContents;\n try {\n res = await getRepoFile(http, repo, fileName, tag, {\n baseUrl: joinUrlParts(endpoint, API_PATH),\n });\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n let contentString: string;\n if (res.type === 'file') {\n contentString = res.contentString;\n } else {\n logger.debug(\n `Preset ${fileName} has unexpected type '${res.type}'. Only \\`file\\` is supported`,\n );\n throw new Error(PRESET_INVALID);\n }\n return parsePreset(contentString, fileName);\n }\n\n function getPresetFromEndpoint(\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint = defaultEndpoint,\n tag?: string,\n ): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n }\n\n function getPreset({\n repo,\n presetName = 'default',\n presetPath,\n tag,\n }: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(\n repo,\n presetName,\n presetPath,\n defaultEndpoint,\n tag,\n );\n }\n\n return { fetchJSONFile, getPresetFromEndpoint, getPreset };\n}\n"],"mappings":";;;;;;;;;;;;;AAuCA,SAAgB,mBACd,MACA,iBACmB;CACnB,eAAe,cACb,MACA,UACA,UACA,KAC0B;EAC1B,IAAI;EACJ,IAAI;GACF,MAAM,MAAM,YAAY,MAAM,MAAM,UAAU,KAAK,EACjD,SAAS,aAAa,UAAU,QAAQ,EAC1C,CAAC;EACH,SAAS,KAAK;GACZ,IAAI,eAAe,mBACjB,MAAM;GAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;GACA,MAAM,IAAI,MAAM,oBAAoB;EACtC;EAEA,IAAI;EACJ,IAAI,IAAI,SAAS,QACf,gBAAgB,IAAI;OACf;GACL,OAAO,MACL,UAAU,SAAS,wBAAwB,IAAI,KAAK,8BACtD;GACA,MAAM,IAAI,MAAM,cAAc;EAChC;EACA,OAAO,YAAY,eAAe,QAAQ;CAC5C;CAEA,SAAS,sBACP,MACA,YACA,YACA,WAAW,iBACX,KAC0B;EAC1B,OAAO,YAAY;GACjB;GACA;GACA;GACA;GACA;GACA,OAAO;EACT,CAAC;CACH;CAEA,SAAS,UAAU,EACjB,MACA,aAAa,WACb,YACA,OACyC;EACzC,OAAO,sBACL,MACA,YACA,YACA,iBACA,GACF;CACF;CAEA,OAAO;EAAE;EAAe;EAAuB;CAAU;AAC3D"}
@@ -1,27 +1,25 @@
1
- import { fromBase64 } from "../../../util/string.js";
2
1
  import { logger } from "../../../logger/index.js";
3
2
  import { ExternalHostError } from "../../../types/errors/external-host-error.js";
4
3
  import { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from "../util.js";
5
4
  import { GithubHttp } from "../../../util/http/github.js";
6
5
  import { repoCacheProvider } from "../../../util/http/cache/repository-http-cache-provider.js";
7
- import { isNonEmptyString } from "@sindresorhus/is";
6
+ import { getRepoFile } from "../../../modules/platform/github/files.js";
8
7
  //#region lib/config/presets/github/index.ts
9
8
  const Endpoint = "https://api.github.com/";
10
9
  const http = new GithubHttp();
11
10
  async function fetchJSONFile(repo, fileName, endpoint, tag) {
12
- let ref = "";
13
- if (isNonEmptyString(tag)) ref = `?ref=${tag}`;
14
- const url = `${endpoint}repos/${repo}/contents/${fileName}${ref}`;
15
- logger.trace({ url }, `Preset URL`);
16
- let res;
11
+ let content;
17
12
  try {
18
- res = await http.getJsonUnchecked(url, { cacheProvider: repoCacheProvider });
13
+ content = await getRepoFile(http, repo, fileName, tag, {
14
+ baseUrl: endpoint,
15
+ cacheProvider: repoCacheProvider
16
+ });
19
17
  } catch (err) {
20
18
  if (err instanceof ExternalHostError) throw err;
21
19
  logger.debug(`Preset file ${fileName} not found in ${repo}: ${err.message}`);
22
20
  throw new Error(PRESET_DEP_NOT_FOUND);
23
21
  }
24
- return parsePreset(fromBase64(res.body.content), fileName);
22
+ return parsePreset(content, fileName);
25
23
  }
26
24
  function getPresetFromEndpoint(repo, filePreset, presetPath, endpoint = Endpoint, tag) {
27
25
  return fetchPreset({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/config/presets/github/index.ts"],"sourcesContent":["import { isNonEmptyString } from '@sindresorhus/is';\nimport { logger } from '../../../logger/index.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport { repoCacheProvider } from '../../../util/http/cache/repository-http-cache-provider.ts';\nimport { GithubHttp } from '../../../util/http/github.ts';\nimport { fromBase64 } from '../../../util/string.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from '../util.ts';\n\nexport const Endpoint = 'https://api.github.com/';\n\nconst http = new GithubHttp();\n\nexport async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string,\n): Promise<Nullish<Preset>> {\n let ref = '';\n if (isNonEmptyString(tag)) {\n ref = `?ref=${tag}`;\n }\n const url = `${endpoint}repos/${repo}/contents/${fileName}${ref}`;\n logger.trace({ url }, `Preset URL`);\n let res: { body: { content: string } };\n try {\n res = await http.getJsonUnchecked(url, {\n cacheProvider: repoCacheProvider,\n });\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n return parsePreset(fromBase64(res.body.content), fileName);\n}\n\nexport function getPresetFromEndpoint(\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint = Endpoint,\n tag?: string,\n): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n}\n\nexport function getPreset({\n repo,\n presetName = 'default',\n presetPath,\n tag,\n}: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(repo, presetName, presetPath, Endpoint, tag);\n}\n"],"mappings":";;;;;;;;AAUA,MAAa,WAAW;AAExB,MAAM,OAAO,IAAI,WAAW;AAE5B,eAAsB,cACpB,MACA,UACA,UACA,KAC0B;CAC1B,IAAI,MAAM;CACV,IAAI,iBAAiB,GAAG,GACtB,MAAM,QAAQ;CAEhB,MAAM,MAAM,GAAG,SAAS,QAAQ,KAAK,YAAY,WAAW;CAC5D,OAAO,MAAM,EAAE,IAAI,GAAG,YAAY;CAClC,IAAI;CACJ,IAAI;EACF,MAAM,MAAM,KAAK,iBAAiB,KAAK,EACrC,eAAe,kBACjB,CAAC;CACH,SAAS,KAAK;EACZ,IAAI,eAAe,mBACjB,MAAM;EAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;EACA,MAAM,IAAI,MAAM,oBAAoB;CACtC;CAEA,OAAO,YAAY,WAAW,IAAI,KAAK,OAAO,GAAG,QAAQ;AAC3D;AAEA,SAAgB,sBACd,MACA,YACA,YACA,WAAW,UACX,KAC0B;CAC1B,OAAO,YAAY;EACjB;EACA;EACA;EACA;EACA;EACA,OAAO;CACT,CAAC;AACH;AAEA,SAAgB,UAAU,EACxB,MACA,aAAa,WACb,YACA,OACyC;CACzC,OAAO,sBAAsB,MAAM,YAAY,YAAY,UAAU,GAAG;AAC1E"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/config/presets/github/index.ts"],"sourcesContent":["import { logger } from '../../../logger/index.ts';\nimport { getRepoFile } from '../../../modules/platform/github/files.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport { repoCacheProvider } from '../../../util/http/cache/repository-http-cache-provider.ts';\nimport { GithubHttp } from '../../../util/http/github.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from '../util.ts';\n\nexport const Endpoint = 'https://api.github.com/';\n\nconst http = new GithubHttp();\n\nexport async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string,\n): Promise<Nullish<Preset>> {\n let content: string;\n try {\n content = await getRepoFile(http, repo, fileName, tag, {\n baseUrl: endpoint,\n cacheProvider: repoCacheProvider,\n });\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n return parsePreset(content, fileName);\n}\n\nexport function getPresetFromEndpoint(\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint = Endpoint,\n tag?: string,\n): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n}\n\nexport function getPreset({\n repo,\n presetName = 'default',\n presetPath,\n tag,\n}: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(repo, presetName, presetPath, Endpoint, tag);\n}\n"],"mappings":";;;;;;;AASA,MAAa,WAAW;AAExB,MAAM,OAAO,IAAI,WAAW;AAE5B,eAAsB,cACpB,MACA,UACA,UACA,KAC0B;CAC1B,IAAI;CACJ,IAAI;EACF,UAAU,MAAM,YAAY,MAAM,MAAM,UAAU,KAAK;GACrD,SAAS;GACT,eAAe;EACjB,CAAC;CACH,SAAS,KAAK;EACZ,IAAI,eAAe,mBACjB,MAAM;EAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;EACA,MAAM,IAAI,MAAM,oBAAoB;CACtC;CAEA,OAAO,YAAY,SAAS,QAAQ;AACtC;AAEA,SAAgB,sBACd,MACA,YACA,YACA,WAAW,UACX,KAC0B;CAC1B,OAAO,YAAY;EACjB;EACA;EACA;EACA;EACA;EACA,OAAO;CACT,CAAC;AACH;AAEA,SAAgB,UAAU,EACxB,MACA,aAAa,WACb,YACA,OACyC;CACzC,OAAO,sBAAsB,MAAM,YAAY,YAAY,UAAU,GAAG;AAC1E"}
@@ -2,31 +2,20 @@ import { logger } from "../../../logger/index.js";
2
2
  import { ExternalHostError } from "../../../types/errors/external-host-error.js";
3
3
  import { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from "../util.js";
4
4
  import { GitlabHttp } from "../../../util/http/gitlab.js";
5
- import { isNonEmptyString } from "@sindresorhus/is";
5
+ import { getRepoFile } from "../../../modules/platform/gitlab/files.js";
6
6
  //#region lib/config/presets/gitlab/index.ts
7
7
  const gitlabApi = new GitlabHttp();
8
8
  const Endpoint = "https://gitlab.com/api/v4/";
9
- async function getDefaultBranchName(urlEncodedPkgName, endpoint) {
10
- return (await gitlabApi.getJsonUnchecked(`${endpoint}projects/${urlEncodedPkgName}`)).body.default_branch ?? "master";
11
- }
12
9
  async function fetchJSONFile(repo, fileName, endpoint, tag) {
13
- let url = endpoint;
14
- let ref = "";
15
- let res;
10
+ let content;
16
11
  try {
17
- const urlEncodedRepo = encodeURIComponent(repo);
18
- const urlEncodedPkgName = encodeURIComponent(fileName);
19
- if (isNonEmptyString(tag)) ref = `?ref=${tag}`;
20
- else ref = `?ref=${await getDefaultBranchName(urlEncodedRepo, endpoint)}`;
21
- url += `projects/${urlEncodedRepo}/repository/files/${urlEncodedPkgName}/raw${ref}`;
22
- logger.trace({ url }, `Preset URL`);
23
- res = await gitlabApi.getText(url);
12
+ content = await getRepoFile(gitlabApi, encodeURIComponent(repo), fileName, tag, { baseUrl: endpoint });
24
13
  } catch (err) {
25
14
  if (err instanceof ExternalHostError) throw err;
26
15
  logger.debug(`Preset file ${fileName} not found in ${repo}: ${err.message}`);
27
16
  throw new Error(PRESET_DEP_NOT_FOUND);
28
17
  }
29
- return parsePreset(res.body, fileName);
18
+ return parsePreset(content, fileName);
30
19
  }
31
20
  function getPresetFromEndpoint(repo, presetName, presetPath, endpoint = Endpoint, tag) {
32
21
  return fetchPreset({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/config/presets/gitlab/index.ts"],"sourcesContent":["import { isNonEmptyString } from '@sindresorhus/is';\nimport { logger } from '../../../logger/index.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport type { GitlabProject } from '../../../types/platform/gitlab/index.ts';\nimport { GitlabHttp } from '../../../util/http/gitlab.ts';\nimport type { HttpResponse } from '../../../util/http/types.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from '../util.ts';\n\nconst gitlabApi = new GitlabHttp();\nexport const Endpoint = 'https://gitlab.com/api/v4/';\n\nasync function getDefaultBranchName(\n urlEncodedPkgName: string,\n endpoint: string,\n): Promise<string> {\n const res = await gitlabApi.getJsonUnchecked<GitlabProject>(\n `${endpoint}projects/${urlEncodedPkgName}`,\n );\n return res.body.default_branch ?? 'master'; // should never happen, but we keep this to ensure the current behavior\n}\n\nexport async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string,\n): Promise<Nullish<Preset>> {\n let url = endpoint;\n let ref = '';\n let res: HttpResponse;\n try {\n const urlEncodedRepo = encodeURIComponent(repo);\n const urlEncodedPkgName = encodeURIComponent(fileName);\n if (isNonEmptyString(tag)) {\n ref = `?ref=${tag}`;\n } else {\n const defaultBranchName = await getDefaultBranchName(\n urlEncodedRepo,\n endpoint,\n );\n ref = `?ref=${defaultBranchName}`;\n }\n url += `projects/${urlEncodedRepo}/repository/files/${urlEncodedPkgName}/raw${ref}`;\n logger.trace({ url }, `Preset URL`);\n res = await gitlabApi.getText(url);\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n return parsePreset(res.body, fileName);\n}\n\nexport function getPresetFromEndpoint(\n repo: string,\n presetName: string,\n presetPath?: string,\n endpoint = Endpoint,\n tag?: string,\n): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset: presetName,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n}\n\nexport function getPreset({\n repo,\n presetPath,\n presetName = 'default',\n tag,\n}: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(repo, presetName, presetPath, Endpoint, tag);\n}\n"],"mappings":";;;;;;AAUA,MAAM,YAAY,IAAI,WAAW;AACjC,MAAa,WAAW;AAExB,eAAe,qBACb,mBACA,UACiB;CAIjB,QAAO,MAHW,UAAU,iBAC1B,GAAG,SAAS,WAAW,mBACzB,EAAA,CACW,KAAK,kBAAkB;AACpC;AAEA,eAAsB,cACpB,MACA,UACA,UACA,KAC0B;CAC1B,IAAI,MAAM;CACV,IAAI,MAAM;CACV,IAAI;CACJ,IAAI;EACF,MAAM,iBAAiB,mBAAmB,IAAI;EAC9C,MAAM,oBAAoB,mBAAmB,QAAQ;EACrD,IAAI,iBAAiB,GAAG,GACtB,MAAM,QAAQ;OAMd,MAAM,QAAQ,MAJkB,qBAC9B,gBACA,QACF;EAGF,OAAO,YAAY,eAAe,oBAAoB,kBAAkB,MAAM;EAC9E,OAAO,MAAM,EAAE,IAAI,GAAG,YAAY;EAClC,MAAM,MAAM,UAAU,QAAQ,GAAG;CACnC,SAAS,KAAK;EACZ,IAAI,eAAe,mBACjB,MAAM;EAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;EACA,MAAM,IAAI,MAAM,oBAAoB;CACtC;CAEA,OAAO,YAAY,IAAI,MAAM,QAAQ;AACvC;AAEA,SAAgB,sBACd,MACA,YACA,YACA,WAAW,UACX,KAC0B;CAC1B,OAAO,YAAY;EACjB;EACA,YAAY;EACZ;EACA;EACA;EACA,OAAO;CACT,CAAC;AACH;AAEA,SAAgB,UAAU,EACxB,MACA,YACA,aAAa,WACb,OACyC;CACzC,OAAO,sBAAsB,MAAM,YAAY,YAAY,UAAU,GAAG;AAC1E"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/config/presets/gitlab/index.ts"],"sourcesContent":["import { logger } from '../../../logger/index.ts';\nimport { getRepoFile } from '../../../modules/platform/gitlab/files.ts';\nimport { ExternalHostError } from '../../../types/errors/external-host-error.ts';\nimport type { Nullish } from '../../../types/index.ts';\nimport { GitlabHttp } from '../../../util/http/gitlab.ts';\nimport type { Preset, PresetConfig } from '../types.ts';\nimport { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from '../util.ts';\n\nconst gitlabApi = new GitlabHttp();\nexport const Endpoint = 'https://gitlab.com/api/v4/';\n\nexport async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string,\n): Promise<Nullish<Preset>> {\n let content: string;\n try {\n content = await getRepoFile(\n gitlabApi,\n encodeURIComponent(repo),\n fileName,\n tag,\n { baseUrl: endpoint },\n );\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(\n `Preset file ${fileName} not found in ${repo}: ${err.message}`,\n );\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n return parsePreset(content, fileName);\n}\n\nexport function getPresetFromEndpoint(\n repo: string,\n presetName: string,\n presetPath?: string,\n endpoint = Endpoint,\n tag?: string,\n): Promise<Nullish<Preset>> {\n return fetchPreset({\n repo,\n filePreset: presetName,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n}\n\nexport function getPreset({\n repo,\n presetPath,\n presetName = 'default',\n tag,\n}: PresetConfig): Promise<Nullish<Preset>> {\n return getPresetFromEndpoint(repo, presetName, presetPath, Endpoint, tag);\n}\n"],"mappings":";;;;;;AAQA,MAAM,YAAY,IAAI,WAAW;AACjC,MAAa,WAAW;AAExB,eAAsB,cACpB,MACA,UACA,UACA,KAC0B;CAC1B,IAAI;CACJ,IAAI;EACF,UAAU,MAAM,YACd,WACA,mBAAmB,IAAI,GACvB,UACA,KACA,EAAE,SAAS,SAAS,CACtB;CACF,SAAS,KAAK;EACZ,IAAI,eAAe,mBACjB,MAAM;EAER,OAAO,MACL,eAAe,SAAS,gBAAgB,KAAK,IAAI,IAAI,SACvD;EACA,MAAM,IAAI,MAAM,oBAAoB;CACtC;CAEA,OAAO,YAAY,SAAS,QAAQ;AACtC;AAEA,SAAgB,sBACd,MACA,YACA,YACA,WAAW,UACX,KAC0B;CAC1B,OAAO,YAAY;EACjB;EACA,YAAY;EACZ;EACA;EACA;EACA,OAAO;CACT,CAAC;AACH;AAEA,SAAgB,UAAU,EACxB,MACA,YACA,aAAa,WACb,OACyC;CACzC,OAAO,sBAAsB,MAAM,YAAY,YAAY,UAAU,GAAG;AAC1E"}
@@ -12,48 +12,100 @@ const PLATFORM_HOST_TYPES = [
12
12
  "local",
13
13
  "scm-manager"
14
14
  ];
15
- const AZURE_API_USING_HOST_TYPES = ["azure", "azure-tags"];
16
- const GITEA_API_USING_HOST_TYPES = [
17
- "gitea",
18
- "gitea-changelog",
19
- "gitea-releases",
20
- "gitea-tags"
21
- ];
22
- const FORGEJO_API_USING_HOST_TYPES = [
23
- "forgejo",
24
- "forgejo-changelog",
25
- "forgejo-releases",
26
- "forgejo-tags"
27
- ];
28
- const GITHUB_API_USING_HOST_TYPES = [
29
- "github",
30
- "github-releases",
31
- "github-release-attachments",
32
- "github-tags",
33
- "pod",
34
- "hermit",
35
- "github-changelog",
36
- "conan"
37
- ];
38
- const GITLAB_API_USING_HOST_TYPES = [
39
- "gitlab",
40
- "gitlab-releases",
41
- "gitlab-tags",
42
- "gitlab-packages",
43
- "gitlab-changelog",
44
- "pypi"
45
- ];
46
- const BITBUCKET_API_USING_HOST_TYPES = [
47
- "bitbucket",
48
- "bitbucket-changelog",
49
- "bitbucket-tags"
50
- ];
51
- const BITBUCKET_SERVER_API_USING_HOST_TYPES = [
52
- "bitbucket-server",
53
- "bitbucket-server-changelog",
54
- "bitbucket-server-tags"
55
- ];
15
+ /**
16
+ * Capabilities of each platform family, so that a consumer which detected a
17
+ * family with `detectPlatform` can look the rest up instead of carrying its own
18
+ * mapping.
19
+ *
20
+ * Keys are ordered the way `detectPlatform` used to test them; both the
21
+ * `apiUsingHostTypes` and the `knownHosts` sets are pairwise disjoint
22
+ */
23
+ const PLATFORM_FAMILIES = {
24
+ azure: {
25
+ apiUsingHostTypes: ["azure", "azure-tags"],
26
+ knownHosts: ["dev.azure.com"],
27
+ tagsDatasource: "azure-tags",
28
+ apiBaseUrl: null,
29
+ webDirPath: "tree/HEAD"
30
+ },
31
+ "bitbucket-server": {
32
+ apiUsingHostTypes: [
33
+ "bitbucket-server",
34
+ "bitbucket-server-changelog",
35
+ "bitbucket-server-tags"
36
+ ],
37
+ knownHosts: [],
38
+ tagsDatasource: "bitbucket-server-tags",
39
+ apiBaseUrl: (baseUrl) => `${baseUrl}rest/api/1.0/`,
40
+ webDirPath: "browse"
41
+ },
42
+ bitbucket: {
43
+ apiUsingHostTypes: [
44
+ "bitbucket",
45
+ "bitbucket-changelog",
46
+ "bitbucket-tags"
47
+ ],
48
+ knownHosts: ["bitbucket.org", "bitbucket.com"],
49
+ tagsDatasource: "bitbucket-tags",
50
+ apiBaseUrl: (_baseUrl) => "https://api.bitbucket.org/",
51
+ webDirPath: "src/HEAD"
52
+ },
53
+ forgejo: {
54
+ apiUsingHostTypes: [
55
+ "forgejo",
56
+ "forgejo-changelog",
57
+ "forgejo-releases",
58
+ "forgejo-tags"
59
+ ],
60
+ knownHosts: ["codeberg.org", "codefloe.com"],
61
+ tagsDatasource: "forgejo-tags",
62
+ apiBaseUrl: (baseUrl) => `${baseUrl}api/v1/`,
63
+ webDirPath: "tree/HEAD"
64
+ },
65
+ gitea: {
66
+ apiUsingHostTypes: [
67
+ "gitea",
68
+ "gitea-changelog",
69
+ "gitea-releases",
70
+ "gitea-tags"
71
+ ],
72
+ knownHosts: ["gitea.com"],
73
+ tagsDatasource: "gitea-tags",
74
+ apiBaseUrl: (baseUrl) => `${baseUrl}api/v1/`,
75
+ webDirPath: "tree/HEAD"
76
+ },
77
+ github: {
78
+ apiUsingHostTypes: [
79
+ "github",
80
+ "github-releases",
81
+ "github-release-attachments",
82
+ "github-tags",
83
+ "pod",
84
+ "hermit",
85
+ "github-changelog",
86
+ "conan"
87
+ ],
88
+ knownHosts: ["github.com"],
89
+ tagsDatasource: "github-tags",
90
+ apiBaseUrl: (baseUrl) => baseUrl.startsWith("https://github.com/") ? "https://api.github.com/" : `${baseUrl}api/v3/`,
91
+ webDirPath: "tree/HEAD"
92
+ },
93
+ gitlab: {
94
+ apiUsingHostTypes: [
95
+ "gitlab",
96
+ "gitlab-releases",
97
+ "gitlab-tags",
98
+ "gitlab-packages",
99
+ "gitlab-changelog",
100
+ "pypi"
101
+ ],
102
+ knownHosts: ["gitlab.com"],
103
+ tagsDatasource: "gitlab-tags",
104
+ apiBaseUrl: (baseUrl) => `${baseUrl}api/v4/`,
105
+ webDirPath: "tree/HEAD"
106
+ }
107
+ };
56
108
  //#endregion
57
- export { AZURE_API_USING_HOST_TYPES, BITBUCKET_API_USING_HOST_TYPES, BITBUCKET_SERVER_API_USING_HOST_TYPES, FORGEJO_API_USING_HOST_TYPES, GITEA_API_USING_HOST_TYPES, GITHUB_API_USING_HOST_TYPES, GITLAB_API_USING_HOST_TYPES, PLATFORM_HOST_TYPES };
109
+ export { PLATFORM_FAMILIES, PLATFORM_HOST_TYPES };
58
110
 
59
111
  //# sourceMappingURL=platforms.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"platforms.js","names":[],"sources":["../../lib/constants/platforms.ts"],"sourcesContent":["export const PLATFORM_HOST_TYPES = [\n 'azure',\n 'bitbucket',\n 'bitbucket-server',\n 'codecommit',\n 'forgejo',\n 'gerrit',\n 'gitea',\n 'github',\n 'gitlab',\n 'local',\n 'scm-manager',\n] as const;\n\nexport type PlatformId = (typeof PLATFORM_HOST_TYPES)[number];\n\nexport const AZURE_API_USING_HOST_TYPES = ['azure', 'azure-tags'];\n\nexport const GITEA_API_USING_HOST_TYPES = [\n 'gitea',\n 'gitea-changelog',\n 'gitea-releases',\n 'gitea-tags',\n];\n\nexport const FORGEJO_API_USING_HOST_TYPES = [\n 'forgejo',\n 'forgejo-changelog',\n 'forgejo-releases',\n 'forgejo-tags',\n];\n\nexport const GITHUB_API_USING_HOST_TYPES = [\n 'github',\n 'github-releases',\n 'github-release-attachments',\n 'github-tags',\n 'pod',\n 'hermit',\n 'github-changelog',\n 'conan',\n // DEPRECATED: do not add additional datasource-specific entries here, if they use `api.github.com` to look up new versions\n];\n\nexport const GITLAB_API_USING_HOST_TYPES = [\n 'gitlab',\n 'gitlab-releases',\n 'gitlab-tags',\n 'gitlab-packages',\n 'gitlab-changelog',\n 'pypi',\n];\n\nexport const BITBUCKET_API_USING_HOST_TYPES = [\n 'bitbucket',\n 'bitbucket-changelog',\n 'bitbucket-tags',\n];\n\nexport const BITBUCKET_SERVER_API_USING_HOST_TYPES = [\n 'bitbucket-server',\n 'bitbucket-server-changelog',\n 'bitbucket-server-tags',\n];\n"],"mappings":";AAAA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAIA,MAAa,6BAA6B,CAAC,SAAS,YAAY;AAEhE,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;AACF;AAEA,MAAa,+BAA+B;CAC1C;CACA;CACA;CACA;AACF;AAEA,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AAEF;AAEA,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,iCAAiC;CAC5C;CACA;CACA;AACF;AAEA,MAAa,wCAAwC;CACnD;CACA;CACA;AACF"}
1
+ {"version":3,"file":"platforms.js","names":[],"sources":["../../lib/constants/platforms.ts"],"sourcesContent":["export const PLATFORM_HOST_TYPES = [\n 'azure',\n 'bitbucket',\n 'bitbucket-server',\n 'codecommit',\n 'forgejo',\n 'gerrit',\n 'gitea',\n 'github',\n 'gitlab',\n 'local',\n 'scm-manager',\n] as const;\n\nexport type PlatformId = (typeof PLATFORM_HOST_TYPES)[number];\n\n/**\n * The platform families Renovate can recognize from a URL.\n *\n * A family groups every flavour of one platform - the vendor's public instance\n * plus any self-hosted installation - because they share an API, a tags\n * datasource and a web UI layout.\n *\n * Every family is a `PlatformId`, but not every platform is a family:\n * `codecommit`, `gerrit`, `local` and `scm-manager` are never recognized from a\n * URL, so they have nothing to describe here.\n */\nconst PLATFORM_FAMILY_IDS = [\n 'azure',\n 'bitbucket',\n 'bitbucket-server',\n 'forgejo',\n 'gitea',\n 'github',\n 'gitlab',\n] as const satisfies readonly PlatformId[];\n\nexport type PlatformFamilyId = (typeof PLATFORM_FAMILY_IDS)[number];\n\nexport interface PlatformFamily {\n /**\n * `hostType` values which authenticate against this family's API, so a\n * hostRule for any of them identifies a host as belonging to the family.\n */\n apiUsingHostTypes: string[];\n\n /**\n * Hostnames `detectPlatform` recognizes as this family outright. Hosts which\n * are not listed are matched by its name heuristics or by a hostRule, so this\n * is a recognition list and says nothing about datasource defaults.\n */\n knownHosts: string[];\n\n /** Datasource which looks up git tags on this family. */\n tagsDatasource: `${PlatformFamilyId}-tags`;\n\n /**\n * Derives the API base URL from the web base URL, which always ends in a\n * slash. `null` for families Renovate has no API client for.\n */\n apiBaseUrl: ((baseUrl: string) => string) | null;\n\n /** Web UI path from a repository root to a directory at the default branch. */\n webDirPath: string;\n}\n\n/**\n * Capabilities of each platform family, so that a consumer which detected a\n * family with `detectPlatform` can look the rest up instead of carrying its own\n * mapping.\n *\n * Keys are ordered the way `detectPlatform` used to test them; both the\n * `apiUsingHostTypes` and the `knownHosts` sets are pairwise disjoint\n */\nexport const PLATFORM_FAMILIES = {\n azure: {\n apiUsingHostTypes: ['azure', 'azure-tags'],\n knownHosts: ['dev.azure.com'],\n tagsDatasource: 'azure-tags',\n apiBaseUrl: null,\n webDirPath: 'tree/HEAD',\n },\n 'bitbucket-server': {\n apiUsingHostTypes: [\n 'bitbucket-server',\n 'bitbucket-server-changelog',\n 'bitbucket-server-tags',\n ],\n // Bitbucket Data Center is self-hosted only.\n knownHosts: [] as string[],\n tagsDatasource: 'bitbucket-server-tags',\n apiBaseUrl: (baseUrl: string) => `${baseUrl}rest/api/1.0/`,\n webDirPath: 'browse',\n },\n bitbucket: {\n apiUsingHostTypes: ['bitbucket', 'bitbucket-changelog', 'bitbucket-tags'],\n knownHosts: ['bitbucket.org', 'bitbucket.com'],\n tagsDatasource: 'bitbucket-tags',\n // Bitbucket Cloud serves every instance from one API host.\n apiBaseUrl: (_baseUrl: string) => 'https://api.bitbucket.org/',\n webDirPath: 'src/HEAD',\n },\n forgejo: {\n apiUsingHostTypes: [\n 'forgejo',\n 'forgejo-changelog',\n 'forgejo-releases',\n 'forgejo-tags',\n ],\n knownHosts: ['codeberg.org', 'codefloe.com'],\n tagsDatasource: 'forgejo-tags',\n apiBaseUrl: (baseUrl: string) => `${baseUrl}api/v1/`,\n webDirPath: 'tree/HEAD',\n },\n gitea: {\n apiUsingHostTypes: [\n 'gitea',\n 'gitea-changelog',\n 'gitea-releases',\n 'gitea-tags',\n ],\n knownHosts: ['gitea.com'],\n tagsDatasource: 'gitea-tags',\n apiBaseUrl: (baseUrl: string) => `${baseUrl}api/v1/`,\n webDirPath: 'tree/HEAD',\n },\n github: {\n apiUsingHostTypes: [\n 'github',\n 'github-releases',\n 'github-release-attachments',\n 'github-tags',\n 'pod',\n 'hermit',\n 'github-changelog',\n 'conan',\n // DEPRECATED: do not add additional datasource-specific entries here, if they use `api.github.com` to look up new versions\n ],\n knownHosts: ['github.com'],\n tagsDatasource: 'github-tags',\n // Same rule as `getApiBaseUrl`, @see lib/util/github/url.ts. That helper is\n // not reused here because `lib/constants` imports nothing, and because it\n // also normalizes URLs which already carry an API path, which a base URL\n // built from a `protocol//host/` pair never does.\n apiBaseUrl: (baseUrl: string) =>\n baseUrl.startsWith('https://github.com/')\n ? 'https://api.github.com/'\n : `${baseUrl}api/v3/`,\n webDirPath: 'tree/HEAD',\n },\n gitlab: {\n apiUsingHostTypes: [\n 'gitlab',\n 'gitlab-releases',\n 'gitlab-tags',\n 'gitlab-packages',\n 'gitlab-changelog',\n 'pypi',\n ],\n knownHosts: ['gitlab.com'],\n tagsDatasource: 'gitlab-tags',\n apiBaseUrl: (baseUrl: string) => `${baseUrl}api/v4/`,\n webDirPath: 'tree/HEAD',\n },\n} satisfies Record<PlatformFamilyId, PlatformFamily>;\n"],"mappings":";AAAA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;;;;;;;;AA8DA,MAAa,oBAAoB;CAC/B,OAAO;EACL,mBAAmB,CAAC,SAAS,YAAY;EACzC,YAAY,CAAC,eAAe;EAC5B,gBAAgB;EAChB,YAAY;EACZ,YAAY;CACd;CACA,oBAAoB;EAClB,mBAAmB;GACjB;GACA;GACA;EACF;EAEA,YAAY,CAAC;EACb,gBAAgB;EAChB,aAAa,YAAoB,GAAG,QAAQ;EAC5C,YAAY;CACd;CACA,WAAW;EACT,mBAAmB;GAAC;GAAa;GAAuB;EAAgB;EACxE,YAAY,CAAC,iBAAiB,eAAe;EAC7C,gBAAgB;EAEhB,aAAa,aAAqB;EAClC,YAAY;CACd;CACA,SAAS;EACP,mBAAmB;GACjB;GACA;GACA;GACA;EACF;EACA,YAAY,CAAC,gBAAgB,cAAc;EAC3C,gBAAgB;EAChB,aAAa,YAAoB,GAAG,QAAQ;EAC5C,YAAY;CACd;CACA,OAAO;EACL,mBAAmB;GACjB;GACA;GACA;GACA;EACF;EACA,YAAY,CAAC,WAAW;EACxB,gBAAgB;EAChB,aAAa,YAAoB,GAAG,QAAQ;EAC5C,YAAY;CACd;CACA,QAAQ;EACN,mBAAmB;GACjB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EAEF;EACA,YAAY,CAAC,YAAY;EACzB,gBAAgB;EAKhB,aAAa,YACX,QAAQ,WAAW,qBAAqB,IACpC,4BACA,GAAG,QAAQ;EACjB,YAAY;CACd;CACA,QAAQ;EACN,mBAAmB;GACjB;GACA;GACA;GACA;GACA;GACA;EACF;EACA,YAAY,CAAC,YAAY;EACzB,gBAAgB;EAChB,aAAa,YAAoB,GAAG,QAAQ;EAC5C,YAAY;CACd;AACF"}
@@ -39,8 +39,8 @@ hashMap.set("devcontainer", "24320ed1cb6191d04cb8b2707214d82c08c682597aed1d84f25
39
39
  hashMap.set("docker-compose", "fba87b82cb0f2bfd66526631fbe928b8153e7ca701a5790d02b944df17417bb9");
40
40
  hashMap.set("dockerfile", "995048a257692db3b48dccda029ef5230ebd2a17085e837fc4eb848aae9ba64f");
41
41
  hashMap.set("droneci", "661d2a2d7295af8dd7a1234c7090c42a89306bd574c3adf1fc67782efaad3998");
42
- hashMap.set("fleet", "4942d52e82f35c41e2d46cf76f426e2d91b350338cfc0bbcb97e8aaae2a1ac0b");
43
- hashMap.set("flux", "aad8c786c4a2b5820663027452eeb8fe84c3af8c8399261e85f0eade2e484fe8");
42
+ hashMap.set("fleet", "ffa222820f72c4eb4cdc4c229ae8c50433bee96f3b974f0633d5a7d1f6427c97");
43
+ hashMap.set("flux", "842597c9083d82af99ef3d526101a3a53c4448414d2f53f7e969074757124811");
44
44
  hashMap.set("fvm", "9b161df0f14bc6e536368952adf373e343630097121a913cea60ee284027fb90");
45
45
  hashMap.set("git-submodules", "df8bb92b2906d8cddda2d4b302ee503f8002e3554d32d74cef2f584fe891f38f");
46
46
  hashMap.set("github-actions", "7adddc8e590786084855ffe53292bff3098ac672f91c21cc39d45bcf0af2271f");
@@ -56,7 +56,7 @@ hashMap.set("helm-requirements", "7ee9dace4c036dfe113c0c0e46369d8b83a739caa83166
56
56
  hashMap.set("helm-values", "0aa79bb0257d0d72e54dfd2653e59bfef63b97e46c035b7443593bdf6e6382aa");
57
57
  hashMap.set("helmfile", "28572dd24b6746ca7065ee467aa13bbc8c3e8c0f88ae48e33bce88468c600100");
58
58
  hashMap.set("helmsman", "951deeb3355da751ef39c9e932b26ea749450e32e75759e4b5fc29359e100b37");
59
- hashMap.set("helmv3", "e2d464055503d3702d3cf7323ce593747fe482def8ee59aea2dcaadb0bb0f72c");
59
+ hashMap.set("helmv3", "85cc70a02b5f6a965da680e0228e7b3d6151e9a36bebf79abfb65dc94226ee6a");
60
60
  hashMap.set("hermit", "0fb25b7766c3a264fbb765ff75b1542b24136c4c9f933696d4a5aecfed637071");
61
61
  hashMap.set("homeassistant-manifest", "05043c6db870cffbb6f8f3e351c025e3de227eaae0b24134b796aec46f84b65f");
62
62
  hashMap.set("homebrew", "dffe954a4e18c2dc4bfdaa12222fe8ddc3395869afd5afa603fc2b6264747984");
@@ -65,13 +65,13 @@ hashMap.set("jenkins", "7fda0e7e0f3d5e18088ccb3594f727f4cfc48b064706bdaaf1a0a075
65
65
  hashMap.set("jsonnet-bundler", "4cedeb0394e5c38361d1868ff45b4f34747ab8c492378b6e63dcaf1f4f3c024d");
66
66
  hashMap.set("kotlin-script", "95ebc844c040ca047321b207d525220e29774a2a1fe06f9639e8353c66908564");
67
67
  hashMap.set("kubernetes", "321e7d77fb3600dd4c00a86eaa1294927e7f92300b74fa2977d813dcaa3bb4de");
68
- hashMap.set("kustomize", "aa830c27302555e12d7f04e342c96125d68c231028a2d3c459c4431516382584");
68
+ hashMap.set("kustomize", "706cc4776ad6ec4df5bed0ac84e8324ad7328457b6743b082e444d4770756604");
69
69
  hashMap.set("leiningen", "c8397e376f1717c2f771ae9ea3ba6b720d2422b133cf937e762c44e42be146a2");
70
70
  hashMap.set("maven", "c110b99291c2a5bc82cf7a69330275e9bbd7dc8ba3e9e987611dfcffbe002d8d");
71
71
  hashMap.set("maven-wrapper", "6e53b6e4abf1d20b75094c7a70d66b4a5ac39954f009aa401f5e55dada8be4d0");
72
72
  hashMap.set("meteor", "4636a47ba4dcfff19fe662572ef7a40d17146be3c966e00ef437e1fc8de92776");
73
73
  hashMap.set("mint", "248fe4f1ea5c985921c286785792c97e06fc41f402b2d45df82f6aecd17f710e");
74
- hashMap.set("mise", "eaedf27c1c87e4658c7eef17903cf222b42805f718e960c111632d2c8c649664");
74
+ hashMap.set("mise", "33c50a19b6bed53afff1045ac309ca92e2a1acff3fc474c2fb4210a125b538c2");
75
75
  hashMap.set("mix", "0f79163dc2a1c896599d152be635c23beaf16812ae3d8fbfffec98c7bd0de872");
76
76
  hashMap.set("nix", "0f80f0b81f2197a7e588be5c115a32a826fc184593f4e879f7b60fafd97a977e");
77
77
  hashMap.set("nodenv", "ac652c28481b001f7471f4183eac07b45d98ecbe83efc275830b0a1b2e0459b8");
@@ -105,7 +105,7 @@ hashMap.set("smithy", "9641b91d065ffb63be0dd888139a0402dba41e550f8b44c592db9daf5
105
105
  hashMap.set("sveltos", "60dd75bb53ace31217211100d622fdb65068c6162758b6ae7103a6ce8bdc9f90");
106
106
  hashMap.set("swift", "cdf063debdbf36888523ff8cec6d2d1b0ec6f49b37b2fbcd80b0d4f6a31114e1");
107
107
  hashMap.set("tekton", "33948f5bdf7553909fa63744adb26da97ddf366e9499bccab1250879570267c9");
108
- hashMap.set("terraform", "5b0037e4a88e06efe6f006eff15c24d9e1fefdda40d282aa99f54c2637d21c4d");
108
+ hashMap.set("terraform", "624c11f15d9eeaf27256bffe9c72e313064994c898e56dbcca292507d1ea93bd");
109
109
  hashMap.set("terraform-version", "ec8f786b9731d47f2c2fe0307caf64d7ddd83046fe7ff1f7d8423239f8b0f2aa");
110
110
  hashMap.set("terragrunt", "300f8fb3c09667654412d2f5dd8ab4882e0f5d1d7a8bc39794993d2e7e58d1b7");
111
111
  hashMap.set("terragrunt-version", "eea6087b33717d22ede2fc68c2f64df8390b75abe82110ed831a180648feb51d");
@@ -1 +1 @@
1
- {"version":3,"file":"fingerprint.generated.js","names":[],"sources":["../../../lib/modules/manager/fingerprint.generated.ts"],"sourcesContent":["export const hashMap = new Map<string, string>();\n\nhashMap.set('ansible','a52394a36ac5517f7330473c31d93aa05b2ce607c5e951b48f25a4693cd20a81');\nhashMap.set('ansible-galaxy','0a264d6be73953d801510fdeff271e4071c274339569c6dab4e2a128eaf4869f');\nhashMap.set('ant','2df5943cf0ed19a21b94df13729dbb925655548130caf37e3e22bebaed518e17');\nhashMap.set('apm','bdb6931cc03f4ac02ebfdb56c4b3483bb6c5250fa952545f1a25584d502bbffd');\nhashMap.set('argocd','cff9cd22257bc460ae4b9936570bf0ed5585f280a55d26629deaeeb0bfee8eb5');\nhashMap.set('asdf','430eb99b58171700c8a59c78b9e648575e9b176b781d90dd10a710f7b69015bb');\nhashMap.set('azure-pipelines','a051fe5e7e4fef8208b5864131a2b52b4ae319936f1dd8ee5a4e1ef11359ec09');\nhashMap.set('batect','375d39b432013bedb1330cf40a2199dd822751b28578214f219e7bab98594b8d');\nhashMap.set('batect-wrapper','d999355511ea7f4053325a18b8cfc8d2b586c61e6760c35e557d383a673e3939');\nhashMap.set('bazel','c31bc0a0e23d32726bcc09aa67533ebc5058124bf89c88e09c837419f550801a');\nhashMap.set('bazel-module','9fbba0339f9f7785d52ab85c5f0f6385003093c063483c13feccba13ae438bef');\nhashMap.set('bazelisk','770f75a746dc6ba90c518788d5987d7df4243ef9eee122d1bb0556a93d6e1b11');\nhashMap.set('bicep','7246e0bfc06e0e28cbb03ac088c5591f648956b086e106aeb251fe5d628329db');\nhashMap.set('bitbucket-pipelines','59c0503494ab1442b127914503c01b97ac17b6742b19c632292d5aa24de115cd');\nhashMap.set('bitrise','478dfd316221fad7c29e177c70d1018d832fb2626b53308a5d0f1f0380e69f42');\nhashMap.set('buildkite','b8b404f53cd5d61c39153fddf93945e621471c4ac6aa9960c881cd868922bb4c');\nhashMap.set('buildpacks','6bef3cb04d66b5cfbb195adb4829bcbccae6408518706744d291bacf0610421f');\nhashMap.set('bun','5820cfb6ebe018b8c336d481ea9ae319daaee6a2e368c45196fc8bc67cb3e755');\nhashMap.set('bun-version','df3ae8e4a5de1fa1b4544f3d7fc8117e80adb1e151c46d1ede54a4dbea6521e4');\nhashMap.set('bundler','6e4784dd98c1f86ef64cc8cbf3128df48aebf920032d7792b54fdedd3dd9d4d5');\nhashMap.set('cake','9ebd8b481220b30a8860121d26184540a1a2fcc05ef780df9295dea39b386fad');\nhashMap.set('cargo','fe8136135c895dd08819f91a60cf105f8b951251b057092700101ace991ae1d7');\nhashMap.set('cdnurl','9a81c8e3c6ad6c788498c99fc1067ffdfcd92a427c3afaf8c0130975d83131f2');\nhashMap.set('circleci','91cbeb33ea20f9838e2c81a1195eb806f0b38fa282bc3679f62552f20575ca85');\nhashMap.set('cloudbuild','f4e40388944652c8a19f8518771ac8d3f3c4ccf81ddef0e68b463aca833cb73c');\nhashMap.set('cocoapods','f832e2beef885bb3fd697ed9bb3e8cd742926bfec37ff41212edd2dbb4edb3ba');\nhashMap.set('composer','f1294fb3866ff65a75d98fdef80b1df3d3a8856535b8c690d1799e1205e4b639');\nhashMap.set('conan','8d46e9a30ae628e26118aea10a98d1b846f7c5d96d51ce24693437d555f6d125');\nhashMap.set('copier','10ae4d7f8ff35faf3a3f9f25bf4c969ea960e19aaf8c012aee11f93f4d10533e');\nhashMap.set('cpanfile','07813fec3f3c2197056500e9266a0553b9774c02f2c74d5ca2e213188c7c12d3');\nhashMap.set('crossplane','5c26b1201a1a51454ffb94d829e223a76a781569bf79cdb1e47087c30233ec40');\nhashMap.set('crow','eb9a5f9f95041855dded67bcce3dd54724f690995ed6268d272e8a666ff28fd0');\nhashMap.set('deno','05e7ab60494a20a5e7477f06a9e723e443d37643b6e1d9ba8d3d87126a051175');\nhashMap.set('deps-edn','06783dbc8b9c7bb84e162d1f75b7db56dfa021cc6f809dfd2314cee8b64af08d');\nhashMap.set('devbox','a40050cc61bd9b5d500ec111abb17bb15d5f82ab5b7699f66f628307ba8382c9');\nhashMap.set('devcontainer','24320ed1cb6191d04cb8b2707214d82c08c682597aed1d84f250aa00ad1632ec');\nhashMap.set('docker-compose','fba87b82cb0f2bfd66526631fbe928b8153e7ca701a5790d02b944df17417bb9');\nhashMap.set('dockerfile','995048a257692db3b48dccda029ef5230ebd2a17085e837fc4eb848aae9ba64f');\nhashMap.set('droneci','661d2a2d7295af8dd7a1234c7090c42a89306bd574c3adf1fc67782efaad3998');\nhashMap.set('fleet','4942d52e82f35c41e2d46cf76f426e2d91b350338cfc0bbcb97e8aaae2a1ac0b');\nhashMap.set('flux','aad8c786c4a2b5820663027452eeb8fe84c3af8c8399261e85f0eade2e484fe8');\nhashMap.set('fvm','9b161df0f14bc6e536368952adf373e343630097121a913cea60ee284027fb90');\nhashMap.set('git-submodules','df8bb92b2906d8cddda2d4b302ee503f8002e3554d32d74cef2f584fe891f38f');\nhashMap.set('github-actions','7adddc8e590786084855ffe53292bff3098ac672f91c21cc39d45bcf0af2271f');\nhashMap.set('gitlabci','a5e1e66ef461e1c1e71062f85f35a212417e23627f4b002810f9a98295d6e672');\nhashMap.set('gitlabci-include','8860a15ab516fde00694f9bd9bf56fce4addafe5a55b5ddb9a4ec477d301d351');\nhashMap.set('glasskube','93e7b9000a17efa15a1abaaf320b5af9169b1ecd828fc0c881d98570ef9d9e30');\nhashMap.set('gleam','5e9b9f5f914afe5ed7b526c06c65111e3716d2dea9b0cbe7907bbc96db1064a3');\nhashMap.set('gomod','6011c22e60814460fb4a40f834608a868776b91eff2cae2d3bfea1e73ccd8aeb');\nhashMap.set('gradle','9e3ff52ce4ad2555929acdd4d32c417c4ef8714c23a92f2893ecc580fa4d6064');\nhashMap.set('gradle-wrapper','73ba30c34955fab7737454b5cff9aca6d1b5607d53c17c9e13d8ad96f6eaae87');\nhashMap.set('haskell-cabal','f158b7725e3143dfd2950e3de0bbccc2a61cd7eba87f7a54c5057e01252348e2');\nhashMap.set('helm-requirements','7ee9dace4c036dfe113c0c0e46369d8b83a739caa831660142ca98d3236a180a');\nhashMap.set('helm-values','0aa79bb0257d0d72e54dfd2653e59bfef63b97e46c035b7443593bdf6e6382aa');\nhashMap.set('helmfile','28572dd24b6746ca7065ee467aa13bbc8c3e8c0f88ae48e33bce88468c600100');\nhashMap.set('helmsman','951deeb3355da751ef39c9e932b26ea749450e32e75759e4b5fc29359e100b37');\nhashMap.set('helmv3','e2d464055503d3702d3cf7323ce593747fe482def8ee59aea2dcaadb0bb0f72c');\nhashMap.set('hermit','0fb25b7766c3a264fbb765ff75b1542b24136c4c9f933696d4a5aecfed637071');\nhashMap.set('homeassistant-manifest','05043c6db870cffbb6f8f3e351c025e3de227eaae0b24134b796aec46f84b65f');\nhashMap.set('homebrew','dffe954a4e18c2dc4bfdaa12222fe8ddc3395869afd5afa603fc2b6264747984');\nhashMap.set('html','81fa6c2bf2b868596584a48b949645207a2aa3081951ed99183ee50b70b77d5f');\nhashMap.set('jenkins','7fda0e7e0f3d5e18088ccb3594f727f4cfc48b064706bdaaf1a0a075b6a2cff5');\nhashMap.set('jsonnet-bundler','4cedeb0394e5c38361d1868ff45b4f34747ab8c492378b6e63dcaf1f4f3c024d');\nhashMap.set('kotlin-script','95ebc844c040ca047321b207d525220e29774a2a1fe06f9639e8353c66908564');\nhashMap.set('kubernetes','321e7d77fb3600dd4c00a86eaa1294927e7f92300b74fa2977d813dcaa3bb4de');\nhashMap.set('kustomize','aa830c27302555e12d7f04e342c96125d68c231028a2d3c459c4431516382584');\nhashMap.set('leiningen','c8397e376f1717c2f771ae9ea3ba6b720d2422b133cf937e762c44e42be146a2');\nhashMap.set('maven','c110b99291c2a5bc82cf7a69330275e9bbd7dc8ba3e9e987611dfcffbe002d8d');\nhashMap.set('maven-wrapper','6e53b6e4abf1d20b75094c7a70d66b4a5ac39954f009aa401f5e55dada8be4d0');\nhashMap.set('meteor','4636a47ba4dcfff19fe662572ef7a40d17146be3c966e00ef437e1fc8de92776');\nhashMap.set('mint','248fe4f1ea5c985921c286785792c97e06fc41f402b2d45df82f6aecd17f710e');\nhashMap.set('mise','eaedf27c1c87e4658c7eef17903cf222b42805f718e960c111632d2c8c649664');\nhashMap.set('mix','0f79163dc2a1c896599d152be635c23beaf16812ae3d8fbfffec98c7bd0de872');\nhashMap.set('nix','0f80f0b81f2197a7e588be5c115a32a826fc184593f4e879f7b60fafd97a977e');\nhashMap.set('nodenv','ac652c28481b001f7471f4183eac07b45d98ecbe83efc275830b0a1b2e0459b8');\nhashMap.set('npm','30c78bc1c29eeecbdedb4eacc52bd93eedfb07279fd385f893193dcac6196466');\nhashMap.set('nuget','b81fb0ca6cfeb86b004592b38ce176673e056d6a2ed41a9807afb0eb7ad405d2');\nhashMap.set('nvm','3eb77c7b0acf6d64753de78fad2499b352719853aa6872878c40675d14152322');\nhashMap.set('ocb','032b216684c14b0954e0bb019513a2aca3faaee5748587acb668d377d7c891ca');\nhashMap.set('osgi','d6567a733ef3983112b46fdccd7ceebfcd48411104e0c6b6e714d4310db48024');\nhashMap.set('pep621','52450676f8b0e05134b3e8947b832195ef40bcaec1ce43d71351a2f797b80d75');\nhashMap.set('pep723','77022a0eae6a3cbb74a1e6d596db1276e379768e40448192b3fa81edd14ca73f');\nhashMap.set('pip-compile','a98dc76a002e1dc21662237f009ff8fea36236bb4e24cb82ee30c6a78f57271f');\nhashMap.set('pip_requirements','bf3a407f72abf711230247bef94ba5dc84c08a35107b0f017912fad66afa716a');\nhashMap.set('pip_setup','df18fba2bdcf48f3ca12a8f7e5cd28df31e2368d5528127277038ef4206eca79');\nhashMap.set('pipenv','baf237cd77173c1a7a9c7fa2a8bfb214f3c488ba0cc27f0e8f334df192e3a398');\nhashMap.set('pixi','e31c397982ffa34222b061f23f3b3683f42523dd5dca45ecce2448b0ebc55ea2');\nhashMap.set('poetry','e9dea5d591c87956b9f018414cb3dab8f2e13580a13be00550fdce198fdf08e6');\nhashMap.set('pre-commit','760f2c291ae084db889f722390798a0e2d431ccdc3bc676e73b14901ebea19ac');\nhashMap.set('proto','412053d4550026b4ace490b46e970915b87ec1abf0b0a0c6c8c58ccf1fc16843');\nhashMap.set('pub','8e7c65dfd1999de4f7c44392e949a4d8f4701eb86df59d550e4657feb06b1872');\nhashMap.set('puppet','ba58ab689e44acc8f61c3569ab8b40fde01b8a9d3aad712708e2a419e57d8b45');\nhashMap.set('pyenv','9ede8becc97774f9040b40f4472d3e933534b596e04c360bfe0f3c6f95f25182');\nhashMap.set('quadlet','40927b98dd2bac45dba60e66b5fd0e6b84b61d02db8be536fda7b14546a4feb7');\nhashMap.set('renovate-config','dfaf3f03ddaf70c332f7916106648f36dbfa6a36dd76d15dd27fa116ab3c174c');\nhashMap.set('ruby-version','2db2140d9eee8c555e729a4de0396fa2d78846d3149890ee12fa515bd654be97');\nhashMap.set('runtime-version','b582b168c0cc595e39010feb10f4b97a82683eb269e9598216fbb11cc186e160');\nhashMap.set('rust-toolchain','6ace53db02874d73620d2d872291839820a512a9529c42d174358c692e5db720');\nhashMap.set('sbt','e1eb5c7f0171a9bb1b6bd4a36a91039a31b6c84e0983d91d930be31a69506d9e');\nhashMap.set('scalafmt','9d36159b56835e96498af026a1fb0543200db0581681ef95ec54988f411e180f');\nhashMap.set('setup-cfg','4a3a7c812d34739c07685691e7e64c7d3127f9d7d4aff99dc45a25df97ed9745');\nhashMap.set('smithy','9641b91d065ffb63be0dd888139a0402dba41e550f8b44c592db9daf52109100');\nhashMap.set('sveltos','60dd75bb53ace31217211100d622fdb65068c6162758b6ae7103a6ce8bdc9f90');\nhashMap.set('swift','cdf063debdbf36888523ff8cec6d2d1b0ec6f49b37b2fbcd80b0d4f6a31114e1');\nhashMap.set('tekton','33948f5bdf7553909fa63744adb26da97ddf366e9499bccab1250879570267c9');\nhashMap.set('terraform','5b0037e4a88e06efe6f006eff15c24d9e1fefdda40d282aa99f54c2637d21c4d');\nhashMap.set('terraform-version','ec8f786b9731d47f2c2fe0307caf64d7ddd83046fe7ff1f7d8423239f8b0f2aa');\nhashMap.set('terragrunt','300f8fb3c09667654412d2f5dd8ab4882e0f5d1d7a8bc39794993d2e7e58d1b7');\nhashMap.set('terragrunt-version','eea6087b33717d22ede2fc68c2f64df8390b75abe82110ed831a180648feb51d');\nhashMap.set('tflint-plugin','f423bfa2b42a2bfc0e38a33ebd4f9d452473e7ed4e7ad6384a99eb9a35d97479');\nhashMap.set('travis','f3e2f38e699c390b00ff481be5e91dceaa81609e93caf9a4214933de759c84fc');\nhashMap.set('typst','d080a79fbd961c6e21fcc505d544b7e0ff2126142acb1dcabdf6abbcd9339248');\nhashMap.set('unity3d','f13e25e115e3443f4e16cf31578acffa78fb1a5e23339680a92d8d6de6052920');\nhashMap.set('velaci','fda00ddb7cc23e9a37e0a8a253151df0a6930b4276d3e4f78cc54b9ac09af7de');\nhashMap.set('vendir','7db907b3b77ef5f3465f3c4339fbab56bbcdfd1bf34b3d33e4c178d2e07e23e7');\nhashMap.set('woodpecker','6110d3bec33aaeb3511d4bbfa896cec3c8e02fb04a6cff50c9ba81061c851045');\nhashMap.set('xcodegen','dad511d88a9ce1dbdde8b9731f3da7f2bdaa4ca8a083294ee58d56da62ab1683');\nhashMap.set('jsonata','416bcf61144b276b3112814c6e6d261aa29608f46fbb0516c471d35c16f8f0d7');\nhashMap.set('regex','20be5247fdc164173871a051acb0527da017d0c155c653d7563601f55e7b3ff5');"],"m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AY,kEAAkE;AAC1F,QAAQ,IAAI,qBAAoB,kEAAkE;AAClG,QAAQ,IAAI,cAAa,kEAAkE;AAC3F,QAAQ,IAAI,sBAAqB,kEAAkE;AACnG,QAAQ,IAAI,iBAAgB,kEAAkE;AAC9F,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,SAAQ,kEAAkE;AACtF,QAAQ,IAAI,WAAU,kEAAkE;AACxF,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,cAAa,kEAAkE;AAC3F,QAAQ,IAAI,YAAW,kEAAkE;AACzF,QAAQ,IAAI,WAAU,kEAAkE;AACxF,QAAQ,IAAI,SAAQ,kEAAkE"}
1
+ {"version":3,"file":"fingerprint.generated.js","names":[],"sources":["../../../lib/modules/manager/fingerprint.generated.ts"],"sourcesContent":["export const hashMap = new Map<string, string>();\n\nhashMap.set('ansible','a52394a36ac5517f7330473c31d93aa05b2ce607c5e951b48f25a4693cd20a81');\nhashMap.set('ansible-galaxy','0a264d6be73953d801510fdeff271e4071c274339569c6dab4e2a128eaf4869f');\nhashMap.set('ant','2df5943cf0ed19a21b94df13729dbb925655548130caf37e3e22bebaed518e17');\nhashMap.set('apm','bdb6931cc03f4ac02ebfdb56c4b3483bb6c5250fa952545f1a25584d502bbffd');\nhashMap.set('argocd','cff9cd22257bc460ae4b9936570bf0ed5585f280a55d26629deaeeb0bfee8eb5');\nhashMap.set('asdf','430eb99b58171700c8a59c78b9e648575e9b176b781d90dd10a710f7b69015bb');\nhashMap.set('azure-pipelines','a051fe5e7e4fef8208b5864131a2b52b4ae319936f1dd8ee5a4e1ef11359ec09');\nhashMap.set('batect','375d39b432013bedb1330cf40a2199dd822751b28578214f219e7bab98594b8d');\nhashMap.set('batect-wrapper','d999355511ea7f4053325a18b8cfc8d2b586c61e6760c35e557d383a673e3939');\nhashMap.set('bazel','c31bc0a0e23d32726bcc09aa67533ebc5058124bf89c88e09c837419f550801a');\nhashMap.set('bazel-module','9fbba0339f9f7785d52ab85c5f0f6385003093c063483c13feccba13ae438bef');\nhashMap.set('bazelisk','770f75a746dc6ba90c518788d5987d7df4243ef9eee122d1bb0556a93d6e1b11');\nhashMap.set('bicep','7246e0bfc06e0e28cbb03ac088c5591f648956b086e106aeb251fe5d628329db');\nhashMap.set('bitbucket-pipelines','59c0503494ab1442b127914503c01b97ac17b6742b19c632292d5aa24de115cd');\nhashMap.set('bitrise','478dfd316221fad7c29e177c70d1018d832fb2626b53308a5d0f1f0380e69f42');\nhashMap.set('buildkite','b8b404f53cd5d61c39153fddf93945e621471c4ac6aa9960c881cd868922bb4c');\nhashMap.set('buildpacks','6bef3cb04d66b5cfbb195adb4829bcbccae6408518706744d291bacf0610421f');\nhashMap.set('bun','5820cfb6ebe018b8c336d481ea9ae319daaee6a2e368c45196fc8bc67cb3e755');\nhashMap.set('bun-version','df3ae8e4a5de1fa1b4544f3d7fc8117e80adb1e151c46d1ede54a4dbea6521e4');\nhashMap.set('bundler','6e4784dd98c1f86ef64cc8cbf3128df48aebf920032d7792b54fdedd3dd9d4d5');\nhashMap.set('cake','9ebd8b481220b30a8860121d26184540a1a2fcc05ef780df9295dea39b386fad');\nhashMap.set('cargo','fe8136135c895dd08819f91a60cf105f8b951251b057092700101ace991ae1d7');\nhashMap.set('cdnurl','9a81c8e3c6ad6c788498c99fc1067ffdfcd92a427c3afaf8c0130975d83131f2');\nhashMap.set('circleci','91cbeb33ea20f9838e2c81a1195eb806f0b38fa282bc3679f62552f20575ca85');\nhashMap.set('cloudbuild','f4e40388944652c8a19f8518771ac8d3f3c4ccf81ddef0e68b463aca833cb73c');\nhashMap.set('cocoapods','f832e2beef885bb3fd697ed9bb3e8cd742926bfec37ff41212edd2dbb4edb3ba');\nhashMap.set('composer','f1294fb3866ff65a75d98fdef80b1df3d3a8856535b8c690d1799e1205e4b639');\nhashMap.set('conan','8d46e9a30ae628e26118aea10a98d1b846f7c5d96d51ce24693437d555f6d125');\nhashMap.set('copier','10ae4d7f8ff35faf3a3f9f25bf4c969ea960e19aaf8c012aee11f93f4d10533e');\nhashMap.set('cpanfile','07813fec3f3c2197056500e9266a0553b9774c02f2c74d5ca2e213188c7c12d3');\nhashMap.set('crossplane','5c26b1201a1a51454ffb94d829e223a76a781569bf79cdb1e47087c30233ec40');\nhashMap.set('crow','eb9a5f9f95041855dded67bcce3dd54724f690995ed6268d272e8a666ff28fd0');\nhashMap.set('deno','05e7ab60494a20a5e7477f06a9e723e443d37643b6e1d9ba8d3d87126a051175');\nhashMap.set('deps-edn','06783dbc8b9c7bb84e162d1f75b7db56dfa021cc6f809dfd2314cee8b64af08d');\nhashMap.set('devbox','a40050cc61bd9b5d500ec111abb17bb15d5f82ab5b7699f66f628307ba8382c9');\nhashMap.set('devcontainer','24320ed1cb6191d04cb8b2707214d82c08c682597aed1d84f250aa00ad1632ec');\nhashMap.set('docker-compose','fba87b82cb0f2bfd66526631fbe928b8153e7ca701a5790d02b944df17417bb9');\nhashMap.set('dockerfile','995048a257692db3b48dccda029ef5230ebd2a17085e837fc4eb848aae9ba64f');\nhashMap.set('droneci','661d2a2d7295af8dd7a1234c7090c42a89306bd574c3adf1fc67782efaad3998');\nhashMap.set('fleet','ffa222820f72c4eb4cdc4c229ae8c50433bee96f3b974f0633d5a7d1f6427c97');\nhashMap.set('flux','842597c9083d82af99ef3d526101a3a53c4448414d2f53f7e969074757124811');\nhashMap.set('fvm','9b161df0f14bc6e536368952adf373e343630097121a913cea60ee284027fb90');\nhashMap.set('git-submodules','df8bb92b2906d8cddda2d4b302ee503f8002e3554d32d74cef2f584fe891f38f');\nhashMap.set('github-actions','7adddc8e590786084855ffe53292bff3098ac672f91c21cc39d45bcf0af2271f');\nhashMap.set('gitlabci','a5e1e66ef461e1c1e71062f85f35a212417e23627f4b002810f9a98295d6e672');\nhashMap.set('gitlabci-include','8860a15ab516fde00694f9bd9bf56fce4addafe5a55b5ddb9a4ec477d301d351');\nhashMap.set('glasskube','93e7b9000a17efa15a1abaaf320b5af9169b1ecd828fc0c881d98570ef9d9e30');\nhashMap.set('gleam','5e9b9f5f914afe5ed7b526c06c65111e3716d2dea9b0cbe7907bbc96db1064a3');\nhashMap.set('gomod','6011c22e60814460fb4a40f834608a868776b91eff2cae2d3bfea1e73ccd8aeb');\nhashMap.set('gradle','9e3ff52ce4ad2555929acdd4d32c417c4ef8714c23a92f2893ecc580fa4d6064');\nhashMap.set('gradle-wrapper','73ba30c34955fab7737454b5cff9aca6d1b5607d53c17c9e13d8ad96f6eaae87');\nhashMap.set('haskell-cabal','f158b7725e3143dfd2950e3de0bbccc2a61cd7eba87f7a54c5057e01252348e2');\nhashMap.set('helm-requirements','7ee9dace4c036dfe113c0c0e46369d8b83a739caa831660142ca98d3236a180a');\nhashMap.set('helm-values','0aa79bb0257d0d72e54dfd2653e59bfef63b97e46c035b7443593bdf6e6382aa');\nhashMap.set('helmfile','28572dd24b6746ca7065ee467aa13bbc8c3e8c0f88ae48e33bce88468c600100');\nhashMap.set('helmsman','951deeb3355da751ef39c9e932b26ea749450e32e75759e4b5fc29359e100b37');\nhashMap.set('helmv3','85cc70a02b5f6a965da680e0228e7b3d6151e9a36bebf79abfb65dc94226ee6a');\nhashMap.set('hermit','0fb25b7766c3a264fbb765ff75b1542b24136c4c9f933696d4a5aecfed637071');\nhashMap.set('homeassistant-manifest','05043c6db870cffbb6f8f3e351c025e3de227eaae0b24134b796aec46f84b65f');\nhashMap.set('homebrew','dffe954a4e18c2dc4bfdaa12222fe8ddc3395869afd5afa603fc2b6264747984');\nhashMap.set('html','81fa6c2bf2b868596584a48b949645207a2aa3081951ed99183ee50b70b77d5f');\nhashMap.set('jenkins','7fda0e7e0f3d5e18088ccb3594f727f4cfc48b064706bdaaf1a0a075b6a2cff5');\nhashMap.set('jsonnet-bundler','4cedeb0394e5c38361d1868ff45b4f34747ab8c492378b6e63dcaf1f4f3c024d');\nhashMap.set('kotlin-script','95ebc844c040ca047321b207d525220e29774a2a1fe06f9639e8353c66908564');\nhashMap.set('kubernetes','321e7d77fb3600dd4c00a86eaa1294927e7f92300b74fa2977d813dcaa3bb4de');\nhashMap.set('kustomize','706cc4776ad6ec4df5bed0ac84e8324ad7328457b6743b082e444d4770756604');\nhashMap.set('leiningen','c8397e376f1717c2f771ae9ea3ba6b720d2422b133cf937e762c44e42be146a2');\nhashMap.set('maven','c110b99291c2a5bc82cf7a69330275e9bbd7dc8ba3e9e987611dfcffbe002d8d');\nhashMap.set('maven-wrapper','6e53b6e4abf1d20b75094c7a70d66b4a5ac39954f009aa401f5e55dada8be4d0');\nhashMap.set('meteor','4636a47ba4dcfff19fe662572ef7a40d17146be3c966e00ef437e1fc8de92776');\nhashMap.set('mint','248fe4f1ea5c985921c286785792c97e06fc41f402b2d45df82f6aecd17f710e');\nhashMap.set('mise','33c50a19b6bed53afff1045ac309ca92e2a1acff3fc474c2fb4210a125b538c2');\nhashMap.set('mix','0f79163dc2a1c896599d152be635c23beaf16812ae3d8fbfffec98c7bd0de872');\nhashMap.set('nix','0f80f0b81f2197a7e588be5c115a32a826fc184593f4e879f7b60fafd97a977e');\nhashMap.set('nodenv','ac652c28481b001f7471f4183eac07b45d98ecbe83efc275830b0a1b2e0459b8');\nhashMap.set('npm','30c78bc1c29eeecbdedb4eacc52bd93eedfb07279fd385f893193dcac6196466');\nhashMap.set('nuget','b81fb0ca6cfeb86b004592b38ce176673e056d6a2ed41a9807afb0eb7ad405d2');\nhashMap.set('nvm','3eb77c7b0acf6d64753de78fad2499b352719853aa6872878c40675d14152322');\nhashMap.set('ocb','032b216684c14b0954e0bb019513a2aca3faaee5748587acb668d377d7c891ca');\nhashMap.set('osgi','d6567a733ef3983112b46fdccd7ceebfcd48411104e0c6b6e714d4310db48024');\nhashMap.set('pep621','52450676f8b0e05134b3e8947b832195ef40bcaec1ce43d71351a2f797b80d75');\nhashMap.set('pep723','77022a0eae6a3cbb74a1e6d596db1276e379768e40448192b3fa81edd14ca73f');\nhashMap.set('pip-compile','a98dc76a002e1dc21662237f009ff8fea36236bb4e24cb82ee30c6a78f57271f');\nhashMap.set('pip_requirements','bf3a407f72abf711230247bef94ba5dc84c08a35107b0f017912fad66afa716a');\nhashMap.set('pip_setup','df18fba2bdcf48f3ca12a8f7e5cd28df31e2368d5528127277038ef4206eca79');\nhashMap.set('pipenv','baf237cd77173c1a7a9c7fa2a8bfb214f3c488ba0cc27f0e8f334df192e3a398');\nhashMap.set('pixi','e31c397982ffa34222b061f23f3b3683f42523dd5dca45ecce2448b0ebc55ea2');\nhashMap.set('poetry','e9dea5d591c87956b9f018414cb3dab8f2e13580a13be00550fdce198fdf08e6');\nhashMap.set('pre-commit','760f2c291ae084db889f722390798a0e2d431ccdc3bc676e73b14901ebea19ac');\nhashMap.set('proto','412053d4550026b4ace490b46e970915b87ec1abf0b0a0c6c8c58ccf1fc16843');\nhashMap.set('pub','8e7c65dfd1999de4f7c44392e949a4d8f4701eb86df59d550e4657feb06b1872');\nhashMap.set('puppet','ba58ab689e44acc8f61c3569ab8b40fde01b8a9d3aad712708e2a419e57d8b45');\nhashMap.set('pyenv','9ede8becc97774f9040b40f4472d3e933534b596e04c360bfe0f3c6f95f25182');\nhashMap.set('quadlet','40927b98dd2bac45dba60e66b5fd0e6b84b61d02db8be536fda7b14546a4feb7');\nhashMap.set('renovate-config','dfaf3f03ddaf70c332f7916106648f36dbfa6a36dd76d15dd27fa116ab3c174c');\nhashMap.set('ruby-version','2db2140d9eee8c555e729a4de0396fa2d78846d3149890ee12fa515bd654be97');\nhashMap.set('runtime-version','b582b168c0cc595e39010feb10f4b97a82683eb269e9598216fbb11cc186e160');\nhashMap.set('rust-toolchain','6ace53db02874d73620d2d872291839820a512a9529c42d174358c692e5db720');\nhashMap.set('sbt','e1eb5c7f0171a9bb1b6bd4a36a91039a31b6c84e0983d91d930be31a69506d9e');\nhashMap.set('scalafmt','9d36159b56835e96498af026a1fb0543200db0581681ef95ec54988f411e180f');\nhashMap.set('setup-cfg','4a3a7c812d34739c07685691e7e64c7d3127f9d7d4aff99dc45a25df97ed9745');\nhashMap.set('smithy','9641b91d065ffb63be0dd888139a0402dba41e550f8b44c592db9daf52109100');\nhashMap.set('sveltos','60dd75bb53ace31217211100d622fdb65068c6162758b6ae7103a6ce8bdc9f90');\nhashMap.set('swift','cdf063debdbf36888523ff8cec6d2d1b0ec6f49b37b2fbcd80b0d4f6a31114e1');\nhashMap.set('tekton','33948f5bdf7553909fa63744adb26da97ddf366e9499bccab1250879570267c9');\nhashMap.set('terraform','624c11f15d9eeaf27256bffe9c72e313064994c898e56dbcca292507d1ea93bd');\nhashMap.set('terraform-version','ec8f786b9731d47f2c2fe0307caf64d7ddd83046fe7ff1f7d8423239f8b0f2aa');\nhashMap.set('terragrunt','300f8fb3c09667654412d2f5dd8ab4882e0f5d1d7a8bc39794993d2e7e58d1b7');\nhashMap.set('terragrunt-version','eea6087b33717d22ede2fc68c2f64df8390b75abe82110ed831a180648feb51d');\nhashMap.set('tflint-plugin','f423bfa2b42a2bfc0e38a33ebd4f9d452473e7ed4e7ad6384a99eb9a35d97479');\nhashMap.set('travis','f3e2f38e699c390b00ff481be5e91dceaa81609e93caf9a4214933de759c84fc');\nhashMap.set('typst','d080a79fbd961c6e21fcc505d544b7e0ff2126142acb1dcabdf6abbcd9339248');\nhashMap.set('unity3d','f13e25e115e3443f4e16cf31578acffa78fb1a5e23339680a92d8d6de6052920');\nhashMap.set('velaci','fda00ddb7cc23e9a37e0a8a253151df0a6930b4276d3e4f78cc54b9ac09af7de');\nhashMap.set('vendir','7db907b3b77ef5f3465f3c4339fbab56bbcdfd1bf34b3d33e4c178d2e07e23e7');\nhashMap.set('woodpecker','6110d3bec33aaeb3511d4bbfa896cec3c8e02fb04a6cff50c9ba81061c851045');\nhashMap.set('xcodegen','dad511d88a9ce1dbdde8b9731f3da7f2bdaa4ca8a083294ee58d56da62ab1683');\nhashMap.set('jsonata','416bcf61144b276b3112814c6e6d261aa29608f46fbb0516c471d35c16f8f0d7');\nhashMap.set('reg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tF,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,aAAY,kEAAkE;AAC1F,QAAQ,IAAI,qBAAoB,kEAAkE;AAClG,QAAQ,IAAI,cAAa,kEAAkE;AAC3F,QAAQ,IAAI,sBAAqB,kEAAkE;AACnG,QAAQ,IAAI,iBAAgB,kEAAkE;AAC9F,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,SAAQ,kEAAkE;AACtF,QAAQ,IAAI,WAAU,kEAAkE;AACxF,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,UAAS,kEAAkE;AACvF,QAAQ,IAAI,cAAa,kEAAkE;AAC3F,QAAQ,IAAI,YAAW,kEAAkE;AACzF,QAAQ,IAAI,WAAU,kEAAkE;AACxF,QAAQ,IAAI,SAAQ,kEAAkE"}
@@ -3,7 +3,7 @@ import { parseYaml } from "../../../util/yaml.js";
3
3
  import { GitTagsDatasource } from "../../datasource/git-tags/index.js";
4
4
  import { HelmDatasource } from "../../datasource/helm/index.js";
5
5
  import { getOciChartDep, isOCIRegistry, removeOCIPrefix } from "../helmv3/oci.js";
6
- import { checkIfStringIsPath } from "../terraform/util.js";
6
+ import { isLocalChartPath } from "../helmv3/utils.js";
7
7
  import { FleetFile, GitRepo } from "./schema.js";
8
8
  import { isUndefined } from "@sindresorhus/is";
9
9
  //#region lib/modules/manager/fleet/extract.ts
@@ -56,7 +56,7 @@ function extractFleetHelmBlock(doc, config) {
56
56
  dep.depName = doc.chart;
57
57
  dep.packageName = doc.chart;
58
58
  if (!doc.repo) {
59
- if (checkIfStringIsPath(doc.chart)) return {
59
+ if (isLocalChartPath(doc.chart)) return {
60
60
  ...dep,
61
61
  skipReason: "local-chart"
62
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"extract.js","names":[],"sources":["../../../../lib/modules/manager/fleet/extract.ts"],"sourcesContent":["import { isUndefined } from '@sindresorhus/is';\nimport { regEx } from '../../../util/regex.ts';\nimport { parseYaml } from '../../../util/yaml.ts';\nimport { GitTagsDatasource } from '../../datasource/git-tags/index.ts';\nimport { HelmDatasource } from '../../datasource/helm/index.ts';\nimport {\n getOciChartDep,\n isOCIRegistry,\n removeOCIPrefix,\n} from '../helmv3/oci.ts';\nimport { checkIfStringIsPath } from '../terraform/util.ts';\nimport type {\n ExtractConfig,\n PackageDependency,\n PackageFileContent,\n} from '../types.ts';\nimport { FleetFile, type FleetHelmBlock, GitRepo } from './schema.ts';\n\nfunction extractGitRepo(doc: GitRepo): PackageDependency {\n const dep: PackageDependency = {\n depType: 'git_repo',\n datasource: GitTagsDatasource.id,\n };\n\n const repo = doc.spec?.repo;\n if (!repo) {\n return {\n ...dep,\n skipReason: 'missing-depname',\n };\n }\n dep.sourceUrl = repo;\n dep.depName = repo;\n\n const currentValue = doc.spec.revision;\n if (!currentValue) {\n return {\n ...dep,\n skipReason: 'unspecified-version',\n };\n }\n\n return {\n ...dep,\n currentValue,\n };\n}\n\nfunction extractFleetHelmBlock(\n doc: FleetHelmBlock,\n config: ExtractConfig,\n): PackageDependency {\n const dep: PackageDependency = {\n depType: 'fleet',\n datasource: HelmDatasource.id,\n };\n\n if (!doc.chart) {\n return {\n ...dep,\n skipReason: 'missing-depname',\n };\n }\n\n if (isOCIRegistry(doc.chart)) {\n const ociDep: PackageDependency = {\n ...dep,\n ...getOciChartDep(doc.chart, undefined, config.registryAliases),\n depName: removeOCIPrefix(doc.chart),\n };\n if (!doc.version) {\n return {\n ...ociDep,\n skipReason: 'unspecified-version',\n };\n }\n return {\n ...ociDep,\n currentValue: doc.version,\n };\n }\n\n dep.depName = doc.chart;\n dep.packageName = doc.chart;\n\n if (!doc.repo) {\n if (checkIfStringIsPath(doc.chart)) {\n return {\n ...dep,\n skipReason: 'local-chart',\n };\n }\n return {\n ...dep,\n skipReason: 'no-repository',\n };\n }\n\n const alias = config.registryAliases?.[doc.repo];\n if (alias) {\n dep.registryUrls = [alias];\n } else {\n dep.registryUrls = [doc.repo];\n }\n\n const currentValue = doc.version;\n if (!doc.version) {\n return {\n ...dep,\n skipReason: 'unspecified-version',\n };\n }\n\n return {\n ...dep,\n currentValue,\n };\n}\n\nfunction extractFleetFile(\n doc: FleetFile,\n config: ExtractConfig,\n): PackageDependency[] {\n const result: PackageDependency[] = [];\n\n result.push(extractFleetHelmBlock(doc.helm, config));\n\n if (!isUndefined(doc.targetCustomizations)) {\n // remove version from helm block to allow usage of variables defined in the global block, but do not create PRs\n // if there is no version defined in the customization.\n const helmBlockContext: FleetHelmBlock = { ...doc.helm };\n delete helmBlockContext.version;\n\n for (const [index, custom] of doc.targetCustomizations.entries()) {\n const dep = extractFleetHelmBlock(\n {\n // merge base config with customization\n ...helmBlockContext,\n ...custom.helm,\n },\n config,\n );\n result.push({\n // overwrite name with customization name to allow splitting of PRs\n ...dep,\n depName: custom.name ?? `targetCustomization[${index}]`, // if no name is provided, use the index\n });\n }\n }\n return result;\n}\n\nexport function extractPackageFile(\n content: string,\n packageFile: string,\n config: ExtractConfig,\n): PackageFileContent | null {\n if (!content) {\n return null;\n }\n const deps: PackageDependency[] = [];\n\n if (regEx('fleet.ya?ml').test(packageFile)) {\n const docs = parseYaml(content, {\n customSchema: FleetFile,\n failureBehaviour: 'filter',\n });\n const fleetDeps = docs.flatMap((doc) => extractFleetFile(doc, config));\n\n deps.push(...fleetDeps);\n } else {\n const docs = parseYaml(content, {\n customSchema: GitRepo,\n failureBehaviour: 'filter',\n });\n const gitRepoDeps = docs.flatMap(extractGitRepo);\n deps.push(...gitRepoDeps);\n }\n\n return deps.length ? { deps } : null;\n}\n"],"mappings":";;;;;;;;;AAkBA,SAAS,eAAe,KAAiC;CACvD,MAAM,MAAyB;EAC7B,SAAS;EACT,YAAY,kBAAkB;CAChC;CAEA,MAAM,OAAO,IAAI,MAAM;CACvB,IAAI,CAAC,MACH,OAAO;EACL,GAAG;EACH,YAAY;CACd;CAEF,IAAI,YAAY;CAChB,IAAI,UAAU;CAEd,MAAM,eAAe,IAAI,KAAK;CAC9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AAM,MAAM,sBACV;IAEE,GAAG;IACH,GAAG,OAAO;GACZ,GACA,MACF;GACA,OAAO,KAAK;IAEV,GAAG;IACH,SAAS,OAAO,QAAQ,uBAAuB,MAAM;GACvD,CAAC;EACH;CACF;CACA,OAAO;AACT;AAEA,SAAgB,mBACd,SACA,aACA,QAC2B;CAC3B,IAAI,CAAC,SACH,OAAO;CAET,MAAM,OAA4B,CAAC;CAEnC,IAAI,MAAM,aAAa,CAAC,CAAC,KAAK,WAAW,GAAG;EAK1C,MAAM,YAJO,UAAU,SAAS;GAC9B,cAAc;GACd,kBAAkB;EACpB,CACqB,CAAC,CAAC,SAAS,QAAQ,iBAAiB,KAAK,MAAM,CAAC;EAErE,KAAK,KAAK,GAAG,SAAS;CACxB,OAAO;EAKL,MAAM,cAJO,UAAU,SAAS;GAC9B,cAAc;GACd,kBAAkB;EACpB,CACuB,CAAC,CAAC,QAAQ,cAAc;EAC/C,KAAK,KAAK,GAAG,WAAW;CAC1B;CAEA,OAAO,KAAK,SAAS,EAAE,KAAK,IAAI;AAClC"}
1
+ {"version":3,"file":"extract.js","names":[],"sources":["../../../../lib/modules/manager/fleet/extract.ts"],"sourcesContent":["import { isUndefined } from '@sindresorhus/is';\nimport { regEx } from '../../../util/regex.ts';\nimport { parseYaml } from '../../../util/yaml.ts';\nimport { GitTagsDatasource } from '../../datasource/git-tags/index.ts';\nimport { HelmDatasource } from '../../datasource/helm/index.ts';\nimport {\n getOciChartDep,\n isOCIRegistry,\n removeOCIPrefix,\n} from '../helmv3/oci.ts';\nimport { isLocalChartPath } from '../helmv3/utils.ts';\nimport type {\n ExtractConfig,\n PackageDependency,\n PackageFileContent,\n} from '../types.ts';\nimport { FleetFile, type FleetHelmBlock, GitRepo } from './schema.ts';\n\nfunction extractGitRepo(doc: GitRepo): PackageDependency {\n const dep: PackageDependency = {\n depType: 'git_repo',\n datasource: GitTagsDatasource.id,\n };\n\n const repo = doc.spec?.repo;\n if (!repo) {\n return {\n ...dep,\n skipReason: 'missing-depname',\n };\n }\n dep.sourceUrl = repo;\n dep.depName = repo;\n\n const currentValue = doc.spec.revision;\n if (!currentValue) {\n return {\n ...dep,\n skipReason: 'unspecified-version',\n };\n }\n\n return {\n ...dep,\n currentValue,\n };\n}\n\nfunction extractFleetHelmBlock(\n doc: FleetHelmBlock,\n config: ExtractConfig,\n): PackageDependency {\n const dep: PackageDependency = {\n depType: 'fleet',\n datasource: HelmDatasource.id,\n };\n\n if (!doc.chart) {\n return {\n ...dep,\n skipReason: 'missing-depname',\n };\n }\n\n if (isOCIRegistry(doc.chart)) {\n const ociDep: PackageDependency = {\n ...dep,\n ...getOciChartDep(doc.chart, undefined, config.registryAliases),\n depName: removeOCIPrefix(doc.chart),\n };\n if (!doc.version) {\n return {\n ...ociDep,\n skipReason: 'unspecified-version',\n };\n }\n return {\n ...ociDep,\n currentValue: doc.version,\n };\n }\n\n dep.depName = doc.chart;\n dep.packageName = doc.chart;\n\n if (!doc.repo) {\n if (isLocalChartPath(doc.chart)) {\n return {\n ...dep,\n skipReason: 'local-chart',\n };\n }\n return {\n ...dep,\n skipReason: 'no-repository',\n };\n }\n\n const alias = config.registryAliases?.[doc.repo];\n if (alias) {\n dep.registryUrls = [alias];\n } else {\n dep.registryUrls = [doc.repo];\n }\n\n const currentValue = doc.version;\n if (!doc.version) {\n return {\n ...dep,\n skipReason: 'unspecified-version',\n };\n }\n\n return {\n ...dep,\n currentValue,\n };\n}\n\nfunction extractFleetFile(\n doc: FleetFile,\n config: ExtractConfig,\n): PackageDependency[] {\n const result: PackageDependency[] = [];\n\n result.push(extractFleetHelmBlock(doc.helm, config));\n\n if (!isUndefined(doc.targetCustomizations)) {\n // remove version from helm block to allow usage of variables defined in the global block, but do not create PRs\n // if there is no version defined in the customization.\n const helmBlockContext: FleetHelmBlock = { ...doc.helm };\n delete helmBlockContext.version;\n\n for (const [index, custom] of doc.targetCustomizations.entries()) {\n const dep = extractFleetHelmBlock(\n {\n // merge base config with customization\n ...helmBlockContext,\n ...custom.helm,\n },\n config,\n );\n result.push({\n // overwrite name with customization name to allow splitting of PRs\n ...dep,\n depName: custom.name ?? `targetCustomization[${index}]`, // if no name is provided, use the index\n });\n }\n }\n return result;\n}\n\nexport function extractPackageFile(\n content: string,\n packageFile: string,\n config: ExtractConfig,\n): PackageFileContent | null {\n if (!content) {\n return null;\n }\n const deps: PackageDependency[] = [];\n\n if (regEx('fleet.ya?ml').test(packageFile)) {\n const docs = parseYaml(content, {\n customSchema: FleetFile,\n failureBehaviour: 'filter',\n });\n const fleetDeps = docs.flatMap((doc) => extractFleetFile(doc, config));\n\n deps.push(...fleetDeps);\n } else {\n const docs = parseYaml(content, {\n customSchema: GitRepo,\n failureBehaviour: 'filter',\n });\n const gitRepoDeps = docs.flatMap(extractGitRepo);\n deps.push(...gitRepoDeps);\n }\n\n return deps.length ? { deps } : null;\n}\n"],"mappings":";;;;;;;;;AAkBA,SAAS,eAAe,KAAiC;CACvD,MAAM,MAAyB;EAC7B,SAAS;EACT,YAAY,kBAAkB;CAChC;CAEA,MAAM,OAAO,IAAI,MAAM;CACvB,IAAI,CAAC,MACH,OAAO;EACL,GAAG;EACH,YAAY;CACd;CAEF,IAAI,YAAY;CAChB,IAAI,UAAU;CAEd,MAAM,eAAe,IAAI,KAAK;CAC9B,IAAI,CAAC,cACH,OAAO;EACL,GAAG;EACH,YAAY;CACd;CAGF,OAAO;EACL,GAAG;EACH;CACF;AACF;AAEA,SAAS,sBACP,KACA,QACmB;CACnB,MAAM,MAAyB;EAC7B,SAAS;EACT,YAAY,eAAe;CAC7B;CAEA,IAAI,CAAC,IAAI,OACP,OAAO;EACL,GAAG;EACH,YAAY;CACd;CAGF,IAAI,cAAc,IAAI,KAAK,GAAG;EAC5B,MAAM,SAA4B;GAChC,GAAG;GACH,GAAG,eAAe,IAAI,OAAO,KAAA,GAAW,OAAO,eAAe;GAC9D,SAAS,gBAAgB,IAAI,KAAK;EACpC;EACA,IAAI,CAAC,IAAI,SACP,OAAO;GACL,G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E,KAAK,KAAK,GAAG,SAAS;CACxB,OAAO;EAKL,MAAM,cAJO,UAAU,SAAS;GAC9B,cAAc;GACd,kBAAkB;EACpB,CACuB,CAAC,CAAC,QAAQ,cAAc;EAC/C,KAAK,KAAK,GAAG,WAAW;CAC1B;CAEA,OAAO,KAAK,SAAS,EAAE,KAAK,IAAI;AAClC"}
@@ -13,6 +13,7 @@ import { GitlabTagsDatasource } from "../../datasource/gitlab-tags/index.js";
13
13
  import { HelmDatasource } from "../../datasource/helm/index.js";
14
14
  import { getDep } from "../dockerfile/extract.js";
15
15
  import { getOciChartDep, isOCIRegistry, removeOCIPrefix } from "../helmv3/oci.js";
16
+ import { isLocalChartPath } from "../helmv3/utils.js";
16
17
  import { collectHelmRepos, isSystemManifest, systemManifestHeaderRegex } from "./common.js";
17
18
  import { findDependencies } from "../helm-values/extract.js";
18
19
  import { extractImage } from "../kustomize/extract.js";
@@ -174,7 +175,7 @@ function resolveResourceManifest(manifest, helmRepositories, registryAliases, co
174
175
  currentValue: resource.spec.chart.spec.version,
175
176
  datasource: HelmDatasource.id
176
177
  };
177
- if (depName.startsWith("./")) {
178
+ if (isLocalChartPath(depName)) {
178
179
  dep.skipReason = "local-chart";
179
180
  delete dep.datasource;
180
181
  } else {