-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fmt.Printf() instead of log.Printf() for final instructions
- Loading branch information
1 parent
50e59ed
commit 8c30050
Showing
1 changed file
with
29 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]: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 [email protected]:go-team/packages/%s.git\n", debsrc) | ||
fmt.Printf(" gbp push\n") | ||
} |