// Copyright 2017-2025 WIT.COM Inc. All rights reserved. // Use of this source code is governed by the GPL 3.0 package main import ( "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) func doDebian() { if argv.Force || argv.Debian.Force || argv.Debian.SkipInstall { log.Info("doDebian() skipping go install test") } else { if err := doInstall(); err != nil { log.Info("doInstall() failed", err) badExit(err) } } initForge() found := gitpb.NewRepos() for check := range me.forge.Repos.IterAll() { if me.forge.Config.IsReadOnly(check.GetGoPath()) { continue } if !check.IsBinary() { continue } if check.IsGoPlugin() { continue } found.Append(check) } me.forge.PrintForgedTable(found) if argv.DryRun { okExit("") } me.forge.ConfigRill(16, 16) stats := me.forge.RunOnRepos(found, buildDeb) for s, stat := range stats { log.Info(s, stat.Err) if stat.Err != nil { badExit(stat.Err) } } exitOnErrorRealtime([]string{"do-aptly"}) }