From 9f0a2f0456afe48e1681e96819372ee76edd6156 Mon Sep 17 00:00:00 2001 From: UnstoppableMango Date: Fri, 28 Nov 2025 16:05:16 -0600 Subject: [PATCH 1/2] Remove the make integration --- Makefile | 7 +- go.mod | 1 - go.sum | 2 - pkg/make/make.go | 9 - pkg/make/mk_funcs.go | 11 - pkg/make/mk_funcs/gpl.c | 1 - pkg/make/mk_funcs/main.go | 17 - pkg/renovate/zz_generated.schema.go | 627 +++++++++++++++++++++++++++- 8 files changed, 613 insertions(+), 62 deletions(-) delete mode 100644 pkg/make/make.go delete mode 100644 pkg/make/mk_funcs.go delete mode 100644 pkg/make/mk_funcs/gpl.c delete mode 100644 pkg/make/mk_funcs/main.go diff --git a/Makefile b/Makefile index 5b2b0ca..34b7bed 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,7 @@ else TEST_FLAGS := --github-output --race --trace --coverprofile=cover.profile endif --load bin/mk_funcs.so - -build: bin/devctl bin/mk_funcs.so +build: bin/devctl tidy: go.sum format: .make/dprint-format @@ -34,9 +32,6 @@ test_all: bin/devctl: $(shell $(DEVCTL) list --go --exclude-tests) go build -o $@ ./ -bin/mk_funcs.so: - go build -o $@ -buildmode=c-shared ./pkg/make/mk_funcs - bin/go-jsonschema: .versions/go-jsonschema go install github.com/atombender/go-jsonschema@$(shell $(DEVCTL) $<) diff --git a/go.mod b/go.mod index 5090e10..99007b4 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,6 @@ require ( github.com/spf13/viper v1.21.0 github.com/unmango/aferox v0.3.3 github.com/unmango/aferox/github v0.0.3 - github.com/unmango/gnumake-go v0.0.0-20250617040417-e93f5333a4d6 github.com/unmango/go v0.10.0 ) diff --git a/go.sum b/go.sum index e7031f8..1ce224e 100644 --- a/go.sum +++ b/go.sum @@ -115,8 +115,6 @@ github.com/unmango/aferox v0.3.3 h1:gKCJ2XybO+3ffmizYOi2hSKnDVdAIdW+AuGs8mBTChg= github.com/unmango/aferox v0.3.3/go.mod h1:Td9BGmIdfyN8+sOiK3+aR2bGufOlyG5MNG6rAJwssHM= github.com/unmango/aferox/github v0.0.3 h1:MMuaRyXvCzXUrYFbp+yPxBtX2kFUZXM19i+weF82gTw= github.com/unmango/aferox/github v0.0.3/go.mod h1:ewQFKAL3UnIIh4A+h6oJjzvOoZovGDasglXwZElYfh0= -github.com/unmango/gnumake-go v0.0.0-20250617040417-e93f5333a4d6 h1:2v3Q15eRHEbJCYR3LDc0iY/No2e1U68ZS7KR4aqcr5E= -github.com/unmango/gnumake-go v0.0.0-20250617040417-e93f5333a4d6/go.mod h1:puO3xGoDKfGk7ZoAviaJxner9ZiY5uFHrle3XynEls8= github.com/unmango/go v0.10.0 h1:Zpyka89pjM1czK6oZco898sk+LUkfPimCr/a1Q5go9E= github.com/unmango/go v0.10.0/go.mod h1:GXvNW5alsANeFMv0NqSt+FWGmMVMnjNQAhMWPLzrgos= github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no= diff --git a/pkg/make/make.go b/pkg/make/make.go deleted file mode 100644 index 2751abd..0000000 --- a/pkg/make/make.go +++ /dev/null @@ -1,9 +0,0 @@ -package make - -type SetupResult = int - -const ( - SetupNoRebuild SetupResult = iota - 1 - SetupFailure - SetupSuccess -) diff --git a/pkg/make/mk_funcs.go b/pkg/make/mk_funcs.go deleted file mode 100644 index fa0fcc3..0000000 --- a/pkg/make/mk_funcs.go +++ /dev/null @@ -1,11 +0,0 @@ -package make - -import "github.com/unmango/gnumake-go" - -func Test(nm string, argc uint32, argv [][]byte) *byte { - return nil -} - -func RegisterFuncs() { - gnumake.AddFunction("test", Test, 0, 0, 0) -} diff --git a/pkg/make/mk_funcs/gpl.c b/pkg/make/mk_funcs/gpl.c deleted file mode 100644 index b597f60..0000000 --- a/pkg/make/mk_funcs/gpl.c +++ /dev/null @@ -1 +0,0 @@ -int plugin_is_GPL_compatible; diff --git a/pkg/make/mk_funcs/main.go b/pkg/make/mk_funcs/main.go deleted file mode 100644 index 5548efb..0000000 --- a/pkg/make/mk_funcs/main.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -import ( - "C" - - "github.com/unmango/devctl/pkg/make" -) - -// https://www.gnu.org/software/make/manual/html_node/load-Directive.html - -//export mk_funcs_gmk_setup -func mk_funcs_gmk_setup() int { - make.RegisterFuncs() - return make.SetupSuccess -} - -func main() {} diff --git a/pkg/renovate/zz_generated.schema.go b/pkg/renovate/zz_generated.schema.go index 0928905..39c53f4 100644 --- a/pkg/renovate/zz_generated.schema.go +++ b/pkg/renovate/zz_generated.schema.go @@ -3,6 +3,9 @@ package renovate type Config struct { + // Flags packages that have not been updated within this period as abandoned. + AbandonmentThreshold *string `json:"abandonmentThreshold,omitempty" yaml:"abandonmentThreshold,omitempty" mapstructure:"abandonmentThreshold,omitempty"` + // Labels to add to Pull Request. AddLabels []string `json:"addLabels,omitempty" yaml:"addLabels,omitempty" mapstructure:"addLabels,omitempty"` @@ -13,26 +16,59 @@ type Config struct { // adds to the existing reviewer list, rather than replacing it). AdditionalReviewers []string `json:"additionalReviewers,omitempty" yaml:"additionalReviewers,omitempty" mapstructure:"additionalReviewers,omitempty"` - // Set this to `false` to disable template compilation for post-upgrade commands. - AllowCommandTemplating bool `json:"allowCommandTemplating,omitempty" yaml:"allowCommandTemplating,omitempty" mapstructure:"allowCommandTemplating,omitempty"` - + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set this to `true` to allow custom crate registries. AllowCustomCrateRegistries bool `json:"allowCustomCrateRegistries,omitempty" yaml:"allowCustomCrateRegistries,omitempty" mapstructure:"allowCustomCrateRegistries,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set this to `true` if repositories are allowed to run install plugins. AllowPlugins bool `json:"allowPlugins,omitempty" yaml:"allowPlugins,omitempty" mapstructure:"allowPlugins,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set this to `true` if repositories are allowed to run install scripts. AllowScripts bool `json:"allowScripts,omitempty" yaml:"allowScripts,omitempty" mapstructure:"allowScripts,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // A list of regular expressions that decide which commands are allowed in // post-upgrade tasks. AllowedCommands []string `json:"allowedCommands,omitempty" yaml:"allowedCommands,omitempty" mapstructure:"allowedCommands,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // List of allowed patterns for environment variable names in repository env // config. AllowedEnv []string `json:"allowedEnv,omitempty" yaml:"allowedEnv,omitempty" mapstructure:"allowedEnv,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // List of allowed patterns for header names in repository hostRules config. AllowedHeaders []string `json:"allowedHeaders,omitempty" yaml:"allowedHeaders,omitempty" mapstructure:"allowedHeaders,omitempty"` @@ -56,24 +92,66 @@ type Config struct { // first match. AutoReplaceGlobalMatch bool `json:"autoReplaceGlobalMatch,omitempty" yaml:"autoReplaceGlobalMatch,omitempty" mapstructure:"autoReplaceGlobalMatch,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Autodiscover all repositories. Autodiscover bool `json:"autodiscover,omitempty" yaml:"autodiscover,omitempty" mapstructure:"autodiscover,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Filter the list of autodiscovered repositories. AutodiscoverFilter []interface{} `json:"autodiscoverFilter,omitempty" yaml:"autodiscoverFilter,omitempty" mapstructure:"autodiscoverFilter,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Filter the list of autodiscovered repositories by namespaces. AutodiscoverNamespaces []string `json:"autodiscoverNamespaces,omitempty" yaml:"autodiscoverNamespaces,omitempty" mapstructure:"autodiscoverNamespaces,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Filter the list of autodiscovered repositories by project names. AutodiscoverProjects []string `json:"autodiscoverProjects,omitempty" yaml:"autodiscoverProjects,omitempty" mapstructure:"autodiscoverProjects,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The order method for autodiscover server side repository search. AutodiscoverRepoOrder *ConfigAutodiscoverRepoOrder `json:"autodiscoverRepoOrder,omitempty" yaml:"autodiscoverRepoOrder,omitempty" mapstructure:"autodiscoverRepoOrder,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The sort method for autodiscover server side repository search. AutodiscoverRepoSort *ConfigAutodiscoverRepoSort `json:"autodiscoverRepoSort,omitempty" yaml:"autodiscoverRepoSort,omitempty" mapstructure:"autodiscoverRepoSort,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Filter the list of autodiscovered repositories by topics. AutodiscoverTopics []string `json:"autodiscoverTopics,omitempty" yaml:"autodiscoverTopics,omitempty" mapstructure:"autodiscoverTopics,omitempty"` @@ -99,8 +177,14 @@ type Config struct { // List of one or more custom base branches defined as exact strings and/or via // regex expressions. - BaseBranches []string `json:"baseBranches,omitempty" yaml:"baseBranches,omitempty" mapstructure:"baseBranches,omitempty"` - + BaseBranchPatterns []string `json:"baseBranchPatterns,omitempty" yaml:"baseBranchPatterns,omitempty" mapstructure:"baseBranchPatterns,omitempty"` + + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The base directory for Renovate to store local files, including repository // files and cache. If left empty, Renovate will create its own temporary // directory to use. @@ -112,11 +196,23 @@ type Config struct { // Use the default reviewers (Bitbucket only). BbUseDefaultReviewers bool `json:"bbUseDefaultReviewers,omitempty" yaml:"bbUseDefaultReviewers,omitempty" mapstructure:"bbUseDefaultReviewers,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Use the repository's [development // branch](https://support.atlassian.com/bitbucket-cloud/docs/branch-a-repository/#The-branching-model) // as the repository's default branch. BbUseDevelopmentBranch bool `json:"bbUseDevelopmentBranch,omitempty" yaml:"bbUseDevelopmentBranch,omitempty" mapstructure:"bbUseDevelopmentBranch,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Controls how third-party tools like npm or Gradle are called: directly, via // Docker sidecar containers, or via dynamic install. BinarySource ConfigBinarySource `json:"binarySource,omitempty" yaml:"binarySource,omitempty" mapstructure:"binarySource,omitempty"` @@ -144,17 +240,44 @@ type Config struct { // Bump the version in the package file being updated. BumpVersion *ConfigBumpVersion `json:"bumpVersion,omitempty" yaml:"bumpVersion,omitempty" mapstructure:"bumpVersion,omitempty"` + // A list of bumpVersion config options to bump generic version numbers. + BumpVersions []interface{} `json:"bumpVersions,omitempty" yaml:"bumpVersions,omitempty" mapstructure:"bumpVersions,omitempty"` + + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The directory where Renovate stores its cache. If left empty, Renovate creates // a subdirectory within the `baseDir`. CacheDir *string `json:"cacheDir,omitempty" yaml:"cacheDir,omitempty" mapstructure:"cacheDir,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Maximum duration in minutes to keep datasource cache entries. CacheHardTtlMinutes int `json:"cacheHardTtlMinutes,omitempty" yaml:"cacheHardTtlMinutes,omitempty" mapstructure:"cacheHardTtlMinutes,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Cache private packages in the datasource cache. This is useful for self-hosted // setups CachePrivatePackages bool `json:"cachePrivatePackages,omitempty" yaml:"cachePrivatePackages,omitempty" mapstructure:"cachePrivatePackages,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // A list of branch names to mark for creation or rebasing as if it was selected // in the Dependency Dashboard issue. CheckedBranches []string `json:"checkedBranches,omitempty" yaml:"checkedBranches,omitempty" mapstructure:"checkedBranches,omitempty"` @@ -202,16 +325,44 @@ type Config struct { // If enabled, issues created by Renovate are set as confidential. Confidential bool `json:"confidential,omitempty" yaml:"confidential,omitempty" mapstructure:"confidential,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // + // List of filenames where repository config will be stored. + ConfigFileNames []string `json:"configFileNames,omitempty" yaml:"configFileNames,omitempty" mapstructure:"configFileNames,omitempty"` + // Enable this to get config migration PRs when needed. ConfigMigration bool `json:"configMigration,omitempty" yaml:"configMigration,omitempty" mapstructure:"configMigration,omitempty"` - // Set this to `false` to make Renovate create a new issue for each config - // warning, instead of reopening or reusing an existing issue. + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // + // If enabled, config validation errors will be reported as errors instead of + // warnings, and Renovate will exit with a non-zero exit code. + ConfigValidationError bool `json:"configValidationError,omitempty" yaml:"configValidationError,omitempty" mapstructure:"configValidationError,omitempty"` + + // Set this to `true` to make Renovate reuse/reopen an existing closed Config + // Warning issue, instead of opening a new one each time. ConfigWarningReuseIssue bool `json:"configWarningReuseIssue,omitempty" yaml:"configWarningReuseIssue,omitempty" mapstructure:"configWarningReuseIssue,omitempty"` + // Configuration object to define language or manager version constraints. + Constraints ConfigConstraints `json:"constraints,omitempty" yaml:"constraints,omitempty" mapstructure:"constraints,omitempty"` + // Perform release filtering based on language constraints. ConstraintsFiltering ConfigConstraintsFiltering `json:"constraintsFiltering,omitempty" yaml:"constraintsFiltering,omitempty" mapstructure:"constraintsFiltering,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The directory where Renovate stores its containerbase cache. If left empty, // Renovate creates a subdirectory within the `cacheDir`. ContainerbaseDir *string `json:"containerbaseDir,omitempty" yaml:"containerbaseDir,omitempty" mapstructure:"containerbaseDir,omitempty"` @@ -225,6 +376,22 @@ type Config struct { // List of registry URLs to use as the default for a datasource. DefaultRegistryUrls []string `json:"defaultRegistryUrls,omitempty" yaml:"defaultRegistryUrls,omitempty" mapstructure:"defaultRegistryUrls,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // + // If set to `true`, Renovate tries to delete the additional self-hosted config + // file after reading it. + DeleteAdditionalConfigFile bool `json:"deleteAdditionalConfigFile,omitempty" yaml:"deleteAdditionalConfigFile,omitempty" mapstructure:"deleteAdditionalConfigFile,omitempty"` + + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set to `true`, Renovate tries to delete the self-hosted config file after // reading it. DeleteConfigFile bool `json:"deleteConfigFile,omitempty" yaml:"deleteConfigFile,omitempty" mapstructure:"deleteConfigFile,omitempty"` @@ -240,6 +407,9 @@ type Config struct { // no more updates. DependencyDashboardAutoclose bool `json:"dependencyDashboardAutoclose,omitempty" yaml:"dependencyDashboardAutoclose,omitempty" mapstructure:"dependencyDashboardAutoclose,omitempty"` + // The category to group branches on the Dependency Dashboard issue. + DependencyDashboardCategory *string `json:"dependencyDashboardCategory,omitempty" yaml:"dependencyDashboardCategory,omitempty" mapstructure:"dependencyDashboardCategory,omitempty"` + // Any text added here will be placed last in the Dependency Dashboard issue body, // with a divider separator before it. DependencyDashboardFooter *string `json:"dependencyDashboardFooter,omitempty" yaml:"dependencyDashboardFooter,omitempty" mapstructure:"dependencyDashboardFooter,omitempty"` @@ -256,33 +426,78 @@ type Config struct { // [osv.dev](https://osv.dev). DependencyDashboardOSVVulnerabilitySummary ConfigDependencyDashboardOSVVulnerabilitySummary `json:"dependencyDashboardOSVVulnerabilitySummary,omitempty" yaml:"dependencyDashboardOSVVulnerabilitySummary,omitempty" mapstructure:"dependencyDashboardOSVVulnerabilitySummary,omitempty"` + // Controls whether abandoned packages are reported in the dependency dashboard. + DependencyDashboardReportAbandonment bool `json:"dependencyDashboardReportAbandonment,omitempty" yaml:"dependencyDashboardReportAbandonment,omitempty" mapstructure:"dependencyDashboardReportAbandonment,omitempty"` + // Title for the Dependency Dashboard issue. DependencyDashboardTitle string `json:"dependencyDashboardTitle,omitempty" yaml:"dependencyDashboardTitle,omitempty" mapstructure:"dependencyDashboardTitle,omitempty"` // Plain text description for a config or preset. Description interface{} `json:"description,omitempty" yaml:"description,omitempty" mapstructure:"description,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If `true`, Renovate tries to detect global manager configuration from the file // system. DetectGlobalManagerConfig bool `json:"detectGlobalManagerConfig,omitempty" yaml:"detectGlobalManagerConfig,omitempty" mapstructure:"detectGlobalManagerConfig,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If `true`, Renovate tries to detect host rules from environment variables. DetectHostRulesFromEnv bool `json:"detectHostRulesFromEnv,omitempty" yaml:"detectHostRulesFromEnv,omitempty" mapstructure:"detectHostRulesFromEnv,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to add a prefix to the Renovate Docker sidecar container // names and labels. DockerChildPrefix string `json:"dockerChildPrefix,omitempty" yaml:"dockerChildPrefix,omitempty" mapstructure:"dockerChildPrefix,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Pass CLI flags to `docker run` command when `binarySource=docker`. DockerCliOptions *string `json:"dockerCliOptions,omitempty" yaml:"dockerCliOptions,omitempty" mapstructure:"dockerCliOptions,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // By default, Renovate fetches up to 20 pages of Docker tags from registries. But // you can set your own limit with this config option. DockerMaxPages int `json:"dockerMaxPages,omitempty" yaml:"dockerMaxPages,omitempty" mapstructure:"dockerMaxPages,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to override the default Renovate sidecar image. DockerSidecarImage string `json:"dockerSidecarImage,omitempty" yaml:"dockerSidecarImage,omitempty" mapstructure:"dockerSidecarImage,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set the `UID` and `GID` for Docker-based binaries if you use // `binarySource=docker`. DockerUser *string `json:"dockerUser,omitempty" yaml:"dockerUser,omitempty" mapstructure:"dockerUser,omitempty"` @@ -290,19 +505,37 @@ type Config struct { // If set to `true` then Renovate creates draft PRs, instead of normal status PRs. DraftPR bool `json:"draftPR,omitempty" yaml:"draftPR,omitempty" mapstructure:"draftPR,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If enabled, perform a dry run by logging messages instead of // creating/updating/deleting branches and PRs. DryRun *ConfigDryRun `json:"dryRun,omitempty" yaml:"dryRun,omitempty" mapstructure:"dryRun,omitempty"` - // Enable or disable Renovate bot. + // Enable or disable corresponding functionality. Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty" mapstructure:"enabled,omitempty"` // A list of package managers to enable. Only managers on the list are enabled. EnabledManagers []string `json:"enabledManagers,omitempty" yaml:"enabledManagers,omitempty" mapstructure:"enabledManagers,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Warning text to use if encrypted config is found. EncryptedWarning *string `json:"encryptedWarning,omitempty" yaml:"encryptedWarning,omitempty" mapstructure:"encryptedWarning,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Custom endpoint to use. Endpoint *string `json:"endpoint,omitempty" yaml:"endpoint,omitempty" mapstructure:"endpoint,omitempty"` @@ -310,12 +543,24 @@ type Config struct { // file has been updated. ExcludeCommitPaths []string `json:"excludeCommitPaths,omitempty" yaml:"excludeCommitPaths,omitempty" mapstructure:"excludeCommitPaths,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Default execution timeout in minutes for child processes Renovate creates. ExecutionTimeout int `json:"executionTimeout,omitempty" yaml:"executionTimeout,omitempty" mapstructure:"executionTimeout,omitempty"` // Expand the configured code owner groups into a full list of group members. ExpandCodeOwnersGroups bool `json:"expandCodeOwnersGroups,omitempty" yaml:"expandCodeOwnersGroups,omitempty" mapstructure:"expandCodeOwnersGroups,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set this to `true` to allow passing of all environment variables to package // managers. ExposeAllEnv bool `json:"exposeAllEnv,omitempty" yaml:"exposeAllEnv,omitempty" mapstructure:"exposeAllEnv,omitempty"` @@ -329,18 +574,27 @@ type Config struct { // Controls if and when changelogs/release notes are fetched. FetchChangeLogs ConfigFetchChangeLogs `json:"fetchChangeLogs,omitempty" yaml:"fetchChangeLogs,omitempty" mapstructure:"fetchChangeLogs,omitempty"` - // RegEx (`re2`) pattern for matching manager files. - FileMatch interface{} `json:"fileMatch,omitempty" yaml:"fileMatch,omitempty" mapstructure:"fileMatch,omitempty"` - // Filter reviewers and assignees based on their availability. FilterUnavailableUsers bool `json:"filterUnavailableUsers,omitempty" yaml:"filterUnavailableUsers,omitempty" mapstructure:"filterUnavailableUsers,omitempty"` // If defined, packages will follow this release tag exactly. FollowTag *string `json:"followTag,omitempty" yaml:"followTag,omitempty" mapstructure:"followTag,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Decides if CLI configuration options are moved to the `force` config section. ForceCli bool `json:"forceCli,omitempty" yaml:"forceCli,omitempty" mapstructure:"forceCli,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Whether to create forks as needed at runtime when running in "fork mode". ForkCreation bool `json:"forkCreation,omitempty" yaml:"forkCreation,omitempty" mapstructure:"forkCreation,omitempty"` @@ -348,6 +602,12 @@ type Config struct { // mode. ForkModeDisallowMaintainerEdits bool `json:"forkModeDisallowMaintainerEdits,omitempty" yaml:"forkModeDisallowMaintainerEdits,omitempty" mapstructure:"forkModeDisallowMaintainerEdits,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // The preferred organization to create or find forked repositories, when in fork // mode. ForkOrg *string `json:"forkOrg,omitempty" yaml:"forkOrg,omitempty" mapstructure:"forkOrg,omitempty"` @@ -356,6 +616,12 @@ type Config struct { // skipped when in `autodiscover` mode. ForkProcessing ConfigForkProcessing `json:"forkProcessing,omitempty" yaml:"forkProcessing,omitempty" mapstructure:"forkProcessing,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set a personal access token here to enable "fork mode". ForkToken *string `json:"forkToken,omitempty" yaml:"forkToken,omitempty" mapstructure:"forkToken,omitempty"` @@ -371,22 +637,67 @@ type Config struct { // automerge. GitLabIgnoreApprovals bool `json:"gitLabIgnoreApprovals,omitempty" yaml:"gitLabIgnoreApprovals,omitempty" mapstructure:"gitLabIgnoreApprovals,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Which Git commands will be run with the `--no-verify` option. GitNoVerify interface{} `json:"gitNoVerify,omitempty" yaml:"gitNoVerify,omitempty" mapstructure:"gitNoVerify,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // PGP key to use for signing Git commits. GitPrivateKey *string `json:"gitPrivateKey,omitempty" yaml:"gitPrivateKey,omitempty" mapstructure:"gitPrivateKey,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // + // Passphrase for the `gitPrivateKey` + GitPrivateKeyPassphrase *string `json:"gitPrivateKeyPassphrase,omitempty" yaml:"gitPrivateKeyPassphrase,omitempty" mapstructure:"gitPrivateKeyPassphrase,omitempty"` + + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Configure the timeout with a number of milliseconds to wait for a Git task. GitTimeout int `json:"gitTimeout,omitempty" yaml:"gitTimeout,omitempty" mapstructure:"gitTimeout,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Overrides the default resolution for Git remote, e.g. to switch GitLab from // HTTPS to SSH-based. GitUrl ConfigGitUrl `json:"gitUrl,omitempty" yaml:"gitUrl,omitempty" mapstructure:"gitUrl,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Display warnings about GitHub token not being set. GithubTokenWarn bool `json:"githubTokenWarn,omitempty" yaml:"githubTokenWarn,omitempty" mapstructure:"githubTokenWarn,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Configuration presets to use or extend for a self-hosted config. GlobalExtends []string `json:"globalExtends,omitempty" yaml:"globalExtends,omitempty" mapstructure:"globalExtends,omitempty"` @@ -407,6 +718,12 @@ type Config struct { // Host rules/configuration including credentials. HostRules []interface{} `json:"hostRules,omitempty" yaml:"hostRules,omitempty" mapstructure:"hostRules,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Maximum duration in days to keep HTTP cache entries. HttpCacheTtlDays int `json:"httpCacheTtlDays,omitempty" yaml:"httpCacheTtlDays,omitempty" mapstructure:"httpCacheTtlDays,omitempty"` @@ -424,6 +741,12 @@ type Config struct { // when updating lock files. IgnorePlugins bool `json:"ignorePlugins,omitempty" yaml:"ignorePlugins,omitempty" mapstructure:"ignorePlugins,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set to `true` to fetch the entire list of PRs instead of only those authored by // the Renovate user. IgnorePrAuthor bool `json:"ignorePrAuthor,omitempty" yaml:"ignorePrAuthor,omitempty" mapstructure:"ignorePrAuthor,omitempty"` @@ -446,6 +769,12 @@ type Config struct { // Ignore versions with unstable SemVer. IgnoreUnstable bool `json:"ignoreUnstable,omitempty" yaml:"ignoreUnstable,omitempty" mapstructure:"ignoreUnstable,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Whether to process repositories that are mirrors. By default, repositories that // are mirrors are skipped. IncludeMirrors bool `json:"includeMirrors,omitempty" yaml:"includeMirrors,omitempty" mapstructure:"includeMirrors,omitempty"` @@ -453,16 +782,40 @@ type Config struct { // Include package files only within these defined paths. IncludePaths []string `json:"includePaths,omitempty" yaml:"includePaths,omitempty" mapstructure:"includePaths,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If `true`, Renovate will inherit configuration from the `inheritConfigFileName` // file in `inheritConfigRepoName`. InheritConfig bool `json:"inheritConfig,omitempty" yaml:"inheritConfig,omitempty" mapstructure:"inheritConfig,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Renovate will look for this config file name in the `inheritConfigRepoName`. InheritConfigFileName string `json:"inheritConfigFileName,omitempty" yaml:"inheritConfigFileName,omitempty" mapstructure:"inheritConfigFileName,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Renovate will look in this repo for the `inheritConfigFileName`. InheritConfigRepoName string `json:"inheritConfigRepoName,omitempty" yaml:"inheritConfigRepoName,omitempty" mapstructure:"inheritConfigRepoName,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If `true`, any `inheritedConfig` fetch error will result in an aborted run. InheritConfigStrict bool `json:"inheritConfigStrict,omitempty" yaml:"inheritConfigStrict,omitempty" mapstructure:"inheritConfigStrict,omitempty"` @@ -480,16 +833,34 @@ type Config struct { // Labels to set in Pull Request. Labels []string `json:"labels,omitempty" yaml:"labels,omitempty" mapstructure:"labels,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Add a global or per-repo log context to each log entry. LogContext *string `json:"logContext,omitempty" yaml:"logContext,omitempty" mapstructure:"logContext,omitempty"` // Remap log levels to different levels. LogLevelRemap []interface{} `json:"logLevelRemap,omitempty" yaml:"logLevelRemap,omitempty" mapstructure:"logLevelRemap,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set, Renovate will query the merge-confidence JSON API only for datasources // that are part of this list. MergeConfidenceDatasources []ConfigMergeConfidenceDatasourcesElem `json:"mergeConfidenceDatasources,omitempty" yaml:"mergeConfidenceDatasources,omitempty" mapstructure:"mergeConfidenceDatasources,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set, Renovate will query this API for Merge Confidence data. MergeConfidenceEndpoint string `json:"mergeConfidenceEndpoint,omitempty" yaml:"mergeConfidenceEndpoint,omitempty" mapstructure:"mergeConfidenceEndpoint,omitempty"` @@ -497,9 +868,17 @@ type Config struct { // creates the PR. Milestone *int `json:"milestone,omitempty" yaml:"milestone,omitempty" mapstructure:"milestone,omitempty"` + // The minimum number of updates which must be in a group for branches to be + // created. + MinimumGroupSize int `json:"minimumGroupSize,omitempty" yaml:"minimumGroupSize,omitempty" mapstructure:"minimumGroupSize,omitempty"` + // Time required before a new release is considered stable. MinimumReleaseAge *string `json:"minimumReleaseAge,omitempty" yaml:"minimumReleaseAge,omitempty" mapstructure:"minimumReleaseAge,omitempty"` + // When set in conjunction with `minimumReleaseAge`, controls whether the + // `releaseTimestamp` for a dependency update is required. + MinimumReleaseAgeBehaviour ConfigMinimumReleaseAgeBehaviour `json:"minimumReleaseAgeBehaviour,omitempty" yaml:"minimumReleaseAgeBehaviour,omitempty" mapstructure:"minimumReleaseAgeBehaviour,omitempty"` + // Mode of operation. Mode ConfigMode `json:"mode,omitempty" yaml:"mode,omitempty" mapstructure:"mode,omitempty"` @@ -512,27 +891,75 @@ type Config struct { // Whether to merge `config.npmrc` with repo `.npmrc` content if both are found. NpmrcMerge bool `json:"npmrcMerge,omitempty" yaml:"npmrcMerge,omitempty" mapstructure:"npmrcMerge,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Require a Configuration PR first. Onboarding *bool `json:"onboarding,omitempty" yaml:"onboarding,omitempty" mapstructure:"onboarding,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to override the default onboarding branch name. OnboardingBranch string `json:"onboardingBranch,omitempty" yaml:"onboardingBranch,omitempty" mapstructure:"onboardingBranch,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to override the default onboarding commit message. OnboardingCommitMessage *string `json:"onboardingCommitMessage,omitempty" yaml:"onboardingCommitMessage,omitempty" mapstructure:"onboardingCommitMessage,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to override the default onboarding config file name. OnboardingConfigFileName string `json:"onboardingConfigFileName,omitempty" yaml:"onboardingConfigFileName,omitempty" mapstructure:"onboardingConfigFileName,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Onboard the repository even if no dependencies are found. OnboardingNoDeps ConfigOnboardingNoDeps `json:"onboardingNoDeps,omitempty" yaml:"onboardingNoDeps,omitempty" mapstructure:"onboardingNoDeps,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Change this value to override the default onboarding PR title. OnboardingPrTitle string `json:"onboardingPrTitle,omitempty" yaml:"onboardingPrTitle,omitempty" mapstructure:"onboardingPrTitle,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set to enable rebase/retry markdown checkbox for onboarding PRs. OnboardingRebaseCheckbox bool `json:"onboardingRebaseCheckbox,omitempty" yaml:"onboardingRebaseCheckbox,omitempty" mapstructure:"onboardingRebaseCheckbox,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set to `true` to perform a check for disabled config prior to cloning. OptimizeForDisabled bool `json:"optimizeForDisabled,omitempty" yaml:"optimizeForDisabled,omitempty" mapstructure:"optimizeForDisabled,omitempty"` @@ -542,9 +969,21 @@ type Config struct { // Rules for matching packages. PackageRules []interface{} `json:"packageRules,omitempty" yaml:"packageRules,omitempty" mapstructure:"packageRules,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Password for authentication. Password *string `json:"password,omitempty" yaml:"password,omitempty" mapstructure:"password,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set to `true`: keep repository data between runs instead of deleting the // data. PersistRepoData bool `json:"persistRepoData,omitempty" yaml:"persistRepoData,omitempty" mapstructure:"persistRepoData,omitempty"` @@ -552,6 +991,12 @@ type Config struct { // Whether to add digests to Dockerfile source images. PinDigests bool `json:"pinDigests,omitempty" yaml:"pinDigests,omitempty" mapstructure:"pinDigests,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Platform type of repository. Platform ConfigPlatform `json:"platform,omitempty" yaml:"platform,omitempty" mapstructure:"platform,omitempty"` @@ -570,6 +1015,9 @@ type Config struct { // Table column definitions to use in PR tables. PrBodyDefinitions ConfigPrBodyDefinitions `json:"prBodyDefinitions,omitempty" yaml:"prBodyDefinitions,omitempty" mapstructure:"prBodyDefinitions,omitempty"` + // Table header definitions to use in PR tables. + PrBodyHeadingDefinitions ConfigPrBodyHeadingDefinitions `json:"prBodyHeadingDefinitions,omitempty" yaml:"prBodyHeadingDefinitions,omitempty" mapstructure:"prBodyHeadingDefinitions,omitempty"` + // List of extra notes or templates to include in the Pull Request body. PrBodyNotes interface{} `json:"prBodyNotes,omitempty" yaml:"prBodyNotes,omitempty" mapstructure:"prBodyNotes,omitempty"` @@ -577,6 +1025,12 @@ type Config struct { // the pull request. PrBodyTemplate string `json:"prBodyTemplate,omitempty" yaml:"prBodyTemplate,omitempty" mapstructure:"prBodyTemplate,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set the maximum number of commits per Renovate run. By default there is no // limit. PrCommitsPerRunLimit int `json:"prCommitsPerRunLimit,omitempty" yaml:"prCommitsPerRunLimit,omitempty" mapstructure:"prCommitsPerRunLimit,omitempty"` @@ -606,6 +1060,12 @@ type Config struct { // Whether to bypass appending extra context to the Pull Request title. PrTitleStrict bool `json:"prTitleStrict,omitempty" yaml:"prTitleStrict,omitempty" mapstructure:"prTitleStrict,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Cache resolved presets in package cache. PresetCachePersistence bool `json:"presetCachePersistence,omitempty" yaml:"presetCachePersistence,omitempty" mapstructure:"presetCachePersistence,omitempty"` @@ -613,15 +1073,39 @@ type Config struct { // the fully resolved presets. PrintConfig bool `json:"printConfig,omitempty" yaml:"printConfig,omitempty" mapstructure:"printConfig,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Server-side private key. PrivateKey *string `json:"privateKey,omitempty" yaml:"privateKey,omitempty" mapstructure:"privateKey,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Secondary or old private key to try. PrivateKeyOld *string `json:"privateKeyOld,omitempty" yaml:"privateKeyOld,omitempty" mapstructure:"privateKeyOld,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Path to the Server-side private key. PrivateKeyPath *string `json:"privateKeyPath,omitempty" yaml:"privateKeyPath,omitempty" mapstructure:"privateKeyPath,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Path to the Server-side old private key. PrivateKeyPathOld *string `json:"privateKeyPathOld,omitempty" yaml:"privateKeyPathOld,omitempty" mapstructure:"privateKeyPathOld,omitempty"` @@ -643,9 +1127,21 @@ type Config struct { // Recreate PRs even if same ones were closed previously. RecreateWhen ConfigRecreateWhen `json:"recreateWhen,omitempty" yaml:"recreateWhen,omitempty" mapstructure:"recreateWhen,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Key prefix for redis cache entries. RedisPrefix *string `json:"redisPrefix,omitempty" yaml:"redisPrefix,omitempty" mapstructure:"redisPrefix,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set, this Redis URL will be used for caching instead of the file system. RedisUrl *string `json:"redisUrl,omitempty" yaml:"redisUrl,omitempty" mapstructure:"redisUrl,omitempty"` @@ -655,22 +1151,58 @@ type Config struct { // Select whether to perform a direct replacement or alias replacement. ReplacementApproach ConfigReplacementApproach `json:"replacementApproach,omitempty" yaml:"replacementApproach,omitempty" mapstructure:"replacementApproach,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Path to where the file should be written. In case of `s3` this has to be a full // S3 URI. ReportPath *string `json:"reportPath,omitempty" yaml:"reportPath,omitempty" mapstructure:"reportPath,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set how, or if, reports should be generated. ReportType *ConfigReportType `json:"reportType,omitempty" yaml:"reportType,omitempty" mapstructure:"reportType,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // List of Repositories. Repositories []string `json:"repositories,omitempty" yaml:"repositories,omitempty" mapstructure:"repositories,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // This option decides if Renovate uses a JSON cache to speed up extractions. RepositoryCache ConfigRepositoryCache `json:"repositoryCache,omitempty" yaml:"repositoryCache,omitempty" mapstructure:"repositoryCache,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Set the type of renovate repository cache if `repositoryCache` is enabled. RepositoryCacheType string `json:"repositoryCacheType,omitempty" yaml:"repositoryCacheType,omitempty" mapstructure:"repositoryCacheType,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Controls Renovate's behavior regarding repository config files such as // `renovate.json`. RequireConfig ConfigRequireConfig `json:"requireConfig,omitempty" yaml:"requireConfig,omitempty" mapstructure:"requireConfig,omitempty"` @@ -692,10 +1224,22 @@ type Config struct { // registry. RollbackPrs bool `json:"rollbackPrs,omitempty" yaml:"rollbackPrs,omitempty" mapstructure:"rollbackPrs,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set, Renovate will use this string as the `endpoint` when creating the AWS // S3 client instance. S3Endpoint *string `json:"s3Endpoint,omitempty" yaml:"s3Endpoint,omitempty" mapstructure:"s3Endpoint,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set, Renovate will enable `forcePathStyle` when creating the AWS S3 client // instance. S3PathStyle bool `json:"s3PathStyle,omitempty" yaml:"s3PathStyle,omitempty" mapstructure:"s3PathStyle,omitempty"` @@ -727,6 +1271,9 @@ type Config struct { // If set to `true`, Renovate creates separate PRs for each `minor` stream. SeparateMultipleMinor bool `json:"separateMultipleMinor,omitempty" yaml:"separateMultipleMinor,omitempty" mapstructure:"separateMultipleMinor,omitempty"` + // Skip Renovate's automatic artifact updating. + SkipArtifactsUpdate bool `json:"skipArtifactsUpdate,omitempty" yaml:"skipArtifactsUpdate,omitempty" mapstructure:"skipArtifactsUpdate,omitempty"` + // Skip installing modules/dependencies if lock file updating is possible without // a full install. SkipInstalls *bool `json:"skipInstalls,omitempty" yaml:"skipInstalls,omitempty" mapstructure:"skipInstalls,omitempty"` @@ -741,9 +1288,21 @@ type Config struct { // Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) format. Timezone *string `json:"timezone,omitempty" yaml:"timezone,omitempty" mapstructure:"timezone,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Repository Auth Token. Token *string `json:"token,omitempty" yaml:"token,omitempty" mapstructure:"token,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Enable or disable Unicode emoji. UnicodeEmoji bool `json:"unicodeEmoji,omitempty" yaml:"unicodeEmoji,omitempty" mapstructure:"unicodeEmoji,omitempty"` @@ -751,9 +1310,6 @@ type Config struct { // Workspaces. UpdateInternalDeps bool `json:"updateInternalDeps,omitempty" yaml:"updateInternalDeps,omitempty" mapstructure:"updateInternalDeps,omitempty"` - // Set to `false` to disable lock file updating. - UpdateLockFiles bool `json:"updateLockFiles,omitempty" yaml:"updateLockFiles,omitempty" mapstructure:"updateLockFiles,omitempty"` - // Whether to update branches when not scheduled. Renovate will not create // branches outside of the schedule. UpdateNotScheduled bool `json:"updateNotScheduled,omitempty" yaml:"updateNotScheduled,omitempty" mapstructure:"updateNotScheduled,omitempty"` @@ -761,13 +1317,25 @@ type Config struct { // Whether to update pinned (single version) dependencies or not. UpdatePinnedDependencies bool `json:"updatePinnedDependencies,omitempty" yaml:"updatePinnedDependencies,omitempty" mapstructure:"updatePinnedDependencies,omitempty"` - // Whether to read configuration from `baseBranches` instead of only the default + // Whether to read configuration from base branches instead of only the default // branch. UseBaseBranchConfig ConfigUseBaseBranchConfig `json:"useBaseBranchConfig,omitempty" yaml:"useBaseBranchConfig,omitempty" mapstructure:"useBaseBranchConfig,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If `false`, Renovate does not try to access cloud metadata services. UseCloudMetadataServices bool `json:"useCloudMetadataServices,omitempty" yaml:"useCloudMetadataServices,omitempty" mapstructure:"useCloudMetadataServices,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // If set to any string, Renovate will use this as the `user-agent` it sends with // HTTP requests. UserAgent *string `json:"userAgent,omitempty" yaml:"userAgent,omitempty" mapstructure:"userAgent,omitempty"` @@ -775,6 +1343,12 @@ type Config struct { // User-facing strings for the Renovate comment when a PR is closed. UserStrings ConfigUserStrings `json:"userStrings,omitempty" yaml:"userStrings,omitempty" mapstructure:"userStrings,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Username for authentication. Username *string `json:"username,omitempty" yaml:"username,omitempty" mapstructure:"username,omitempty"` @@ -785,6 +1359,12 @@ type Config struct { // Versioning to use for filtering and comparisons. Versioning *string `json:"versioning,omitempty" yaml:"versioning,omitempty" mapstructure:"versioning,omitempty"` + // Deprecated: This configuration option is only intended to be used with 'global' + // configuration when self-hosting, not used in a repository configuration file. + // Renovate likely won't use the configuration, and these fields will be removed + // from the repository configuration documentation in Renovate v43 + // (https://github.com/renovatebot/renovate/issues/38728) + // // Writes discovered repositories to a JSON file and then exit. WriteDiscoveredRepos *string `json:"writeDiscoveredRepos,omitempty" yaml:"writeDiscoveredRepos,omitempty" mapstructure:"writeDiscoveredRepos,omitempty"` } @@ -808,6 +1388,7 @@ const ConfigAutomergeStrategyAuto ConfigAutomergeStrategy = "auto" const ConfigAutomergeStrategyFastForward ConfigAutomergeStrategy = "fast-forward" const ConfigAutomergeStrategyMergeCommit ConfigAutomergeStrategy = "merge-commit" const ConfigAutomergeStrategyRebase ConfigAutomergeStrategy = "rebase" +const ConfigAutomergeStrategyRebaseMerge ConfigAutomergeStrategy = "rebase-merge" const ConfigAutomergeStrategySquash ConfigAutomergeStrategy = "squash" type ConfigAutomergeType string @@ -835,6 +1416,9 @@ type ConfigCommitMessageLowerCase string const ConfigCommitMessageLowerCaseAuto ConfigCommitMessageLowerCase = "auto" const ConfigCommitMessageLowerCaseNever ConfigCommitMessageLowerCase = "never" +// Configuration object to define language or manager version constraints. +type ConfigConstraints map[string]string + type ConfigConstraintsFiltering string const ConfigConstraintsFilteringNone ConfigConstraintsFiltering = "none" @@ -889,6 +1473,11 @@ const ConfigMergeConfidenceDatasourcesElemPackagist ConfigMergeConfidenceDatasou const ConfigMergeConfidenceDatasourcesElemPypi ConfigMergeConfidenceDatasourcesElem = "pypi" const ConfigMergeConfidenceDatasourcesElemRubygems ConfigMergeConfidenceDatasourcesElem = "rubygems" +type ConfigMinimumReleaseAgeBehaviour string + +const ConfigMinimumReleaseAgeBehaviourTimestampOptional ConfigMinimumReleaseAgeBehaviour = "timestamp-optional" +const ConfigMinimumReleaseAgeBehaviourTimestampRequired ConfigMinimumReleaseAgeBehaviour = "timestamp-required" + type ConfigMode string const ConfigModeFull ConfigMode = "full" @@ -912,6 +1501,7 @@ type ConfigPlatformCommit string const ConfigPlatformCommitAuto ConfigPlatformCommit = "auto" const ConfigPlatformCommitDisabled ConfigPlatformCommit = "disabled" const ConfigPlatformCommitEnabled ConfigPlatformCommit = "enabled" +const ConfigPlatformForgejo ConfigPlatform = "forgejo" const ConfigPlatformGerrit ConfigPlatform = "gerrit" const ConfigPlatformGitea ConfigPlatform = "gitea" const ConfigPlatformGithub ConfigPlatform = "github" @@ -921,6 +1511,8 @@ const ConfigPlatformLocal ConfigPlatform = "local" type ConfigPostUpdateOptionsElem string const ConfigPostUpdateOptionsElemBundlerConservative ConfigPostUpdateOptionsElem = "bundlerConservative" +const ConfigPostUpdateOptionsElemComposerWithAll ConfigPostUpdateOptionsElem = "composerWithAll" +const ConfigPostUpdateOptionsElemDotnetWorkloadRestore ConfigPostUpdateOptionsElem = "dotnetWorkloadRestore" const ConfigPostUpdateOptionsElemGomodMassage ConfigPostUpdateOptionsElem = "gomodMassage" const ConfigPostUpdateOptionsElemGomodSkipVendor ConfigPostUpdateOptionsElem = "gomodSkipVendor" const ConfigPostUpdateOptionsElemGomodTidy ConfigPostUpdateOptionsElem = "gomodTidy" @@ -929,7 +1521,9 @@ const ConfigPostUpdateOptionsElemGomodTidyE ConfigPostUpdateOptionsElem = "gomod const ConfigPostUpdateOptionsElemGomodUpdateImportPaths ConfigPostUpdateOptionsElem = "gomodUpdateImportPaths" const ConfigPostUpdateOptionsElemGomodVendor ConfigPostUpdateOptionsElem = "gomodVendor" const ConfigPostUpdateOptionsElemHelmUpdateSubChartArchives ConfigPostUpdateOptionsElem = "helmUpdateSubChartArchives" +const ConfigPostUpdateOptionsElemKustomizeInflateHelmCharts ConfigPostUpdateOptionsElem = "kustomizeInflateHelmCharts" const ConfigPostUpdateOptionsElemNpmDedupe ConfigPostUpdateOptionsElem = "npmDedupe" +const ConfigPostUpdateOptionsElemNpmInstallTwice ConfigPostUpdateOptionsElem = "npmInstallTwice" const ConfigPostUpdateOptionsElemPnpmDedupe ConfigPostUpdateOptionsElem = "pnpmDedupe" const ConfigPostUpdateOptionsElemYarnDedupeFewer ConfigPostUpdateOptionsElem = "yarnDedupeFewer" const ConfigPostUpdateOptionsElemYarnDedupeHighest ConfigPostUpdateOptionsElem = "yarnDedupeHighest" @@ -937,6 +1531,9 @@ const ConfigPostUpdateOptionsElemYarnDedupeHighest ConfigPostUpdateOptionsElem = // Table column definitions to use in PR tables. type ConfigPrBodyDefinitions map[string]interface{} +// Table header definitions to use in PR tables. +type ConfigPrBodyHeadingDefinitions map[string]interface{} + type ConfigPrCreation string const ConfigPrCreationApproval ConfigPrCreation = "approval" From cbe891ed3ff1817443adfbef5f2f576ec067bdc2 Mon Sep 17 00:00:00 2001 From: UnstoppableMango Date: Fri, 28 Nov 2025 16:07:24 -0600 Subject: [PATCH 2/2] Remove the other stuff too --- .github/workflows/ci.yml | 1 - .goreleaser.yaml | 4 ---- test/e2e/e2e_suite_test.go | 10 +--------- test/e2e/mk_funcs_test.go | 37 ------------------------------------- 4 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 test/e2e/mk_funcs_test.go diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d833923..145a43c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,5 +25,4 @@ jobs: go-version-file: go.mod cache-dependency-path: go.sum - - run: make bin/mk_funcs.so - run: make test diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e66ff3c..f377e64 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,7 +5,6 @@ version: 2 before: hooks: - make tidy - - make bin/mk_funcs.so builds: - id: devctl @@ -44,6 +43,3 @@ changelog: release: draft: false prerelease: auto - extra_files: - - glob: ./bin/mk_funcs.so - name_template: mk_funcs.so diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index 43e1be3..1c3ddee 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -3,7 +3,6 @@ package e2e_test import ( "context" "embed" - "path/filepath" "testing" . "github.com/onsi/ginkgo/v2" @@ -18,8 +17,7 @@ import ( var testdata embed.FS var ( - cmdPath string - mkfuncsSo string + cmdPath string ) func TestE2e(t *testing.T) { @@ -33,12 +31,6 @@ var _ = BeforeSuite(func(ctx context.Context) { cmdPath, err = gexec.Build(root) Expect(err).NotTo(HaveOccurred()) - - mkfuncsSo, err = gexec.Build( - filepath.Join(root, "pkg", "make", "mk_funcs"), - "-buildmode=c-shared", - ) - Expect(err).NotTo(HaveOccurred()) }) var _ = AfterSuite(func() { diff --git a/test/e2e/mk_funcs_test.go b/test/e2e/mk_funcs_test.go deleted file mode 100644 index beb7421..0000000 --- a/test/e2e/mk_funcs_test.go +++ /dev/null @@ -1,37 +0,0 @@ -package e2e_test - -import ( - "io/fs" - "os" - "os/exec" - "path/filepath" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/onsi/gomega/gexec" -) - -var _ = Describe("MkFuncs", func() { - var dir string - - BeforeEach(func() { - fs, err := fs.Sub(testdata, "testdata") - Expect(err).NotTo(HaveOccurred()) - - dir = GinkgoT().TempDir() - Expect(os.CopyFS(dir, fs)).To(Succeed()) - - err = os.Link(mkfuncsSo, filepath.Join(dir, "mk_funcs.so")) - Expect(err).NotTo(HaveOccurred()) - }) - - It("should contain the file", func() { - cmd := exec.Command("make") - cmd.Dir = dir - - ses, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) - - Expect(err).NotTo(HaveOccurred()) - Eventually(ses).Should(gexec.Exit(0)) - }) -})