Your message dated Wed, 15 Jul 2009 11:17:04 +0000
with message-id <[email protected]>
and subject line Bug#536857: fixed in apt-xapian-index 0.22
has caused the Debian Bug report #536857,
regarding apt-xapian-index: [patch] fixes in --update and run cronjob niced
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 [email protected]
immediately.)


-- 
536857: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-xapian-index
Version: 0.21
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch


Hi,

thanks a lot for the 0.21 release, I made two small changes 
in the ubuntu package, please have a look and let me know if
you like them.

Cheers,
 Michael

*** /tmp/tmpRApC_b
In Ubuntu, we've applied the attached patch to achieve the following:

  * run the weekly update with nice and ionice (LP: #363695)
  * fix bug in --updates when its selecting the wrong index

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic
  APT policy: (500, 'karmic'), (500, 'jaunty-updates'), (500, 
'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-2-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru apt-xapian-index-0.21/debian/cron.weekly apt-xapian-index-0.21ubuntu2/debian/cron.weekly
--- apt-xapian-index-0.21/debian/cron.weekly	2008-10-18 11:55:53.000000000 +0200
+++ apt-xapian-index-0.21ubuntu2/debian/cron.weekly	2009-07-14 09:20:39.000000000 +0200
@@ -5,5 +5,5 @@
 # Rebuild the index
 if [ -x $CMD ]
 then
-	$CMD --quiet
+	nice ionice -c3	$CMD --quiet
 fi
diff -Nru apt-xapian-index-0.21/update-apt-xapian-index apt-xapian-index-0.21ubuntu2/update-apt-xapian-index
--- apt-xapian-index-0.21/update-apt-xapian-index	2009-07-07 17:30:06.000000000 +0200
+++ apt-xapian-index-0.21ubuntu2/update-apt-xapian-index	2009-07-10 14:18:28.000000000 +0200
@@ -675,9 +675,17 @@
 
 # update only mode
 if options.update:
-    res = updateIndex(XAPIANDBPATH, addons, progress)
+    index = os.path.join(os.path.abspath(XAPIANDBPATH), "index")
+    if not os.path.exists(index):
+        f=open(index, "w")
+        f.write("auto %s.1" % index)
+        f.close()
+    (dbkind, dbpath) = open(index).readline().split()
+    res = updateIndex(dbpath, addons, progress)
     if not res:
         sys.exit(1)
+    # touch the index to update the timestamp
+    open(XAPIANDBSTAMP, "w").close()
     sys.exit()
 
 # Create a new Xapian index with the content provided by the addons

--- End Message ---
--- Begin Message ---
Source: apt-xapian-index
Source-Version: 0.22

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

apt-xapian-index_0.22.dsc
  to pool/main/a/apt-xapian-index/apt-xapian-index_0.22.dsc
apt-xapian-index_0.22.tar.gz
  to pool/main/a/apt-xapian-index/apt-xapian-index_0.22.tar.gz
apt-xapian-index_0.22_all.deb
  to pool/main/a/apt-xapian-index/apt-xapian-index_0.22_all.deb



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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Enrico Zini <[email protected]> (supplier of updated apt-xapian-index 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 15 Jul 2009 11:44:24 +0100
Source: apt-xapian-index
Binary: apt-xapian-index
Architecture: source all
Version: 0.22
Distribution: unstable
Urgency: low
Maintainer: Enrico Zini <[email protected]>
Changed-By: Enrico Zini <[email protected]>
Description: 
 apt-xapian-index - maintenance tools for a Xapian index of Debian packages
Closes: 536857
Changes: 
 apt-xapian-index (0.22) unstable; urgency=low
 .
   * Applied patch by Michael Vogt. Closes: #536857.
     - Run the weekly update with nice and ionice
     - Fix bug in --updates when it is selecting the wrong index
Checksums-Sha1: 
 ee080bd3c63e1e322d45bddf7799231cb8f4f519 1561 apt-xapian-index_0.22.dsc
 90284192ef3da5c9d0150265cc8989898346a7d0 25657 apt-xapian-index_0.22.tar.gz
 b5913f9bd3e489818bf91486be7f2bf176d2d94f 35730 apt-xapian-index_0.22_all.deb
Checksums-Sha256: 
 24b1270df234fe6774534b9b0201a9a5a44e72defc579bced8ad5269ee703bcd 1561 
apt-xapian-index_0.22.dsc
 62b2a0b1e3e59bf7963233cace59bc7be3e4f1a48db6e7e8b2fa13281af3377e 25657 
apt-xapian-index_0.22.tar.gz
 56795c47e12b4273a202249e264b990f01e9aa89f9b57c4d1d78815137ce5b01 35730 
apt-xapian-index_0.22_all.deb
Files: 
 f68ec00b7933daa00b2cd8f40a84a866 1561 admin optional apt-xapian-index_0.22.dsc
 b6250d680a7b9dd0d298c767d69a8192 25657 admin optional 
apt-xapian-index_0.22.tar.gz
 ebb352317d00fede985ab37721f44003 35730 admin optional 
apt-xapian-index_0.22_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKXbbrAAoJEB5qw/OH8O2sd2gP/jxMr32JA6eQXRikB+sP/0F7
vWOrDChzFVVH1XKUnlYlFEGifSGLRX+HANbyMOiJplxuFaoo5IX9ppFJstr149oq
VIQEXk21+7yf1IW/9gmEhzMPmDGwoif8FUXEHyRsxN1qcMM9wQBxTn6KigZFug5t
6lN+1x9DddlWjhTGAtBn3Lk5ZZQvcQ5s8thrRwgU70sSJrpd8gcJ0+v+EwwnQsQL
OVEjTEWomBXUkxBgpzOI1/EmrJ7QvQANTlaseZlgNUzyZ3iOfokRs8G1ioGAkvOG
jNgx2XxHO0oZFdZ02dWbYN+ZXe9P8tA6KJGF7+PgQp+WbBR3nhEExIBaNchqeKVg
f0k651V/4ynMflqQ79Nn1iyJATQzRD8iChtQuflrJiCJSF4ChBXStghF2jXyDD2Q
0obWzZyuTT+YFxvA2a6Gt6coJDUDP2Qm5FB0be6C837eLMNb30+WEtfGVq/oQLRm
a6YpUkA3elHC9y/8F4VJuryxOWs/YXglYmmOcJ1w7OTkP1Foj9rVPBRG6a3Bqtx0
rHQxdI2+psRAnDKSjTrxWSmYlFxcC4zw4Ypz6BvJ0A1zi8jD0mJk2rx55wnGUTeJ
/zHScplbS1zVFZbQOkA/INtce1K1/14mYK7pVxNI3dGKd01qIC9vJH1xHW6unOG8
mHKEfcGAPATORznBo8wT
=qSAK
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to