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

Bug#489811: marked as done (cdd-dev: Should support enhances and test-* tasksel headers)

Your message dated Tue, 08 Jul 2008 11:47:03 +0000
with message-id <E1KGBex-0005n5-Cc@ries.debian.org>
and subject line Bug#489811: fixed in cdd 0.5.4
has caused the Debian Bug report #489811,
regarding cdd-dev: Should support enhances and test-* tasksel headers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

489811: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489811
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdd-dev
Version: 0.5.1

The new tasksel support tasks that are enabled when a specific
language is detected, and tasks that enhances other tasks.  These
should be passed on when generating tasksel tasks using cdd-dev.
Here is a draft patch to implement it.  It is slightly tested.

--- /usr/share/cdd-dev/cdd-gen-control  2008-02-07 11:52:38.000000000 +0100
+++ cdd-gen-control     2008-07-08 00:07:38.000000000 +0200
@@ -243,6 +243,14 @@
                 print "Description: $taskinfo{$task}{Description}\n";
                 print "$taskinfo{$task}{'Description-long'}"; # Already contain newline
                 print "Relevance: 10\n";
+                print "Enhances: $taskinfo{$task}{Enhances}\n"
+                    if exists $taskinfo{$task}{Enhances};
+                for my $header (keys %{$taskinfo{$task}}) {
+print "Testheader: '$header'\n";
+                    if ($header =~ m/test-.+/i) {
+                        print "$header: $taskinfo{$task}{$header}\n";
+                    }
+                }
                 print "Key: \n";
                 print " $task\n";
                 my %seen;
@@ -435,12 +443,10 @@
         $line =~ s/\s+$//;

         $_ = $line;
-        $taskinfo{$curpkg}{'Section'}      = $1 if (m/^Section:\s+(.+)$/);
-        $taskinfo{$curpkg}{'Architecture'} = $1 if (m/^Architecture:\s+(.+)$/);
-        $taskinfo{$curpkg}{'Priority'}     = $1 if (m/^Priority:\s+(.+)$/);
-        $taskinfo{$curpkg}{'Leaf'}         = $1 if (m/^Leaf:\s+(.+)$/);
+        for my $header (qw(Section, Architecture Priority Leaf Enhances)) {
+            $taskinfo{$curpkg}{$header} = $1 if (m/^$header:\s+(.+)$/);
+        }
+        $taskinfo{$curpkg}{$1} = $2 if (m/^(test-.+):\s+(.+)$/i);

         if (m/^Description:\s+(.+)$/) {
             $taskinfo{$curpkg}{'Description'} = $1;

Happy hacking,
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: cdd
Source-Version: 0.5.4

We believe that the bug you reported is fixed in the latest version of
cdd, which is due to be installed in the Debian FTP archive:

  to pool/main/c/cdd/cdd-common_0.5.4_all.deb
  to pool/main/c/cdd/cdd-dev_0.5.4_all.deb
  to pool/main/c/cdd/cdd-doc_0.5.4_all.deb
  to pool/main/c/cdd/cdd_0.5.4.dsc
  to pool/main/c/cdd/cdd_0.5.4.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 489811@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Andreas Tille <tille@debian.org> (supplier of updated cdd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Tue, 08 Jul 2008 10:40:42 +0200
Source: cdd
Binary: cdd-dev cdd-common cdd-doc
Architecture: source all
Version: 0.5.4
Distribution: unstable
Urgency: low
Maintainer: Custom Debian Distribution Team <debian-custom@lists.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
 cdd-common - Custom Debian Distributions common package
 cdd-dev    - Custom Debian Distributions common files for developing metapacka
 cdd-doc    - Custom Debian Distribution documentation
Closes: 489811
 cdd (0.5.4) unstable; urgency=low
   * Added patch from Petter Reinholdtsen <pere@hungry.com> to enable
     Enhances feature for tasksel.
     Closes: #489811
   * Better Debconf template for user menus which avoids lintian warnings
     in CDD metapackages.
 52cbcd2759a4d8c0edb691a931b53542662b523b 1179 cdd_0.5.4.dsc
 c0e4c10661ceb645779b5ebbd141e243c3e143f6 100010 cdd_0.5.4.tar.gz
 040b2a95f182c67f254f4623101150072c056733 28296 cdd-dev_0.5.4_all.deb
 9623faba77b5e92efc3f95997ad54274da046498 19296 cdd-common_0.5.4_all.deb
 34d724d1b1ba3ef9ef40ab7cd17073b63d04ea51 393396 cdd-doc_0.5.4_all.deb
 c146e18bc7bd9f7ae9bd5210c07aa0118ffe37b49abdb132596c0394a1f89225 1179 cdd_0.5.4.dsc
 2adf8f77396bf33f8b43fb9d1705ab3d59cd13d1ca7d66d67cb91fba8693fb48 100010 cdd_0.5.4.tar.gz
 d1440c42fc2a68018aaa6653b88a7b67ef7f56f812affa69dde7c1297c8c31a4 28296 cdd-dev_0.5.4_all.deb
 0c3bcf05a7280aa9df6fa35c863acdb8a9d51c9c5ad3eb98b842803a3f59a245 19296 cdd-common_0.5.4_all.deb
 34a2988a615516e112e15e3c47c556fde3c906ea13f000d5c47f14ffb2c8d36c 393396 cdd-doc_0.5.4_all.deb
 298b73ba3c25fc5c022bbb8868c1adbb 1179 devel optional cdd_0.5.4.dsc
 49314db5e0d3db66e8eee6f1a12c2b63 100010 devel optional cdd_0.5.4.tar.gz
 adbd37d14fdbd48a0c66a15cc49b088e 28296 devel optional cdd-dev_0.5.4_all.deb
 ef4af61121bb073945b3a55586fde81c 19296 misc optional cdd-common_0.5.4_all.deb
 232d4ccac25ef4887d6d800a0ca75148 393396 doc optional cdd-doc_0.5.4_all.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: