Skip to content

Commit aed5fc3

Browse files
committed
Add "Upstream-Contact: TODO" to generated debian/copyright
as mentors.debian.net seems to require this field, and if missing, would display the following warning: RFS: author info missing Upstream-Contact: was not found in d/copyright. RFS will not autocomplete the Upstream author.
1 parent 1b09fb0 commit aed5fc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,9 @@ func writeDebianCopyright(dir, gopkg string, vendorDirs []string, hasGodeps bool
212212
}
213213

214214
fmt.Fprintf(f, "Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/\n")
215-
fmt.Fprintf(f, "Source: %s\n", getHomepageForGopkg(gopkg))
216215
fmt.Fprintf(f, "Upstream-Name: %s\n", filepath.Base(gopkg))
216+
fmt.Fprintf(f, "Upstream-Contact: TODO\n")
217+
fmt.Fprintf(f, "Source: %s\n", getHomepageForGopkg(gopkg))
217218
if len(vendorDirs) > 0 || hasGodeps {
218219
fmt.Fprintf(f, "Files-Excluded:\n")
219220
for _, dir := range vendorDirs {

0 commit comments

Comments
 (0)