enhance package database schema and configuration; add dependencies

This commit is contained in:
2025-09-20 19:31:38 -03:00
parent 2620ec00ab
commit 3929493bfb
7 changed files with 32 additions and 9 deletions

View File

@@ -36,6 +36,8 @@ func DefaultConfigTOML() (*ConfigTOML, error) {
config.Config.Cache_d = consts.DefaultCache_d
config.Config.Data_d = consts.DefaultData_d
config.Config.HttpPort = consts.DefaultHttpPort
config.Config.Bin_d = consts.DefaultBin_d
config.Config.StorePackages = true
return &config, nil
}

View File

@@ -18,9 +18,10 @@ type Manifest struct {
type ConfigTOML struct {
Config struct {
HttpPort int `toml:"httpPort"`
Cache_d string `toml:"cache_d"`
Data_d string `toml:"data_d"`
Bin_d string `toml:"bin_d"`
HttpPort int `toml:"httpPort"`
Cache_d string `toml:"cache_d"`
Data_d string `toml:"data_d"`
Bin_d string `toml:"bin_d"`
StorePackages bool `toml:"store_packages"`
} `toml:"Config"`
}