[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798422: lintian: please add "go-import-path" to the list of allowed source fields



Package: src:lintian
Severity: wishlist
Tags: patch
X-Debbugs-CC: pkg-go-maintainers@lists.alioth.debian.org

This field is used by dh-golang[1][2] to determine the proper location
inside /usr/share/gocode for the files of the package, and is useful
for other automation too.

I've attached the basic patch that adds this, even though the change
is pretty trivial.  I'd be happy to adapt it if I've done something
wrong or could be more helpful. :)

[1]: https://sources.debian.net/src/dh-golang/1.12/lib/Debian/Debhelper/Buildsystem/golang.pm/#L27-L36
[2]: https://tracker.debian.org/news/702962

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4
From c64a0e46299cffd7faad3a937106e655d47c5428 Mon Sep 17 00:00:00 2001
From: Tianon Gravi <tianon@debian.org>
Date: Tue, 8 Sep 2015 19:48:59 -0700
Subject: [PATCH] d/common/source-fields: Add "go-import-path" field

---
 data/common/source-fields | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/common/source-fields b/data/common/source-fields
index 329c3dd..4ef6e4c 100644
--- a/data/common/source-fields
+++ b/data/common/source-fields
@@ -27,6 +27,7 @@ origin
 # disappear without notice
 @if-vendor-is-not debian original-maintainer
 
+go-import-path
 package-list
 python-version
 ruby-versions
-- 
2.4.6


Reply to: