Read configs from gitea

This commit is contained in:
ferreo 2024-10-19 11:36:12 +01:00
parent 612646eebc
commit 84e86836e0

View File

@ -137,7 +137,7 @@ func loadConfig() error {
func loadI386List() ([]string, error) {
var i386List i386List
response, err := http.Get("https://raw.githubusercontent.com/PikaOS-Linux/pika-base-debian-container/main/i386_src_whitelist.json")
response, err := http.Get("https://git.pika-os.com/repo-tools/pin-generation/raw/branch/main/generated-output/i386/i386_src_whitelist.json")
if err != nil {
return nil, err
}
@ -156,7 +156,7 @@ func loadI386List() ([]string, error) {
func loadExperimentalPackageNames() ([]string, error) {
var epPkgNames expPkgNames
response, err := http.Get("https://raw.githubusercontent.com/PikaOS-Linux/pika-base-debian-container/main/exp_pkg_names.json")
response, err := http.Get("https://git.pika-os.com/repo-tools/pin-generation/raw/branch/main/generated-output/exp_pkg_names.json")
if err != nil {
return nil, err
}