package main import ( "sync" "go.wit.com/lib/config" "go.wit.com/lib/gui/prep" "go.wit.com/lib/protobuf/zoopb" ) // --- Configuration --- // !!! IMPORTANT: Set your GPG Key ID here! // Find it with: gpg --list-secret-keys --keyid-format=long const gpgKeyID = "5D7C9BE47836D2FA48F83C2B4A854AEAF7E0E16D" const dist = "sid" const component = "main" const poolDir = "pool" const distsDir = "dists" var architectures = []string{"amd64", "riscv64", "arm64", "all"} // DebInfo holds the control information for a single .deb package. type DebInfo struct { ControlData map[string]string Filename string Size int64 MD5Sum string SHA1Sum string SHA256Sum string } var me *mainType // this app's variables type mainType struct { once sync.Once // one-time initialized data sh *prep.Auto // more experiments for bash handling pb *zoopb.Packages // the mirrors packages config *config.Config // the mirrors packages }