renovate 40.0.0-next.9 → 40.0.1
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.
- package/dist/config/decrypt/legacy.js +0 -1
- package/dist/config/decrypt/legacy.js.map +1 -1
- package/dist/config/decrypt.d.ts +3 -1
- package/dist/config/decrypt.js +56 -13
- package/dist/config/decrypt.js.map +1 -1
- package/dist/config/global.js +0 -1
- package/dist/config/global.js.map +1 -1
- package/dist/config/migrate-validate.js +3 -2
- package/dist/config/migrate-validate.js.map +1 -1
- package/dist/config/migration.js +2 -1
- package/dist/config/migration.js.map +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
- package/dist/config/migrations/migrations-service.js +3 -2
- package/dist/config/migrations/migrations-service.js.map +1 -1
- package/dist/config/options/index.js +18 -11
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/parse.js +2 -2
- package/dist/config/parse.js.map +1 -1
- package/dist/config/presets/common.js +1 -0
- package/dist/config/presets/common.js.map +1 -1
- package/dist/config/presets/gitea/index.js +0 -1
- package/dist/config/presets/gitea/index.js.map +1 -1
- package/dist/config/presets/github/index.js +4 -2
- package/dist/config/presets/github/index.js.map +1 -1
- package/dist/config/presets/gitlab/index.js +1 -1
- package/dist/config/presets/gitlab/index.js.map +1 -1
- package/dist/config/presets/http/index.js +2 -2
- package/dist/config/presets/http/index.js.map +1 -1
- package/dist/config/presets/index.js +0 -7
- package/dist/config/presets/index.js.map +1 -1
- package/dist/config/presets/internal/custom-managers.js +18 -4
- package/dist/config/presets/internal/custom-managers.js.map +1 -1
- package/dist/config/presets/internal/group.js +30 -1
- package/dist/config/presets/internal/group.js.map +1 -1
- package/dist/config/presets/internal/index.js +1 -3
- package/dist/config/presets/internal/index.js.map +1 -1
- package/dist/config/presets/internal/workarounds.js +1 -0
- package/dist/config/presets/internal/workarounds.js.map +1 -1
- package/dist/config/presets/npm/index.js +4 -1
- package/dist/config/presets/npm/index.js.map +1 -1
- package/dist/config/presets/parse.js +2 -1
- package/dist/config/presets/parse.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/types.d.ts +4 -2
- package/dist/config/types.js.map +1 -1
- package/dist/config/validation.js +3 -5
- package/dist/config/validation.js.map +1 -1
- package/dist/config-validator.js +0 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/constants/category.js +0 -1
- package/dist/constants/category.js.map +1 -1
- package/dist/constants/platforms.js +5 -1
- package/dist/constants/platforms.js.map +1 -1
- package/dist/data/monorepo.json +9 -2
- package/dist/data/replacements.json +13 -0
- package/dist/data/source-urls.json +1 -0
- package/dist/data-files.generated.js +2 -2
- package/dist/data-files.generated.js.map +1 -1
- package/dist/instrumentation/index.js +39 -15
- package/dist/instrumentation/index.js.map +1 -1
- package/dist/instrumentation/utils.js +1 -1
- package/dist/instrumentation/utils.js.map +1 -1
- package/dist/logger/cmd-serializer.js +0 -1
- package/dist/logger/cmd-serializer.js.map +1 -1
- package/dist/logger/config-serializer.js +0 -1
- package/dist/logger/config-serializer.js.map +1 -1
- package/dist/logger/index.js +1 -4
- package/dist/logger/index.js.map +1 -1
- package/dist/logger/once.js +4 -2
- package/dist/logger/once.js.map +1 -1
- package/dist/logger/pretty-stdout.js +0 -1
- package/dist/logger/pretty-stdout.js.map +1 -1
- package/dist/logger/renovate-logger.js +1 -1
- package/dist/logger/renovate-logger.js.map +1 -1
- package/dist/logger/utils.js +5 -10
- package/dist/logger/utils.js.map +1 -1
- package/dist/modules/datasource/api.js +4 -0
- package/dist/modules/datasource/api.js.map +1 -1
- package/dist/modules/datasource/artifactory/index.js +1 -2
- package/dist/modules/datasource/artifactory/index.js.map +1 -1
- package/dist/modules/datasource/aws-eks-addon/index.d.ts +11 -0
- package/dist/modules/datasource/aws-eks-addon/index.js +75 -0
- package/dist/modules/datasource/aws-eks-addon/index.js.map +1 -0
- package/dist/modules/datasource/aws-eks-addon/schema.d.ts +40 -0
- package/dist/modules/datasource/aws-eks-addon/schema.js +31 -0
- package/dist/modules/datasource/aws-eks-addon/schema.js.map +1 -0
- package/dist/modules/datasource/aws-machine-image/index.js +6 -5
- package/dist/modules/datasource/aws-machine-image/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js +15 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +24 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js +3 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
- package/dist/modules/datasource/bazel/index.js +18 -2
- package/dist/modules/datasource/bazel/index.js.map +1 -1
- package/dist/modules/datasource/bazel/schema.d.ts +1 -0
- package/dist/modules/datasource/bazel/schema.js.map +1 -1
- package/dist/modules/datasource/bitbucket-server-tags/index.d.ts +19 -0
- package/dist/modules/datasource/bitbucket-server-tags/index.js +133 -0
- package/dist/modules/datasource/bitbucket-server-tags/index.js.map +1 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.d.ts +28 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.js +13 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.js.map +1 -0
- package/dist/modules/datasource/bitrise/index.js +1 -1
- package/dist/modules/datasource/bitrise/index.js.map +1 -1
- package/dist/modules/datasource/cdnjs/schema.d.ts +2 -2
- package/dist/modules/datasource/conda/index.js +18 -1
- package/dist/modules/datasource/conda/index.js.map +1 -1
- package/dist/modules/datasource/conda/prefix-dev.d.ts +3 -0
- package/dist/modules/datasource/conda/prefix-dev.js +81 -0
- package/dist/modules/datasource/conda/prefix-dev.js.map +1 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.d.ts +189 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.js +31 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.js.map +1 -0
- package/dist/modules/datasource/conda/types.d.ts +1 -20
- package/dist/modules/datasource/conda/types.js.map +1 -1
- package/dist/modules/datasource/cpan/index.js +2 -4
- package/dist/modules/datasource/cpan/index.js.map +1 -1
- package/dist/modules/datasource/crate/index.js +3 -3
- package/dist/modules/datasource/crate/index.js.map +1 -1
- package/dist/modules/datasource/custom/formats/html.js +1 -1
- package/dist/modules/datasource/custom/formats/html.js.map +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
- package/dist/modules/datasource/custom/index.js +4 -2
- package/dist/modules/datasource/custom/index.js.map +1 -1
- package/dist/modules/datasource/custom/schema.d.ts +22 -22
- package/dist/modules/datasource/custom/utils.js +1 -0
- package/dist/modules/datasource/custom/utils.js.map +1 -1
- package/dist/modules/datasource/dart/index.js +1 -1
- package/dist/modules/datasource/dart/index.js.map +1 -1
- package/dist/modules/datasource/dart-version/index.js +1 -1
- package/dist/modules/datasource/dart-version/index.js.map +1 -1
- package/dist/modules/datasource/datasource.js +0 -1
- package/dist/modules/datasource/datasource.js.map +1 -1
- package/dist/modules/datasource/deb/index.d.ts +4 -5
- package/dist/modules/datasource/deb/index.js +10 -11
- package/dist/modules/datasource/deb/index.js.map +1 -1
- package/dist/modules/datasource/deb/url.d.ts +3 -3
- package/dist/modules/datasource/deb/url.js +17 -13
- package/dist/modules/datasource/deb/url.js.map +1 -1
- package/dist/modules/datasource/deno/index.js +1 -1
- package/dist/modules/datasource/deno/index.js.map +1 -1
- package/dist/modules/datasource/deno/schema.d.ts +1 -1
- package/dist/modules/datasource/devbox/index.js +0 -1
- package/dist/modules/datasource/devbox/index.js.map +1 -1
- package/dist/modules/datasource/docker/common.js +5 -2
- package/dist/modules/datasource/docker/common.js.map +1 -1
- package/dist/modules/datasource/docker/index.js +8 -6
- package/dist/modules/datasource/docker/index.js.map +1 -1
- package/dist/modules/datasource/docker/schema.d.ts +77 -101
- package/dist/modules/datasource/docker/schema.js +2 -1
- package/dist/modules/datasource/docker/schema.js.map +1 -1
- package/dist/modules/datasource/flutter-version/index.js +1 -1
- package/dist/modules/datasource/flutter-version/index.js.map +1 -1
- package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
- package/dist/modules/datasource/galaxy-collection/schema.d.ts +8 -8
- package/dist/modules/datasource/git-refs/index.js +1 -1
- package/dist/modules/datasource/git-refs/index.js.map +1 -1
- package/dist/modules/datasource/gitea-releases/schema.d.ts +6 -6
- package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
- package/dist/modules/datasource/github-release-attachments/index.js +2 -2
- package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
- package/dist/modules/datasource/github-runners/index.js +2 -2
- package/dist/modules/datasource/github-runners/index.js.map +1 -1
- package/dist/modules/datasource/github-tags/index.js +4 -1
- package/dist/modules/datasource/github-tags/index.js.map +1 -1
- package/dist/modules/datasource/gitlab-packages/index.js +1 -1
- package/dist/modules/datasource/gitlab-packages/index.js.map +1 -1
- package/dist/modules/datasource/gitlab-releases/index.js +1 -3
- package/dist/modules/datasource/gitlab-releases/index.js.map +1 -1
- package/dist/modules/datasource/go/base.js +1 -1
- package/dist/modules/datasource/go/base.js.map +1 -1
- package/dist/modules/datasource/go/index.js +1 -1
- package/dist/modules/datasource/go/index.js.map +1 -1
- package/dist/modules/datasource/go/releases-direct.js +7 -4
- package/dist/modules/datasource/go/releases-direct.js.map +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
- package/dist/modules/datasource/golang-version/index.js +2 -2
- package/dist/modules/datasource/golang-version/index.js.map +1 -1
- package/dist/modules/datasource/gradle-version/index.js +1 -1
- package/dist/modules/datasource/gradle-version/index.js.map +1 -1
- package/dist/modules/datasource/helm/index.js +1 -1
- package/dist/modules/datasource/helm/index.js.map +1 -1
- package/dist/modules/datasource/hex/index.js +1 -1
- package/dist/modules/datasource/hex/index.js.map +1 -1
- package/dist/modules/datasource/hex/schema.d.ts +11 -11
- package/dist/modules/datasource/hexpm-bob/index.js +1 -1
- package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
- package/dist/modules/datasource/index.js +46 -5
- package/dist/modules/datasource/index.js.map +1 -1
- package/dist/modules/datasource/java-version/index.js +0 -1
- package/dist/modules/datasource/java-version/index.js.map +1 -1
- package/dist/modules/datasource/jenkins-plugins/index.js +1 -1
- package/dist/modules/datasource/jenkins-plugins/index.js.map +1 -1
- package/dist/modules/datasource/maven/index.d.ts +2 -2
- package/dist/modules/datasource/maven/index.js +56 -33
- package/dist/modules/datasource/maven/index.js.map +1 -1
- package/dist/modules/datasource/maven/types.d.ts +7 -6
- package/dist/modules/datasource/maven/types.js.map +1 -1
- package/dist/modules/datasource/maven/util.d.ts +4 -5
- package/dist/modules/datasource/maven/util.js +94 -157
- package/dist/modules/datasource/maven/util.js.map +1 -1
- package/dist/modules/datasource/metadata.js +9 -1
- package/dist/modules/datasource/metadata.js.map +1 -1
- package/dist/modules/datasource/node-version/index.js +1 -1
- package/dist/modules/datasource/node-version/index.js.map +1 -1
- package/dist/modules/datasource/npm/get.d.ts +0 -1
- package/dist/modules/datasource/npm/get.js +14 -68
- package/dist/modules/datasource/npm/get.js.map +1 -1
- package/dist/modules/datasource/npm/index.js +1 -1
- package/dist/modules/datasource/npm/index.js.map +1 -1
- package/dist/modules/datasource/npm/npmrc.js +1 -1
- package/dist/modules/datasource/npm/npmrc.js.map +1 -1
- package/dist/modules/datasource/npm/types.d.ts +0 -8
- package/dist/modules/datasource/npm/types.js.map +1 -1
- package/dist/modules/datasource/nuget/index.js +1 -1
- package/dist/modules/datasource/nuget/index.js.map +1 -1
- package/dist/modules/datasource/nuget/v2.js +1 -1
- package/dist/modules/datasource/nuget/v2.js.map +1 -1
- package/dist/modules/datasource/nuget/v3.js +8 -6
- package/dist/modules/datasource/nuget/v3.js.map +1 -1
- package/dist/modules/datasource/orb/index.js +1 -1
- package/dist/modules/datasource/orb/index.js.map +1 -1
- package/dist/modules/datasource/packagist/index.js +2 -2
- package/dist/modules/datasource/packagist/index.js.map +1 -1
- package/dist/modules/datasource/packagist/schema.d.ts +32 -32
- package/dist/modules/datasource/pod/index.js +2 -2
- package/dist/modules/datasource/pod/index.js.map +1 -1
- package/dist/modules/datasource/postprocess-release.js +1 -1
- package/dist/modules/datasource/postprocess-release.js.map +1 -1
- package/dist/modules/datasource/pypi/index.js +1 -1
- package/dist/modules/datasource/pypi/index.js.map +1 -1
- package/dist/modules/datasource/python-version/index.js +1 -1
- package/dist/modules/datasource/python-version/index.js.map +1 -1
- package/dist/modules/datasource/repology/index.js +1 -1
- package/dist/modules/datasource/repology/index.js.map +1 -1
- package/dist/modules/datasource/ruby-version/index.js +1 -1
- package/dist/modules/datasource/ruby-version/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/index.js +2 -2
- package/dist/modules/datasource/rubygems/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
- package/dist/modules/datasource/sbt-package/index.js +1 -1
- package/dist/modules/datasource/sbt-package/index.js.map +1 -1
- package/dist/modules/datasource/sbt-plugin/index.js +1 -1
- package/dist/modules/datasource/sbt-plugin/index.js.map +1 -1
- package/dist/modules/datasource/schema.d.ts +4 -4
- package/dist/modules/datasource/terraform-module/index.js +1 -1
- package/dist/modules/datasource/terraform-module/index.js.map +1 -1
- package/dist/modules/datasource/terraform-provider/index.js +2 -3
- package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
- package/dist/modules/datasource/types.d.ts +2 -0
- package/dist/modules/datasource/types.js.map +1 -1
- package/dist/modules/manager/api.js +2 -0
- package/dist/modules/manager/api.js.map +1 -1
- package/dist/modules/manager/argocd/extract.js +1 -1
- package/dist/modules/manager/argocd/extract.js.map +1 -1
- package/dist/modules/manager/argocd/schema.d.ts +22 -22
- package/dist/modules/manager/asdf/upgradeable-tooling.js +94 -0
- package/dist/modules/manager/asdf/upgradeable-tooling.js.map +1 -1
- package/dist/modules/manager/azure-pipelines/schema.d.ts +32 -32
- package/dist/modules/manager/batect/schema.d.ts +4 -4
- package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
- package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/bazel/rules/docker.d.ts +6 -6
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- package/dist/modules/manager/bazel/rules/git.js +9 -2
- package/dist/modules/manager/bazel/rules/git.js.map +1 -1
- package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
- package/dist/modules/manager/bazel/rules/maven.d.ts +7 -7
- package/dist/modules/manager/bazel/rules/oci.d.ts +6 -6
- package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
- package/dist/modules/manager/bazel-module/parser/maven.d.ts +44 -90
- package/dist/modules/manager/bazel-module/parser/oci.d.ts +19 -42
- package/dist/modules/manager/bazel-module/rules.d.ts +50 -160
- package/dist/modules/manager/buildpacks/extract.d.ts +6 -1
- package/dist/modules/manager/buildpacks/extract.js +24 -14
- package/dist/modules/manager/buildpacks/extract.js.map +1 -1
- package/dist/modules/manager/bun/artifacts.js +0 -1
- package/dist/modules/manager/bun/artifacts.js.map +1 -1
- package/dist/modules/manager/bun/extract.d.ts +1 -0
- package/dist/modules/manager/bun/extract.js +53 -27
- package/dist/modules/manager/bun/extract.js.map +1 -1
- package/dist/modules/manager/bun/index.js +1 -1
- package/dist/modules/manager/bun/index.js.map +1 -1
- package/dist/modules/manager/bun/utils.d.ts +2 -0
- package/dist/modules/manager/bun/utils.js +22 -0
- package/dist/modules/manager/bun/utils.js.map +1 -0
- package/dist/modules/manager/bundler/artifacts.js +0 -1
- package/dist/modules/manager/bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/bundler/extract.js +2 -1
- package/dist/modules/manager/bundler/extract.js.map +1 -1
- package/dist/modules/manager/cake/index.js +4 -2
- package/dist/modules/manager/cake/index.js.map +1 -1
- package/dist/modules/manager/cargo/artifacts.js +5 -7
- package/dist/modules/manager/cargo/artifacts.js.map +1 -1
- package/dist/modules/manager/cargo/schema.d.ts +166 -166
- package/dist/modules/manager/circleci/extract.js +21 -30
- package/dist/modules/manager/circleci/extract.js.map +1 -1
- package/dist/modules/manager/circleci/schema.d.ts +33 -144
- package/dist/modules/manager/circleci/schema.js +21 -17
- package/dist/modules/manager/circleci/schema.js.map +1 -1
- package/dist/modules/manager/cocoapods/artifacts.js +1 -2
- package/dist/modules/manager/cocoapods/artifacts.js.map +1 -1
- package/dist/modules/manager/composer/artifacts.js +1 -2
- package/dist/modules/manager/composer/artifacts.js.map +1 -1
- package/dist/modules/manager/composer/schema.d.ts +32 -34
- package/dist/modules/manager/composer/schema.js +1 -1
- package/dist/modules/manager/composer/schema.js.map +1 -1
- package/dist/modules/manager/composer/utils.d.ts +1 -0
- package/dist/modules/manager/composer/utils.js +18 -6
- package/dist/modules/manager/composer/utils.js.map +1 -1
- package/dist/modules/manager/conan/artifacts.d.ts +2 -0
- package/dist/modules/manager/conan/artifacts.js +76 -0
- package/dist/modules/manager/conan/artifacts.js.map +1 -0
- package/dist/modules/manager/conan/index.d.ts +2 -0
- package/dist/modules/manager/conan/index.js +4 -1
- package/dist/modules/manager/conan/index.js.map +1 -1
- package/dist/modules/manager/copier/artifacts.js +0 -1
- package/dist/modules/manager/copier/artifacts.js.map +1 -1
- package/dist/modules/manager/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/schema.d.ts +21 -21
- package/dist/modules/manager/custom/regex/index.js +2 -0
- package/dist/modules/manager/custom/regex/index.js.map +1 -1
- package/dist/modules/manager/deps-edn/extract.js +2 -1
- package/dist/modules/manager/deps-edn/extract.js.map +1 -1
- package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
- package/dist/modules/manager/devbox/artifacts.js +35 -11
- package/dist/modules/manager/devbox/artifacts.js.map +1 -1
- package/dist/modules/manager/devbox/schema.js +1 -1
- package/dist/modules/manager/devbox/schema.js.map +1 -1
- package/dist/modules/manager/devcontainer/extract.js +43 -1
- package/dist/modules/manager/devcontainer/extract.js.map +1 -1
- package/dist/modules/manager/devcontainer/index.js +11 -1
- package/dist/modules/manager/devcontainer/index.js.map +1 -1
- package/dist/modules/manager/devcontainer/schema.d.ts +7 -3
- package/dist/modules/manager/devcontainer/schema.js +3 -1
- package/dist/modules/manager/devcontainer/schema.js.map +1 -1
- package/dist/modules/manager/docker-compose/schema.d.ts +6 -6
- package/dist/modules/manager/dockerfile/extract.js +2 -6
- package/dist/modules/manager/dockerfile/extract.js.map +1 -1
- package/dist/modules/manager/fingerprint.generated.js +86 -85
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/fleet/schema.d.ts +4 -4
- package/dist/modules/manager/flux/artifacts.js +0 -1
- package/dist/modules/manager/flux/artifacts.js.map +1 -1
- package/dist/modules/manager/flux/extract.js +27 -24
- package/dist/modules/manager/flux/extract.js.map +1 -1
- package/dist/modules/manager/flux/schema.d.ts +130 -154
- package/dist/modules/manager/github-actions/extract.js +60 -39
- package/dist/modules/manager/github-actions/extract.js.map +1 -1
- package/dist/modules/manager/github-actions/schema.d.ts +66 -0
- package/dist/modules/manager/github-actions/schema.js +38 -0
- package/dist/modules/manager/github-actions/schema.js.map +1 -0
- package/dist/modules/manager/gitlabci/extract.d.ts +1 -5
- package/dist/modules/manager/gitlabci/extract.js +27 -126
- package/dist/modules/manager/gitlabci/extract.js.map +1 -1
- package/dist/modules/manager/gitlabci/schema.d.ts +55 -0
- package/dist/modules/manager/gitlabci/schema.js +63 -0
- package/dist/modules/manager/gitlabci/schema.js.map +1 -0
- package/dist/modules/manager/gitlabci-include/extract.js +6 -54
- package/dist/modules/manager/gitlabci-include/extract.js.map +1 -1
- package/dist/modules/manager/gitlabci-include/schema.d.ts +13 -0
- package/dist/modules/manager/gitlabci-include/schema.js +46 -0
- package/dist/modules/manager/gitlabci-include/schema.js.map +1 -0
- package/dist/modules/manager/glasskube/schema.d.ts +8 -8
- package/dist/modules/manager/gomod/artifacts-extra.js +12 -4
- package/dist/modules/manager/gomod/artifacts-extra.js.map +1 -1
- package/dist/modules/manager/gomod/artifacts.js +24 -10
- package/dist/modules/manager/gomod/artifacts.js.map +1 -1
- package/dist/modules/manager/gomod/extract.js +23 -0
- package/dist/modules/manager/gomod/extract.js.map +1 -1
- package/dist/modules/manager/gomod/line-parser.js +16 -0
- package/dist/modules/manager/gomod/line-parser.js.map +1 -1
- package/dist/modules/manager/gomod/update.js +5 -3
- package/dist/modules/manager/gomod/update.js.map +1 -1
- package/dist/modules/manager/gradle/artifacts.js +0 -1
- package/dist/modules/manager/gradle/artifacts.js.map +1 -1
- package/dist/modules/manager/gradle/extract/catalog.js +1 -1
- package/dist/modules/manager/gradle/extract/catalog.js.map +1 -1
- package/dist/modules/manager/gradle/extract.js +8 -13
- package/dist/modules/manager/gradle/extract.js.map +1 -1
- package/dist/modules/manager/gradle/parser/assignments.js +2 -2
- package/dist/modules/manager/gradle/parser/assignments.js.map +1 -1
- package/dist/modules/manager/gradle/parser/handlers.d.ts +1 -2
- package/dist/modules/manager/gradle/parser/handlers.js +17 -24
- package/dist/modules/manager/gradle/parser/handlers.js.map +1 -1
- package/dist/modules/manager/gradle/parser/registry-urls.js +46 -12
- package/dist/modules/manager/gradle/parser/registry-urls.js.map +1 -1
- package/dist/modules/manager/gradle/types.d.ts +1 -0
- package/dist/modules/manager/gradle/types.js.map +1 -1
- package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -2
- package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/helmfile/artifacts.js +0 -1
- package/dist/modules/manager/helmfile/artifacts.js.map +1 -1
- package/dist/modules/manager/helmfile/extract.js +4 -0
- package/dist/modules/manager/helmfile/extract.js.map +1 -1
- package/dist/modules/manager/helmfile/schema.d.ts +9 -9
- package/dist/modules/manager/helmv3/artifacts.js +0 -1
- package/dist/modules/manager/helmv3/artifacts.js.map +1 -1
- package/dist/modules/manager/helmv3/utils.js +3 -1
- package/dist/modules/manager/helmv3/utils.js.map +1 -1
- package/dist/modules/manager/hermit/artifacts.js +0 -1
- package/dist/modules/manager/hermit/artifacts.js.map +1 -1
- package/dist/modules/manager/homebrew/extract.js +0 -1
- package/dist/modules/manager/homebrew/extract.js.map +1 -1
- package/dist/modules/manager/jsonnet-bundler/artifacts.js +0 -1
- package/dist/modules/manager/jsonnet-bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/kustomize/artifacts.d.ts +2 -0
- package/dist/modules/manager/kustomize/artifacts.js +154 -0
- package/dist/modules/manager/kustomize/artifacts.js.map +1 -0
- package/dist/modules/manager/kustomize/common.d.ts +3 -0
- package/dist/modules/manager/kustomize/common.js +22 -0
- package/dist/modules/manager/kustomize/common.js.map +1 -0
- package/dist/modules/manager/kustomize/index.d.ts +1 -0
- package/dist/modules/manager/kustomize/index.js +3 -1
- package/dist/modules/manager/kustomize/index.js.map +1 -1
- package/dist/modules/manager/kustomize/types.d.ts +4 -0
- package/dist/modules/manager/kustomize/types.js.map +1 -1
- package/dist/modules/manager/maven/extract.d.ts +2 -2
- package/dist/modules/manager/maven/extract.js +14 -9
- package/dist/modules/manager/maven/extract.js.map +1 -1
- package/dist/modules/manager/maven-wrapper/artifacts.js +0 -1
- package/dist/modules/manager/maven-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/mise/extract.js +1 -1
- package/dist/modules/manager/mise/extract.js.map +1 -1
- package/dist/modules/manager/mix/artifacts.js +64 -14
- package/dist/modules/manager/mix/artifacts.js.map +1 -1
- package/dist/modules/manager/mix/index.d.ts +1 -0
- package/dist/modules/manager/mix/index.js +2 -1
- package/dist/modules/manager/mix/index.js.map +1 -1
- package/dist/modules/manager/nix/artifacts.js +0 -1
- package/dist/modules/manager/nix/artifacts.js.map +1 -1
- package/dist/modules/manager/nix/extract.js +1 -1
- package/dist/modules/manager/nix/extract.js.map +1 -1
- package/dist/modules/manager/nix/schema.d.ts +20 -20
- package/dist/modules/manager/nix/schema.js +1 -0
- package/dist/modules/manager/nix/schema.js.map +1 -1
- package/dist/modules/manager/npm/artifacts.js +0 -1
- package/dist/modules/manager/npm/artifacts.js.map +1 -1
- package/dist/modules/manager/npm/extract/common/package-file.js +1 -0
- package/dist/modules/manager/npm/extract/common/package-file.js.map +1 -1
- package/dist/modules/manager/npm/extract/yarn.js +2 -2
- package/dist/modules/manager/npm/extract/yarn.js.map +1 -1
- package/dist/modules/manager/npm/post-update/npm.js +0 -1
- package/dist/modules/manager/npm/post-update/npm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/pnpm.js +13 -2
- package/dist/modules/manager/npm/post-update/pnpm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/rules.js +11 -1
- package/dist/modules/manager/npm/post-update/rules.js.map +1 -1
- package/dist/modules/manager/npm/post-update/yarn.js +0 -1
- package/dist/modules/manager/npm/post-update/yarn.js.map +1 -1
- package/dist/modules/manager/npm/schema.d.ts +13 -13
- package/dist/modules/manager/npm/update/dependency/index.js +1 -1
- package/dist/modules/manager/npm/update/dependency/index.js.map +1 -1
- package/dist/modules/manager/nuget/artifacts.js +1 -2
- package/dist/modules/manager/nuget/artifacts.js.map +1 -1
- package/dist/modules/manager/nuget/extract.js +21 -18
- package/dist/modules/manager/nuget/extract.js.map +1 -1
- package/dist/modules/manager/nuget/package-tree.js +4 -0
- package/dist/modules/manager/nuget/package-tree.js.map +1 -1
- package/dist/modules/manager/nuget/schema.d.ts +8 -8
- package/dist/modules/manager/nuget/util.js +4 -1
- package/dist/modules/manager/nuget/util.js.map +1 -1
- package/dist/modules/manager/ocb/schema.d.ts +6 -6
- package/dist/modules/manager/pep621/extract.js +19 -3
- package/dist/modules/manager/pep621/extract.js.map +1 -1
- package/dist/modules/manager/pep621/processors/pdm.js +3 -2
- package/dist/modules/manager/pep621/processors/pdm.js.map +1 -1
- package/dist/modules/manager/pep621/processors/uv.js +4 -1
- package/dist/modules/manager/pep621/processors/uv.js.map +1 -1
- package/dist/modules/manager/pep621/schema.d.ts +341 -49
- package/dist/modules/manager/pep621/schema.js +3 -1
- package/dist/modules/manager/pep621/schema.js.map +1 -1
- package/dist/modules/manager/pep621/utils.js +1 -1
- package/dist/modules/manager/pep621/utils.js.map +1 -1
- package/dist/modules/manager/pip-compile/common.js +0 -1
- package/dist/modules/manager/pip-compile/common.js.map +1 -1
- package/dist/modules/manager/pip_requirements/artifacts.js +0 -1
- package/dist/modules/manager/pip_requirements/artifacts.js.map +1 -1
- package/dist/modules/manager/pip_requirements/common.js +2 -6
- package/dist/modules/manager/pip_requirements/common.js.map +1 -1
- package/dist/modules/manager/pipenv/artifacts.js +0 -1
- package/dist/modules/manager/pipenv/artifacts.js.map +1 -1
- package/dist/modules/manager/pixi/artifacts.d.ts +3 -0
- package/dist/modules/manager/pixi/artifacts.js +78 -0
- package/dist/modules/manager/pixi/artifacts.js.map +1 -0
- package/dist/modules/manager/pixi/extract.d.ts +4 -0
- package/dist/modules/manager/pixi/extract.js +131 -0
- package/dist/modules/manager/pixi/extract.js.map +1 -0
- package/dist/modules/manager/pixi/index.d.ts +10 -0
- package/dist/modules/manager/pixi/index.js +20 -0
- package/dist/modules/manager/pixi/index.js.map +1 -0
- package/dist/modules/manager/pixi/schema.d.ts +405 -0
- package/dist/modules/manager/pixi/schema.js +147 -0
- package/dist/modules/manager/pixi/schema.js.map +1 -0
- package/dist/modules/manager/poetry/artifacts.js +3 -4
- package/dist/modules/manager/poetry/artifacts.js.map +1 -1
- package/dist/modules/manager/poetry/extract.js +2 -1
- package/dist/modules/manager/poetry/extract.js.map +1 -1
- package/dist/modules/manager/poetry/schema.d.ts +44 -44
- package/dist/modules/manager/pub/artifacts.js +0 -1
- package/dist/modules/manager/pub/artifacts.js.map +1 -1
- package/dist/modules/manager/pub/schema.d.ts +8 -8
- package/dist/modules/manager/scalafmt/extract.js +1 -1
- package/dist/modules/manager/scalafmt/extract.js.map +1 -1
- package/dist/modules/manager/sveltos/schema.d.ts +30 -42
- package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
- package/dist/modules/manager/terraform/util.js +1 -3
- package/dist/modules/manager/terraform/util.js.map +1 -1
- package/dist/modules/manager/types.d.ts +6 -2
- package/dist/modules/manager/types.js.map +1 -1
- package/dist/modules/manager/vendir/schema.d.ts +7 -7
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/azure/azure-helper.js +2 -2
- package/dist/modules/platform/azure/azure-helper.js.map +1 -1
- package/dist/modules/platform/azure/index.js +14 -14
- package/dist/modules/platform/azure/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/comments.js +4 -4
- package/dist/modules/platform/bitbucket/comments.js.map +1 -1
- package/dist/modules/platform/bitbucket/index.js +49 -44
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +14 -14
- package/dist/modules/platform/bitbucket/utils.js +3 -3
- package/dist/modules/platform/bitbucket/utils.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/index.d.ts +2 -2
- package/dist/modules/platform/bitbucket-server/index.js +81 -81
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/pr-cache.d.ts +23 -0
- package/dist/modules/platform/bitbucket-server/pr-cache.js +125 -0
- package/dist/modules/platform/bitbucket-server/pr-cache.js.map +1 -0
- package/dist/modules/platform/bitbucket-server/schema.d.ts +76 -0
- package/dist/modules/platform/bitbucket-server/schema.js +15 -1
- package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/types.d.ts +8 -2
- package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
- package/dist/modules/platform/bitbucket-server/utils.js +6 -52
- package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
- package/dist/modules/platform/codecommit/codecommit-client.js +6 -6
- package/dist/modules/platform/codecommit/codecommit-client.js.map +1 -1
- package/dist/modules/platform/codecommit/index.js +24 -24
- package/dist/modules/platform/codecommit/index.js.map +1 -1
- package/dist/modules/platform/gerrit/client.d.ts +0 -3
- package/dist/modules/platform/gerrit/client.js +20 -29
- package/dist/modules/platform/gerrit/client.js.map +1 -1
- package/dist/modules/platform/gerrit/index.js +0 -6
- package/dist/modules/platform/gerrit/index.js.map +1 -1
- package/dist/modules/platform/gerrit/scm.js +5 -6
- package/dist/modules/platform/gerrit/scm.js.map +1 -1
- package/dist/modules/platform/gerrit/types.d.ts +1 -4
- package/dist/modules/platform/gerrit/types.js.map +1 -1
- package/dist/modules/platform/gerrit/utils.d.ts +3 -2
- package/dist/modules/platform/gerrit/utils.js +4 -8
- package/dist/modules/platform/gerrit/utils.js.map +1 -1
- package/dist/modules/platform/gitea/gitea-helper.d.ts +1 -0
- package/dist/modules/platform/gitea/gitea-helper.js +16 -0
- package/dist/modules/platform/gitea/gitea-helper.js.map +1 -1
- package/dist/modules/platform/gitea/index.js +22 -16
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- package/dist/modules/platform/gitea/types.d.ts +1 -1
- package/dist/modules/platform/gitea/types.js.map +1 -1
- package/dist/modules/platform/github/common.d.ts +2 -0
- package/dist/modules/platform/github/common.js +16 -0
- package/dist/modules/platform/github/common.js.map +1 -1
- package/dist/modules/platform/github/index.d.ts +1 -1
- package/dist/modules/platform/github/index.js +87 -82
- package/dist/modules/platform/github/index.js.map +1 -1
- package/dist/modules/platform/github/issue.d.ts +18 -18
- package/dist/modules/platform/github/massage-markdown-links.js +2 -2
- package/dist/modules/platform/github/massage-markdown-links.js.map +1 -1
- package/dist/modules/platform/github/pr.js +3 -3
- package/dist/modules/platform/github/pr.js.map +1 -1
- package/dist/modules/platform/github/schema.d.ts +128 -128
- package/dist/modules/platform/github/schema.js +3 -1
- package/dist/modules/platform/github/schema.js.map +1 -1
- package/dist/modules/platform/gitlab/index.js +63 -49
- package/dist/modules/platform/gitlab/index.js.map +1 -1
- package/dist/modules/platform/index.js +0 -1
- package/dist/modules/platform/index.js.map +1 -1
- package/dist/modules/platform/scm.d.ts +1 -1
- package/dist/modules/versioning/api.js +2 -0
- package/dist/modules/versioning/api.js.map +1 -1
- package/dist/modules/versioning/composer/index.js +10 -0
- package/dist/modules/versioning/composer/index.js.map +1 -1
- package/dist/modules/versioning/conda/index.d.ts +41 -0
- package/dist/modules/versioning/conda/index.js +178 -0
- package/dist/modules/versioning/conda/index.js.map +1 -0
- package/dist/modules/versioning/distro.js +1 -3
- package/dist/modules/versioning/distro.js.map +1 -1
- package/dist/modules/versioning/hashicorp/convertor.d.ts +2 -1
- package/dist/modules/versioning/hashicorp/convertor.js +13 -8
- package/dist/modules/versioning/hashicorp/convertor.js.map +1 -1
- package/dist/modules/versioning/hex/index.js +3 -3
- package/dist/modules/versioning/hex/index.js.map +1 -1
- package/dist/modules/versioning/npm/index.js +2 -1
- package/dist/modules/versioning/npm/index.js.map +1 -1
- package/dist/modules/versioning/types.d.ts +4 -0
- package/dist/modules/versioning/types.js.map +1 -1
- package/dist/proxy.js +2 -1
- package/dist/proxy.js.map +1 -1
- package/dist/renovate.js +2 -2
- package/dist/renovate.js.map +1 -1
- package/dist/util/cache/package/redis.js +0 -1
- package/dist/util/cache/package/redis.js.map +1 -1
- package/dist/util/cache/package/types.d.ts +1 -1
- package/dist/util/cache/package/types.js.map +1 -1
- package/dist/util/cache/repository/impl/base.d.ts +1 -1
- package/dist/util/cache/repository/impl/base.js +4 -0
- package/dist/util/cache/repository/impl/base.js.map +1 -1
- package/dist/util/cache/repository/schema.d.ts +4 -4
- package/dist/util/cache/repository/types.d.ts +3 -0
- package/dist/util/cache/repository/types.js.map +1 -1
- package/dist/util/common.d.ts +4 -2
- package/dist/util/common.js +17 -3
- package/dist/util/common.js.map +1 -1
- package/dist/util/env.d.ts +4 -0
- package/dist/util/env.js +22 -0
- package/dist/util/env.js.map +1 -0
- package/dist/util/exec/containerbase.js +19 -14
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/exec/index.js +5 -2
- package/dist/util/exec/index.js.map +1 -1
- package/dist/util/exec/types.d.ts +0 -2
- package/dist/util/exec/types.js.map +1 -1
- package/dist/util/exec/utils.d.ts +1 -1
- package/dist/util/exec/utils.js +6 -5
- package/dist/util/exec/utils.js.map +1 -1
- package/dist/util/git/auth.js +8 -5
- package/dist/util/git/auth.js.map +1 -1
- package/dist/util/git/author.js +1 -1
- package/dist/util/git/author.js.map +1 -1
- package/dist/util/git/config.js +0 -1
- package/dist/util/git/config.js.map +1 -1
- package/dist/util/git/error.js +4 -2
- package/dist/util/git/error.js.map +1 -1
- package/dist/util/git/index.js +75 -52
- package/dist/util/git/index.js.map +1 -1
- package/dist/util/git/private-key.js +2 -4
- package/dist/util/git/private-key.js.map +1 -1
- package/dist/util/git/types.d.ts +2 -0
- package/dist/util/git/types.js.map +1 -1
- package/dist/util/git/url.js +1 -1
- package/dist/util/git/url.js.map +1 -1
- package/dist/util/github/graphql/datasource-fetcher.js +3 -5
- package/dist/util/github/graphql/datasource-fetcher.js.map +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +2 -2
- package/dist/util/github/graphql/query-adapters/tags-query-adapter.d.ts +2 -2
- package/dist/util/http/auth.js +0 -1
- package/dist/util/http/auth.js.map +1 -1
- package/dist/util/http/bitbucket-server.d.ts +7 -5
- package/dist/util/http/bitbucket-server.js +26 -23
- package/dist/util/http/bitbucket-server.js.map +1 -1
- package/dist/util/http/bitbucket.d.ts +6 -5
- package/dist/util/http/bitbucket.js +34 -31
- package/dist/util/http/bitbucket.js.map +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js +2 -2
- package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
- package/dist/util/http/cache/memory-http-cache-provider.d.ts +10 -0
- package/dist/util/http/cache/memory-http-cache-provider.js +29 -0
- package/dist/util/http/cache/memory-http-cache-provider.js.map +1 -0
- package/dist/util/http/cache/package-http-cache-provider.d.ts +23 -0
- package/dist/util/http/cache/package-http-cache-provider.js +80 -0
- package/dist/util/http/cache/package-http-cache-provider.js.map +1 -0
- package/dist/util/http/cache/schema.d.ts +2 -2
- package/dist/util/http/errors.d.ts +2 -0
- package/dist/util/http/errors.js +8 -0
- package/dist/util/http/errors.js.map +1 -0
- package/dist/util/http/gerrit.d.ts +6 -4
- package/dist/util/http/gerrit.js +11 -12
- package/dist/util/http/gerrit.js.map +1 -1
- package/dist/util/http/gitea.d.ts +5 -4
- package/dist/util/http/gitea.js +14 -13
- package/dist/util/http/gitea.js.map +1 -1
- package/dist/util/http/github.d.ts +14 -8
- package/dist/util/http/github.js +65 -60
- package/dist/util/http/github.js.map +1 -1
- package/dist/util/http/gitlab.d.ts +7 -5
- package/dist/util/http/gitlab.js +58 -46
- package/dist/util/http/gitlab.js.map +1 -1
- package/dist/util/http/got.d.ts +9 -0
- package/dist/util/http/got.js +54 -0
- package/dist/util/http/got.js.map +1 -0
- package/dist/util/http/host-rules.d.ts +2 -1
- package/dist/util/http/host-rules.js +17 -4
- package/dist/util/http/host-rules.js.map +1 -1
- package/dist/util/http/http.d.ts +93 -0
- package/dist/util/http/http.js +346 -0
- package/dist/util/http/http.js.map +1 -0
- package/dist/util/http/index.d.ts +6 -74
- package/dist/util/http/index.js +5 -359
- package/dist/util/http/index.js.map +1 -1
- package/dist/util/http/legacy.js +4 -1
- package/dist/util/http/legacy.js.map +1 -1
- package/dist/util/http/types.d.ts +9 -16
- package/dist/util/http/types.js.map +1 -1
- package/dist/util/schema-utils.d.ts +1 -0
- package/dist/util/schema-utils.js +43 -8
- package/dist/util/schema-utils.js.map +1 -1
- package/dist/util/stats.d.ts +10 -0
- package/dist/util/stats.js +45 -1
- package/dist/util/stats.js.map +1 -1
- package/dist/util/string.d.ts +16 -0
- package/dist/util/string.js +79 -0
- package/dist/util/string.js.map +1 -1
- package/dist/util/toml.d.ts +1 -0
- package/dist/util/toml.js +6 -0
- package/dist/util/toml.js.map +1 -1
- package/dist/util/url.js +3 -8
- package/dist/util/url.js.map +1 -1
- package/dist/util/yaml.js +3 -8
- package/dist/util/yaml.js.map +1 -1
- package/dist/workers/global/autodiscover.js +1 -19
- package/dist/workers/global/autodiscover.js.map +1 -1
- package/dist/workers/global/config/parse/env.js +3 -3
- package/dist/workers/global/config/parse/env.js.map +1 -1
- package/dist/workers/global/config/parse/file.js +18 -8
- package/dist/workers/global/config/parse/file.js.map +1 -1
- package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
- package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
- package/dist/workers/global/config/parse/index.js +15 -0
- package/dist/workers/global/config/parse/index.js.map +1 -1
- package/dist/workers/global/index.js +4 -2
- package/dist/workers/global/index.js.map +1 -1
- package/dist/workers/repository/cache.js +1 -2
- package/dist/workers/repository/cache.js.map +1 -1
- package/dist/workers/repository/config-migration/branch/migrated-data.js +2 -0
- package/dist/workers/repository/config-migration/branch/migrated-data.js.map +1 -1
- package/dist/workers/repository/index.js +1 -0
- package/dist/workers/repository/index.js.map +1 -1
- package/dist/workers/repository/init/merge.js +6 -3
- package/dist/workers/repository/init/merge.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
- package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/index.js +4 -0
- package/dist/workers/repository/onboarding/pr/index.js.map +1 -1
- package/dist/workers/repository/process/extract-update.js +0 -1
- package/dist/workers/repository/process/extract-update.js.map +1 -1
- package/dist/workers/repository/process/fingerprint-fields.js +0 -1
- package/dist/workers/repository/process/fingerprint-fields.js.map +1 -1
- package/dist/workers/repository/process/libyear.js +2 -2
- package/dist/workers/repository/process/libyear.js.map +1 -1
- package/dist/workers/repository/process/lookup/index.js +15 -4
- package/dist/workers/repository/process/lookup/index.js.map +1 -1
- package/dist/workers/repository/process/lookup/timestamps.d.ts +18 -0
- package/dist/workers/repository/process/lookup/timestamps.js +69 -0
- package/dist/workers/repository/process/lookup/timestamps.js.map +1 -0
- package/dist/workers/repository/process/lookup/types.d.ts +1 -0
- package/dist/workers/repository/process/lookup/types.js.map +1 -1
- package/dist/workers/repository/process/lookup/utils.js +20 -9
- package/dist/workers/repository/process/lookup/utils.js.map +1 -1
- package/dist/workers/repository/process/sort.js +1 -1
- package/dist/workers/repository/process/sort.js.map +1 -1
- package/dist/workers/repository/process/vulnerabilities.js +1 -1
- package/dist/workers/repository/process/vulnerabilities.js.map +1 -1
- package/dist/workers/repository/process/write.js +1 -8
- package/dist/workers/repository/process/write.js.map +1 -1
- package/dist/workers/repository/reconfigure/utils.d.ts +2 -0
- package/dist/workers/repository/reconfigure/utils.js +16 -0
- package/dist/workers/repository/reconfigure/utils.js.map +1 -1
- package/dist/workers/repository/reconfigure/validate.js +6 -17
- package/dist/workers/repository/reconfigure/validate.js.map +1 -1
- package/dist/workers/repository/update/branch/auto-replace.js +25 -5
- package/dist/workers/repository/update/branch/auto-replace.js.map +1 -1
- package/dist/workers/repository/update/branch/commit.js +2 -0
- package/dist/workers/repository/update/branch/commit.js.map +1 -1
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +17 -8
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js.map +1 -1
- package/dist/workers/repository/update/pr/body/config-description.js +26 -1
- package/dist/workers/repository/update/pr/body/config-description.js.map +1 -1
- package/dist/workers/repository/update/pr/body/index.js +21 -14
- package/dist/workers/repository/update/pr/body/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/api.js +8 -6
- package/dist/workers/repository/update/pr/changelog/api.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.d.ts +3 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js +39 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js.map +1 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.d.ts +8 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +31 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js.map +1 -0
- package/dist/workers/repository/update/pr/changelog/github/index.js +6 -3
- package/dist/workers/repository/update/pr/changelog/github/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/release-notes.js +12 -8
- package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/source.d.ts +1 -1
- package/dist/workers/repository/update/pr/changelog/source.js +1 -0
- package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/types.d.ts +1 -1
- package/dist/workers/repository/update/pr/changelog/types.js.map +1 -1
- package/dist/workers/repository/update/pr/index.js +2 -4
- package/dist/workers/repository/update/pr/index.js.map +1 -1
- package/dist/workers/repository/updates/flatten.js +8 -4
- package/dist/workers/repository/updates/flatten.js.map +1 -1
- package/dist/workers/repository/updates/generate.js +3 -2
- package/dist/workers/repository/updates/generate.js.map +1 -1
- package/dist/workers/types.d.ts +1 -4
- package/dist/workers/types.js.map +1 -1
- package/package.json +86 -83
- package/renovate-schema.json +25 -10
- package/dist/modules/manager/github-actions/types.d.ts +0 -30
- package/dist/modules/manager/github-actions/types.js +0 -3
- package/dist/modules/manager/github-actions/types.js.map +0 -1
- package/dist/modules/manager/gitlabci/common.d.ts +0 -6
- package/dist/modules/manager/gitlabci/common.js +0 -30
- package/dist/modules/manager/gitlabci/common.js.map +0 -1
- package/dist/modules/manager/gitlabci/types.d.ts +0 -35
- package/dist/modules/manager/gitlabci/types.js +0 -3
- package/dist/modules/manager/gitlabci/types.js.map +0 -1
package/dist/util/git/index.js
CHANGED
@@ -119,7 +119,7 @@ async function getDefaultBranch(git) {
|
|
119
119
|
// see https://stackoverflow.com/a/62352647/3005034
|
120
120
|
try {
|
121
121
|
let res = await git.raw(['rev-parse', '--abbrev-ref', 'origin/HEAD']);
|
122
|
-
|
122
|
+
/* v8 ignore start -- TODO: add test */
|
123
123
|
if (!res) {
|
124
124
|
logger_1.logger.debug('Could not determine default branch using git rev-parse');
|
125
125
|
const headPrefix = 'HEAD branch: ';
|
@@ -129,9 +129,11 @@ async function getDefaultBranch(git) {
|
|
129
129
|
.find((line) => line.startsWith(headPrefix))
|
130
130
|
.replace(headPrefix, '');
|
131
131
|
}
|
132
|
+
/* v8 ignore stop */
|
132
133
|
return res.replace('origin/', '').trim();
|
134
|
+
/* v8 ignore start -- TODO: add test */
|
133
135
|
}
|
134
|
-
catch (err)
|
136
|
+
catch (err) {
|
135
137
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
136
138
|
if (errChecked) {
|
137
139
|
throw errChecked;
|
@@ -139,13 +141,13 @@ async function getDefaultBranch(git) {
|
|
139
141
|
if (err.message.startsWith('fatal: ref refs/remotes/origin/HEAD is not a symbolic ref')) {
|
140
142
|
throw new Error(error_messages_1.REPOSITORY_EMPTY);
|
141
143
|
}
|
142
|
-
// istanbul ignore if
|
143
144
|
if (err.message.includes("fatal: ambiguous argument 'origin/HEAD'")) {
|
144
145
|
logger_1.logger.warn({ err }, 'Error getting default branch');
|
145
146
|
throw new Error(error_messages_1.TEMPORARY_ERROR);
|
146
147
|
}
|
147
148
|
throw err;
|
148
149
|
}
|
150
|
+
/* v8 ignore stop */
|
149
151
|
}
|
150
152
|
let config = {};
|
151
153
|
// TODO: can be undefined
|
@@ -159,18 +161,19 @@ async function validateGitVersion() {
|
|
159
161
|
const globalGit = (0, simple_git_1.simpleGit)();
|
160
162
|
try {
|
161
163
|
const { major, minor, patch, installed } = await globalGit.version();
|
162
|
-
|
164
|
+
/* v8 ignore next 4 -- TODO: add test */
|
163
165
|
if (!installed) {
|
164
166
|
logger_1.logger.error('Git not installed');
|
165
167
|
return false;
|
166
168
|
}
|
167
169
|
version = `${major}.${minor}.${patch}`;
|
170
|
+
/* v8 ignore next 4 */
|
168
171
|
}
|
169
|
-
catch (err)
|
172
|
+
catch (err) {
|
170
173
|
logger_1.logger.error({ err }, 'Error fetching git version');
|
171
174
|
return false;
|
172
175
|
}
|
173
|
-
|
176
|
+
/* v8 ignore next 7 -- TODO: add test */
|
174
177
|
if (!(version && semver_1.default.gte(version, exports.GIT_MINIMUM_VERSION))) {
|
175
178
|
logger_1.logger.error({ detectedVersion: version, minimumVersion: exports.GIT_MINIMUM_VERSION }, 'Git version needs upgrading');
|
176
179
|
return false;
|
@@ -198,8 +201,9 @@ async function fetchBranchCommits() {
|
|
198
201
|
sha;
|
199
202
|
});
|
200
203
|
logger_1.logger.trace({ branchCommits: config.branchCommits }, 'branch commits');
|
204
|
+
/* v8 ignore next 11 -- TODO: add test */
|
201
205
|
}
|
202
|
-
catch (err)
|
206
|
+
catch (err) {
|
203
207
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
204
208
|
if (errChecked) {
|
205
209
|
throw errChecked;
|
@@ -235,7 +239,7 @@ async function resetToBranch(branchName) {
|
|
235
239
|
await git.raw(['reset', '--hard', 'origin/' + branchName]);
|
236
240
|
await git.raw(['clean', '-fd']);
|
237
241
|
}
|
238
|
-
|
242
|
+
/* v8 ignore next 4 -- TODO: add test */
|
239
243
|
async function resetToCommit(commit) {
|
240
244
|
logger_1.logger.debug(`resetToCommit(${commit})`);
|
241
245
|
await git.raw(['reset', '--hard', commit]);
|
@@ -247,8 +251,7 @@ async function cleanLocalBranches() {
|
|
247
251
|
const existingBranches = (await git.raw(['branch']))
|
248
252
|
.split(regex_1.newlineRegex)
|
249
253
|
.map((branch) => branch.trim())
|
250
|
-
.filter((branch) => branch.length)
|
251
|
-
.filter((branch) => !branch.startsWith('* '));
|
254
|
+
.filter((branch) => branch.length > 0 && !branch.startsWith('* '));
|
252
255
|
logger_1.logger.debug({ existingBranches });
|
253
256
|
for (const branchName of existingBranches) {
|
254
257
|
await deleteLocalBranch(branchName);
|
@@ -268,7 +271,7 @@ function setGitAuthor(gitAuthor) {
|
|
268
271
|
}
|
269
272
|
async function writeGitAuthor() {
|
270
273
|
const { gitAuthorName, gitAuthorEmail, writeGitDone } = config;
|
271
|
-
|
274
|
+
/* v8 ignore next 3 -- TODO: add test */
|
272
275
|
if (writeGitDone) {
|
273
276
|
return;
|
274
277
|
}
|
@@ -282,8 +285,9 @@ async function writeGitAuthor() {
|
|
282
285
|
logger_1.logger.debug(`Setting git author email: ${gitAuthorEmail}`);
|
283
286
|
await git.addConfig('user.email', gitAuthorEmail);
|
284
287
|
}
|
288
|
+
/* v8 ignore next 11 -- TODO: add test */
|
285
289
|
}
|
286
|
-
catch (err)
|
290
|
+
catch (err) {
|
287
291
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
288
292
|
if (errChecked) {
|
289
293
|
throw errChecked;
|
@@ -308,8 +312,9 @@ async function getSubmodules() {
|
|
308
312
|
.trim()
|
309
313
|
.split((0, regex_1.regEx)(/[\n\s]/))
|
310
314
|
.filter((_e, i) => i % 2);
|
315
|
+
/* v8 ignore next 4 -- TODO: add test */
|
311
316
|
}
|
312
|
-
catch (err)
|
317
|
+
catch (err) {
|
313
318
|
logger_1.logger.warn({ err }, 'Error getting submodules');
|
314
319
|
return [];
|
315
320
|
}
|
@@ -340,13 +345,13 @@ function isCloned() {
|
|
340
345
|
}
|
341
346
|
async function syncGit() {
|
342
347
|
if (gitInitialized) {
|
343
|
-
|
348
|
+
/* v8 ignore next 3 -- TODO: add test */
|
344
349
|
if (process.env.RENOVATE_X_CLEAR_HOOKS) {
|
345
350
|
await git.raw(['config', 'core.hooksPath', '/dev/null']);
|
346
351
|
}
|
347
352
|
return;
|
348
353
|
}
|
349
|
-
|
354
|
+
/* v8 ignore next 3 -- failsafe TODO: add test */
|
350
355
|
if (global_1.GlobalConfig.get('platform') === 'local') {
|
351
356
|
throw new Error('Cannot sync git when platform=local');
|
352
357
|
}
|
@@ -358,20 +363,18 @@ async function syncGit() {
|
|
358
363
|
if (await fs_extra_1.default.pathExists(gitHead)) {
|
359
364
|
try {
|
360
365
|
await git.raw(['remote', 'set-url', 'origin', config.url]);
|
361
|
-
await resetToBranch(await getDefaultBranch(git));
|
362
366
|
const fetchStart = Date.now();
|
363
|
-
await gitRetry(() => git.
|
364
|
-
await gitRetry(() => git.fetch());
|
367
|
+
await gitRetry(() => git.fetch(['--prune', 'origin']));
|
365
368
|
config.currentBranch =
|
366
369
|
config.currentBranch || (await getDefaultBranch(git));
|
367
370
|
await resetToBranch(config.currentBranch);
|
368
371
|
await cleanLocalBranches();
|
369
|
-
await gitRetry(() => git.raw(['remote', 'prune', 'origin']));
|
370
372
|
const durationMs = Math.round(Date.now() - fetchStart);
|
371
373
|
logger_1.logger.info({ durationMs }, 'git fetch completed');
|
372
374
|
clone = false;
|
375
|
+
/* v8 ignore next 6 -- TODO: add test */
|
373
376
|
}
|
374
|
-
catch (err)
|
377
|
+
catch (err) {
|
375
378
|
if (err.message === error_messages_1.REPOSITORY_EMPTY) {
|
376
379
|
throw err;
|
377
380
|
}
|
@@ -402,8 +405,9 @@ async function syncGit() {
|
|
402
405
|
await git.clone(config.url, '.', opts);
|
403
406
|
};
|
404
407
|
await gitRetry(() => emptyDirAndClone());
|
408
|
+
/* v8 ignore next 10 -- TODO: add test */
|
405
409
|
}
|
406
|
-
catch (err)
|
410
|
+
catch (err) {
|
407
411
|
logger_1.logger.debug({ err }, 'git clone error');
|
408
412
|
if (err.message?.includes('No space left on device')) {
|
409
413
|
throw new Error(error_messages_1.SYSTEM_INSUFFICIENT_DISK_SPACE);
|
@@ -418,8 +422,9 @@ async function syncGit() {
|
|
418
422
|
}
|
419
423
|
try {
|
420
424
|
config.currentBranchSha = (await git.raw(['rev-parse', 'HEAD'])).trim();
|
425
|
+
/* v8 ignore next 6 -- TODO: add test */
|
421
426
|
}
|
422
|
-
catch (err)
|
427
|
+
catch (err) {
|
423
428
|
if (err.message?.includes('fatal: not a git repository')) {
|
424
429
|
throw new Error(error_messages_1.REPOSITORY_CHANGED);
|
425
430
|
}
|
@@ -430,8 +435,9 @@ async function syncGit() {
|
|
430
435
|
try {
|
431
436
|
const latestCommit = (await git.log({ n: 1 })).latest;
|
432
437
|
logger_1.logger.debug({ latestCommit }, 'latest repository commit');
|
438
|
+
/* v8 ignore next 10 -- TODO: add test */
|
433
439
|
}
|
434
|
-
catch (err)
|
440
|
+
catch (err) {
|
435
441
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
436
442
|
if (errChecked) {
|
437
443
|
throw errChecked;
|
@@ -445,9 +451,9 @@ async function syncGit() {
|
|
445
451
|
config.currentBranch ??
|
446
452
|
config.defaultBranch ??
|
447
453
|
(await getDefaultBranch(git));
|
454
|
+
/* v8 ignore next -- TODO: add test */
|
448
455
|
delete (0, repository_1.getCache)()?.semanticCommits;
|
449
456
|
}
|
450
|
-
// istanbul ignore next
|
451
457
|
async function getRepoStatus(path) {
|
452
458
|
if (is_1.default.string(path)) {
|
453
459
|
const localDir = global_1.GlobalConfig.get('localDir');
|
@@ -478,8 +484,9 @@ async function getCommitMessages() {
|
|
478
484
|
format: { message: '%s' },
|
479
485
|
});
|
480
486
|
return res.all.map((commit) => commit.message);
|
487
|
+
/* v8 ignore next 3 -- TODO: add test */
|
481
488
|
}
|
482
|
-
catch
|
489
|
+
catch {
|
483
490
|
return [];
|
484
491
|
}
|
485
492
|
}
|
@@ -498,8 +505,9 @@ async function checkoutBranch(branchName) {
|
|
498
505
|
}
|
499
506
|
await git.reset(simple_git_1.ResetMode.HARD);
|
500
507
|
return config.currentBranchSha;
|
508
|
+
/* v8 ignore next 11 -- TODO: add test */
|
501
509
|
}
|
502
|
-
catch (err)
|
510
|
+
catch (err) {
|
503
511
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
504
512
|
if (errChecked) {
|
505
513
|
throw errChecked;
|
@@ -517,15 +525,16 @@ async function getFileList() {
|
|
517
525
|
let files;
|
518
526
|
try {
|
519
527
|
files = await git.raw(['ls-tree', '-r', branch]);
|
528
|
+
/* v8 ignore next 10 -- TODO: add test */
|
520
529
|
}
|
521
|
-
catch (err)
|
530
|
+
catch (err) {
|
522
531
|
if (err.message?.includes('fatal: Not a valid object name')) {
|
523
532
|
logger_1.logger.debug({ err }, 'Branch not found when checking branch list - aborting');
|
524
533
|
throw new Error(error_messages_1.REPOSITORY_CHANGED);
|
525
534
|
}
|
526
535
|
throw err;
|
527
536
|
}
|
528
|
-
|
537
|
+
/* v8 ignore next 3 -- TODO: add test */
|
529
538
|
if (!files) {
|
530
539
|
return [];
|
531
540
|
}
|
@@ -537,7 +546,7 @@ async function getFileList() {
|
|
537
546
|
.map((line) => line.split((0, regex_1.regEx)(/\t/)).pop());
|
538
547
|
}
|
539
548
|
function getBranchList() {
|
540
|
-
return Object.keys(config.branchCommits ??
|
549
|
+
return Object.keys(config.branchCommits ?? {});
|
541
550
|
}
|
542
551
|
async function isBranchBehindBase(branchName, baseBranch) {
|
543
552
|
const baseBranchSha = getBranchCommit(baseBranch);
|
@@ -555,8 +564,9 @@ async function isBranchBehindBase(branchName, baseBranch) {
|
|
555
564
|
logger_1.logger.debug({ baseBranch, branchName }, `branch.isBehindBase(): ${isBehind}`);
|
556
565
|
(0, behind_base_branch_cache_1.setCachedBehindBaseResult)(branchName, isBehind);
|
557
566
|
return isBehind;
|
567
|
+
/* v8 ignore next 7 -- TODO: add test */
|
558
568
|
}
|
559
|
-
catch (err)
|
569
|
+
catch (err) {
|
560
570
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
561
571
|
if (errChecked) {
|
562
572
|
throw errChecked;
|
@@ -590,8 +600,9 @@ async function isBranchModified(branchName, baseBranch) {
|
|
590
600
|
for (const commit of commits.all) {
|
591
601
|
committedAuthors.add(commit.author_email);
|
592
602
|
}
|
603
|
+
/* v8 ignore next 10 -- TODO: add test */
|
593
604
|
}
|
594
|
-
catch (err)
|
605
|
+
catch (err) {
|
595
606
|
if (err.message?.includes('fatal: bad revision')) {
|
596
607
|
logger_1.logger.debug({ err }, 'Remote branch not found when checking last commit author - aborting run');
|
597
608
|
throw new Error(error_messages_1.REPOSITORY_CHANGED);
|
@@ -662,7 +673,7 @@ async function isBranchConflicted(baseBranch, branch) {
|
|
662
673
|
}
|
663
674
|
catch (err) {
|
664
675
|
result = true;
|
665
|
-
|
676
|
+
/* v8 ignore next 6 -- TODO: add test */
|
666
677
|
if (!err?.git?.conflicts?.length) {
|
667
678
|
logger_1.logger.debug({ baseBranch, branch, err }, 'isBranchConflicted: unknown error');
|
668
679
|
}
|
@@ -673,8 +684,9 @@ async function isBranchConflicted(baseBranch, branch) {
|
|
673
684
|
if (origBranch !== baseBranch) {
|
674
685
|
await git.checkout(origBranch);
|
675
686
|
}
|
687
|
+
/* v8 ignore next 6 -- TODO: add test */
|
676
688
|
}
|
677
|
-
catch (err)
|
689
|
+
catch (err) {
|
678
690
|
logger_1.logger.debug({ baseBranch, branch, err }, 'isBranchConflicted: cleanup error');
|
679
691
|
}
|
680
692
|
}
|
@@ -692,21 +704,22 @@ async function deleteBranch(branchName) {
|
|
692
704
|
await gitRetry(() => git.raw(deleteCommand));
|
693
705
|
logger_1.logger.debug(`Deleted remote branch: ${branchName}`);
|
694
706
|
}
|
695
|
-
catch (err)
|
707
|
+
catch (err) {
|
696
708
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
709
|
+
/* v8 ignore next 3 -- TODO: add test */
|
697
710
|
if (errChecked) {
|
698
711
|
throw errChecked;
|
699
712
|
}
|
700
713
|
logger_1.logger.debug(`No remote branch to delete with name: ${branchName}`);
|
701
714
|
}
|
702
715
|
try {
|
716
|
+
/* v8 ignore next 2 -- TODO: add test (always throws) */
|
703
717
|
await deleteLocalBranch(branchName);
|
704
|
-
// istanbul ignore next
|
705
718
|
logger_1.logger.debug(`Deleted local branch: ${branchName}`);
|
706
719
|
}
|
707
720
|
catch (err) {
|
708
721
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
709
|
-
|
722
|
+
/* v8 ignore next 3 -- TODO: add test */
|
710
723
|
if (errChecked) {
|
711
724
|
throw errChecked;
|
712
725
|
}
|
@@ -777,7 +790,7 @@ async function getBranchLastCommitTime(branchName) {
|
|
777
790
|
}
|
778
791
|
catch (err) {
|
779
792
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
780
|
-
|
793
|
+
/* v8 ignore next 3 -- TODO: add test */
|
781
794
|
if (errChecked) {
|
782
795
|
throw errChecked;
|
783
796
|
}
|
@@ -789,8 +802,9 @@ async function getBranchFiles(branchName) {
|
|
789
802
|
try {
|
790
803
|
const diff = await gitRetry(() => git.diffSummary([`origin/${branchName}`, `origin/${branchName}^`]));
|
791
804
|
return diff.files.map((file) => file.file);
|
805
|
+
/* v8 ignore next 8 -- TODO: add test */
|
792
806
|
}
|
793
|
-
catch (err)
|
807
|
+
catch (err) {
|
794
808
|
logger_1.logger.warn({ err }, 'getBranchFiles error');
|
795
809
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
796
810
|
if (errChecked) {
|
@@ -809,7 +823,7 @@ async function getFile(filePath, branchName) {
|
|
809
823
|
}
|
810
824
|
catch (err) {
|
811
825
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
812
|
-
|
826
|
+
/* v8 ignore next 3 -- TODO: add test */
|
813
827
|
if (errChecked) {
|
814
828
|
throw errChecked;
|
815
829
|
}
|
@@ -871,8 +885,9 @@ async function prepareCommit({ branchName, files, message, force = false, }) {
|
|
871
885
|
try {
|
872
886
|
await git.rm([fileName]);
|
873
887
|
deletedFiles.push(fileName);
|
888
|
+
/* v8 ignore next 8 -- TODO: add test */
|
874
889
|
}
|
875
|
-
catch (err)
|
890
|
+
catch (err) {
|
876
891
|
const errChecked = (0, error_1.checkForPlatformFailure)(err);
|
877
892
|
if (errChecked) {
|
878
893
|
throw errChecked;
|
@@ -891,9 +906,9 @@ async function prepareCommit({ branchName, files, message, force = false, }) {
|
|
891
906
|
}
|
892
907
|
else {
|
893
908
|
let contents;
|
894
|
-
// istanbul ignore else
|
895
909
|
if (typeof file.contents === 'string') {
|
896
910
|
contents = Buffer.from(file.contents);
|
911
|
+
/* v8 ignore next 3 -- TODO: add test */
|
897
912
|
}
|
898
913
|
else {
|
899
914
|
contents = file.contents;
|
@@ -910,15 +925,16 @@ async function prepareCommit({ branchName, files, message, force = false, }) {
|
|
910
925
|
}
|
911
926
|
}
|
912
927
|
try {
|
913
|
-
|
928
|
+
/* v8 ignore next 2 -- TODO: add test */
|
914
929
|
const addParams = fileName === app_strings_1.configFileNames[0] ? ['-f', fileName] : fileName;
|
915
930
|
await git.add(addParams);
|
916
931
|
if (file.isExecutable) {
|
917
932
|
await git.raw(['update-index', '--chmod=+x', fileName]);
|
918
933
|
}
|
919
934
|
addedModifiedFiles.push(fileName);
|
935
|
+
/* v8 ignore next 11 -- TODO: add test */
|
920
936
|
}
|
921
|
-
catch (err)
|
937
|
+
catch (err) {
|
922
938
|
if (!err.message.includes('The following paths are ignored by one of your .gitignore files')) {
|
923
939
|
throw err;
|
924
940
|
}
|
@@ -956,8 +972,9 @@ async function prepareCommit({ branchName, files, message, force = false, }) {
|
|
956
972
|
}),
|
957
973
|
};
|
958
974
|
return result;
|
975
|
+
/* v8 ignore next 3 -- TODO: add test */
|
959
976
|
}
|
960
|
-
catch (err)
|
977
|
+
catch (err) {
|
961
978
|
return (0, error_1.handleCommitError)(err, branchName, files);
|
962
979
|
}
|
963
980
|
}
|
@@ -978,8 +995,9 @@ async function pushCommit({ sourceRef, targetRef, files, }) {
|
|
978
995
|
logger_1.logger.debug({ result: pushRes }, 'git push');
|
979
996
|
(0, limits_1.incLimitedValue)('Commits');
|
980
997
|
result = true;
|
998
|
+
/* v8 ignore next 3 -- TODO: add test */
|
981
999
|
}
|
982
|
-
catch (err)
|
1000
|
+
catch (err) {
|
983
1001
|
(0, error_1.handleCommitError)(err, sourceRef, files);
|
984
1002
|
}
|
985
1003
|
return result;
|
@@ -994,8 +1012,9 @@ async function fetchBranch(branchName) {
|
|
994
1012
|
config.branchCommits[branchName] = commit;
|
995
1013
|
config.branchIsModified[branchName] = false;
|
996
1014
|
return commit;
|
1015
|
+
/* v8 ignore next 3 -- TODO: add test */
|
997
1016
|
}
|
998
|
-
catch (err)
|
1017
|
+
catch (err) {
|
999
1018
|
return (0, error_1.handleCommitError)(err, branchName);
|
1000
1019
|
}
|
1001
1020
|
}
|
@@ -1016,8 +1035,9 @@ async function commitFiles(commitConfig) {
|
|
1016
1035
|
}
|
1017
1036
|
}
|
1018
1037
|
return null;
|
1038
|
+
/* v8 ignore next 6 -- TODO: add test */
|
1019
1039
|
}
|
1020
|
-
catch (err)
|
1040
|
+
catch (err) {
|
1021
1041
|
if (err.message.includes('[rejected] (stale info)')) {
|
1022
1042
|
throw new Error(error_messages_1.REPOSITORY_CHANGED);
|
1023
1043
|
}
|
@@ -1091,8 +1111,9 @@ async function clearRenovateRefs() {
|
|
1091
1111
|
.map((line) => line.replace((0, regex_1.regEx)(/[0-9a-f]+\s+/i), '').trim())
|
1092
1112
|
.filter((line) => line.startsWith('refs/renovate/branches/'));
|
1093
1113
|
renovateRefs.push(...refs);
|
1114
|
+
/* v8 ignore next 3 -- TODO: add test */
|
1094
1115
|
}
|
1095
|
-
catch (err)
|
1116
|
+
catch (err) {
|
1096
1117
|
logger_1.logger.warn({ err }, `Renovate refs cleanup error`);
|
1097
1118
|
}
|
1098
1119
|
if (renovateRefs.length) {
|
@@ -1101,18 +1122,19 @@ async function clearRenovateRefs() {
|
|
1101
1122
|
await git.push(pushOpts);
|
1102
1123
|
}
|
1103
1124
|
catch (err) {
|
1104
|
-
/* istanbul ignore else */
|
1105
1125
|
if ((0, error_1.bulkChangesDisallowed)(err)) {
|
1106
1126
|
for (const ref of renovateRefs) {
|
1107
1127
|
try {
|
1108
1128
|
const pushOpts = ['--delete', 'origin', ref];
|
1109
1129
|
await git.push(pushOpts);
|
1130
|
+
/* v8 ignore next 4 -- TODO: add test */
|
1110
1131
|
}
|
1111
|
-
catch (err)
|
1132
|
+
catch (err) {
|
1112
1133
|
logger_1.logger.debug({ err }, 'Error deleting "refs/renovate/branches/*"');
|
1113
1134
|
break;
|
1114
1135
|
}
|
1115
1136
|
}
|
1137
|
+
/* v8 ignore next 3 -- TODO: add test */
|
1116
1138
|
}
|
1117
1139
|
else {
|
1118
1140
|
logger_1.logger.warn({ err }, 'Error deleting "refs/renovate/branches/*"');
|
@@ -1147,8 +1169,9 @@ const treeShaRegex = (0, regex_1.regEx)(/tree\s+(?<treeSha>[0-9a-f]{40})\s*/);
|
|
1147
1169
|
*/
|
1148
1170
|
async function listCommitTree(commitSha) {
|
1149
1171
|
const commitOutput = await git.catFile(['-p', commitSha]);
|
1150
|
-
const { treeSha } =
|
1151
|
-
|
1172
|
+
const { treeSha } =
|
1173
|
+
/* v8 ignore next -- will never happen ? */
|
1174
|
+
treeShaRegex.exec(commitOutput)?.groups ?? {};
|
1152
1175
|
const contents = await git.catFile(['-p', treeSha]);
|
1153
1176
|
const lines = contents.split(regex_1.newlineRegex);
|
1154
1177
|
const result = [];
|