On Thu, Dec 08, 2016 at 08:39:36PM -0800, Josh Triplett wrote:
> Package: packagekit
> Version: 1.1.4-3
> Severity: wishlist
> Tags: patch
> 
> The attached patch provides an update with new archive sections for 
> programming
> language packages.  See https://bugs.debian.org/753480 and
> https://bugs.debian.org/845576 for more on the new sections.  ftpmaster has
> approved adding the two new sections, conditional on support for them in the
> various packages with lists of archive section names.
> 
> We'd like to include support for these sections in the next stable release of
> Debian, so that packages from stable can process packages from testing,
> unstable, experimental, backports, and third-party archives without
> encountering unknown section names.
> 
> Please consider applying this patch and uploading a version with this patch
> included in either December or early January, to allow plenty of time for the
> upload to propagate to testing before the freeze in early February.

Patch actually attached this time.  (Apparently reportbug's -A option
doesn't work with --mutt.)

- Josh Triplett
>From f90b5c28f57c53bc0f09269867dca8f4d520d354 Mon Sep 17 00:00:00 2001
From: Josh Triplett <[email protected]>
Date: Wed, 7 Dec 2016 22:39:44 -0800
Subject: [PATCH] Update for new programming language sections

---
 backends/aptcc/apt-utils.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/backends/aptcc/apt-utils.cpp b/backends/aptcc/apt-utils.cpp
index 98b696f..f4fbed8 100644
--- a/backends/aptcc/apt-utils.cpp
+++ b/backends/aptcc/apt-utils.cpp
@@ -57,6 +57,10 @@ PkGroupEnum get_enum_group(string group)
         return PK_GROUP_ENUM_COMMUNICATION;
     } else if (group.compare ("interpreters") == 0) {
         return PK_GROUP_ENUM_PROGRAMMING;
+    } else if (group.compare ("java") == 0) {
+        return PK_GROUP_ENUM_PROGRAMMING;
+    } else if (group.compare ("javascript") == 0) {
+        return PK_GROUP_ENUM_PROGRAMMING;
     } else if (group.compare ("kde") == 0) {
         return PK_GROUP_ENUM_DESKTOP_KDE;
     } else if (group.compare ("libdevel") == 0) {
@@ -81,6 +85,10 @@ PkGroupEnum get_enum_group(string group)
         return PK_GROUP_ENUM_PROGRAMMING;
     } else if (group.compare ("python") == 0) {
         return PK_GROUP_ENUM_PROGRAMMING;
+    } else if (group.compare ("ruby") == 0) {
+        return PK_GROUP_ENUM_PROGRAMMING;
+    } else if (group.compare ("rust") == 0) {
+        return PK_GROUP_ENUM_PROGRAMMING;
     } else if (group.compare ("science") == 0) {
         return PK_GROUP_ENUM_SCIENCE;
     } else if (group.compare ("shells") == 0) {
-- 
2.11.0

Reply via email to