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

Bug#880701: lintian: Please update the Debian archive sections



Package: lintian
Version: 2.5.58
Severity: wishlist
Tags: patch
User: guardians@namespace.hadrons.org
Usertags: sectionspace-expansion
Control: block 847520 by -1

Hi!

Here's a patch updating the Debian archive sections, which includes the
new golang section, which was approved by ftp-masters.

Thanks,
Guillem
From ca51028553e9fab0cced2adfc67e4d2514d5998a Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Sat, 4 Nov 2017 01:23:11 +0100
Subject: [PATCH] c/fields, d/fields: Add golang section

---
 checks/fields.desc                | 2 +-
 data/fields/archive-sections      | 1 +
 data/fields/name_section_mappings | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/checks/fields.desc b/checks/fields.desc
index ad2221161..91bfe5aa9 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -331,7 +331,7 @@ Info: The "Section:" field in this package's control file is not one of
  the sections in use on the ftp archive.  Valid sections are currently
  admin, comm, cli-mono, database, debug, devel, doc,
  editors, electronics, embedded, fonts, games, gnome, gnu-r,
- gnustep, graphics, hamradio, haskell, httpd, interpreters,
+ gnustep, golang, graphics, hamradio, haskell, httpd, interpreters,
  java, javascript, kde, libdevel, libs, lisp, localization, kernel, mail,
  math, misc, net, news, ocaml, oldlibs, otherosfs, perl,
  php, python, ruby, rust, science, shells, sound, tex, text,
diff --git a/data/fields/archive-sections b/data/fields/archive-sections
index 56c1bdf92..0a1f6441a 100644
--- a/data/fields/archive-sections
+++ b/data/fields/archive-sections
@@ -17,6 +17,7 @@ games
 gnome
 gnu-r
 gnustep
+golang
 graphics
 hamradio
 haskell
diff --git a/data/fields/name_section_mappings b/data/fields/name_section_mappings
index 1fdc1cfd7..d4fe50c8b 100644
--- a/data/fields/name_section_mappings
+++ b/data/fields/name_section_mappings
@@ -17,6 +17,7 @@
 -elisp(?:-.*)$                          => lisp
 ^lib.*-guile$                           => lisp
 ^guile-                                 => lisp
+^golang-                                => golang
 ^lib.*-perl$                 => perl
 lib.*-cil(?:-dev)?$          => cli-mono
 ^lib.*-(?:java|gcj|jni)$                => java
-- 
2.15.0


Reply to: