[Debian-l10n-devel] Cron <ddtp at churro> /org/ddtp.debian.net/update0.5.sh

Michael Bramer grisu at deb-support.de
Thu Aug 4 08:06:07 UTC 2011


On 08/04/2011 01:03 AM, Michael Bramer wrote:
> In the database we store the description with the key
> 'packagename-version'
>
> All Packages with the same package name and the same version should
> have the same description. Or?
>
> Same Package (eog-plugins), same Version (2.30.1-1), but different
> Description.

 From the today cron-job-mail:
Thu Aug  4 01:06:01 CEST 2011
Can't find md5 (45af6707ffe8aa9d235d0b8dab7a967b), package kuvert in wheezy
Can't find md5 (4b0e3f3cce158f7a43cc39b404bf8aa6), package default-jre 
in wheezy
...

I make a closer lock at the package default-jre:

from java-common-0.40/debian/control:
Package: default-jre
Architecture: any
Depends: default-jre-headless (= ${binary:Version}), ${jre}${jre:version},
  ${misc:Depends}
Provides: ${jre:provides}
Description: Standard Java or Java compatible Runtime
  This package points to the Java runtime, or Java compatible
  runtime recommended for the ${jre:arch} architecture,
  which is ${jre} for ${jre:arch}.

Hm, with the variables we got fo every arch a own description...


The problem is only the import and the tracking of the description.

We import the archs in this order: 'amd64 armel i386 ia64 kfreebsd-i386 
kfreebsd-amd64 mips mipsel powerpc s390 sparc'
Now we have the package description of the arch, which is first uploaded 
in the database.
We have this problem only with 10 packages or so. Not a big problem...

If we add a 'arch' key in
- package_version_tb
- packages_tb
the we can solve the problem.

Comments?

I change in 'ddts-stats' this:
Index: ddts-stats
===================================================================
--- ddts-stats  (revision 2741)
+++ ddts-stats  (working copy)
@@ -128,7 +131,7 @@

      if( not defined $descrmd5{$md5} )
      {
-      warn "Can't find md5 ($md5), package $package\n";
+      print "Can't find md5 ($md5), package $package in $DIST\n";
        next;
      }
      my $desc_id = $descrmd5{$md5};

Now, the output should go to stdout and we should't get the cronmails.

Gruss
Grisu




More information about the Debian-l10n-devel mailing list