forked from Plemya-x/ALR
		
	feat: migrate to system cache with changing core logic
This commit is contained in:
		@@ -19,13 +19,11 @@
 | 
			
		||||
 | 
			
		||||
package types
 | 
			
		||||
 | 
			
		||||
import "gitea.plemya-x.ru/Plemya-x/ALR/pkg/manager"
 | 
			
		||||
 | 
			
		||||
type BuildOpts struct {
 | 
			
		||||
	Script      string
 | 
			
		||||
	Repository  string
 | 
			
		||||
	Packages    []string
 | 
			
		||||
	Manager     manager.Manager
 | 
			
		||||
	// Script      string
 | 
			
		||||
	// Repository  string
 | 
			
		||||
	// Packages    []string
 | 
			
		||||
	// Manager     manager.Manager
 | 
			
		||||
	Clean       bool
 | 
			
		||||
	Interactive bool
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,6 @@ type Config struct {
 | 
			
		||||
	PagerStyle       string   `toml:"pagerStyle" env:"ALR_PAGER_STYLE"`
 | 
			
		||||
	IgnorePkgUpdates []string `toml:"ignorePkgUpdates"`
 | 
			
		||||
	Repos            []Repo   `toml:"repo"`
 | 
			
		||||
	Unsafe           Unsafe   `toml:"unsafe"`
 | 
			
		||||
	AutoPull         bool     `toml:"autoPull" env:"ALR_AUTOPULL"`
 | 
			
		||||
	LogLevel         string   `toml:"logLevel" env:"ALR_LOG_LEVEL"`
 | 
			
		||||
}
 | 
			
		||||
@@ -35,7 +34,3 @@ type Repo struct {
 | 
			
		||||
	Name string `toml:"name"`
 | 
			
		||||
	URL  string `toml:"url"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Unsafe struct {
 | 
			
		||||
	AllowRunAsRoot bool `toml:"allowRunAsRoot" env:"ALR_UNSAFE_ALLOW_RUN_AS_ROOT"`
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user