diff --git a/make.go b/make.go index b539950..0423eef 100644 --- a/make.go +++ b/make.go @@ -792,37 +792,38 @@ func execMake(args []string, usage func()) { log.Fatalf("Could not write ITP email: %v\n", err) } - log.Printf("\n") - log.Printf("Packaging successfully created in %s\n", dir) - log.Printf("\n") - log.Printf(" Source: %s\n", debsrc) + log.Println("Done!") + + fmt.Printf("\n") + fmt.Printf("Packaging successfully created in %s\n", dir) + fmt.Printf(" Source: %s\n", debsrc) switch pkgType { case typeLibrary: - log.Printf(" Package: %s\n", debLib) + fmt.Printf(" Binary: %s\n", debLib) case typeProgram: - log.Printf(" Package: %s\n", debProg) + fmt.Printf(" Binary: %s\n", debProg) case typeLibraryProgram: - log.Printf(" Package: %s\n", debLib) - log.Printf(" Package: %s\n", debProg) + fmt.Printf(" Binary: %s\n", debLib) + fmt.Printf(" Binary: %s\n", debProg) case typeProgramLibrary: - log.Printf(" Package: %s\n", debProg) - log.Printf(" Package: %s\n", debLib) - } - log.Printf("\n") - log.Printf("Resolve all TODOs in %s, then email it out:\n", itpname) - log.Printf(" sendmail -t < %s\n", itpname) - log.Printf("\n") - log.Printf("Resolve all the TODOs in debian/, find them using:\n") - log.Printf(" grep -r TODO debian\n") - log.Printf("\n") - log.Printf("To build the package, commit the packaging and use gbp buildpackage:\n") - log.Printf(" git add debian && git commit -a -m 'Initial packaging'\n") - log.Printf(" gbp buildpackage --git-pbuilder\n") - log.Printf("\n") - log.Printf("To create the packaging git repository on salsa, use:\n") - log.Printf(" dh-make-golang create-salsa-project %s", debsrc) - log.Printf("\n") - log.Printf("Once you are happy with your packaging, push it to salsa using:\n") - log.Printf(" git remote set-url origin git@salsa.debian.org:go-team/packages/%s.git\n", debsrc) - log.Printf(" gbp push\n") + fmt.Printf(" Binary: %s\n", debProg) + fmt.Printf(" Binary: %s\n", debLib) + } + fmt.Printf("\n") + fmt.Printf("Resolve all TODOs in %s, then email it out:\n", itpname) + fmt.Printf(" sendmail -t < %s\n", itpname) + fmt.Printf("\n") + fmt.Printf("Resolve all the TODOs in debian/, find them using:\n") + fmt.Printf(" grep -r TODO debian\n") + fmt.Printf("\n") + fmt.Printf("To build the package, commit the packaging and use gbp buildpackage:\n") + fmt.Printf(" git add debian && git commit -a -m 'Initial packaging'\n") + fmt.Printf(" gbp buildpackage --git-pbuilder\n") + fmt.Printf("\n") + fmt.Printf("To create the packaging git repository on salsa, use:\n") + fmt.Printf(" dh-make-golang create-salsa-project %s\n", debsrc) + fmt.Printf("\n") + fmt.Printf("Once you are happy with your packaging, push it to salsa using:\n") + fmt.Printf(" git remote set-url origin git@salsa.debian.org:go-team/packages/%s.git\n", debsrc) + fmt.Printf(" gbp push\n") }