Debian Bug report logs - #429949
ept-cache: Please include a cronjob to reindex tags periodically

version graph

Package: ept-cache; Maintainer for ept-cache is (unknown);

Reported by: intrigeri@debian.org

Date: Thu, 21 Jun 2007 12:27:04 UTC

Severity: wishlist

Tags: patch

Found in version libept/0.5.7

Fixed in version libept/0.5.8

Done: Enrico Zini <enrico@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#429949; Package ept-cache. (full text, mbox, link).


Acknowledgement sent to Ben Voui <intrigeri@boum.org>:
New Bug report received and forwarded. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ben Voui <intrigeri@boum.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ept-cache: Please include a cronjob to reindex tags periodically
Date: Thu, 21 Jun 2007 14:22:59 +0200
Package: ept-cache
Version: 0.5.7
Severity: wishlist

Hello, please include a cronjob to reindex tags periodically.

The following patch does so :

--------------------------------------------------------------------------------

diff -Naur libept-0.5.7/debian/changelog libept-0.5.7.cron0/debian/changelog
--- libept-0.5.7/debian/changelog	2007-06-20 22:13:00.000000000 +0200
+++ libept-0.5.7.cron0/debian/changelog	2007-06-21 14:06:21.000000000 +0200
@@ -1,3 +1,9 @@
+libept (0.5.7.cron0) unstable; urgency=low
+
+  * Added cronjob to reindex tags every day.
+
+ -- intrigeri <intrigeri@boum.org>  Thu, 21 Jun 2007 14:05:57 +0200
+
 libept (0.5.7) unstable; urgency=low
 
   * Apt record iterator also shows records of locally installed .debs
diff -Naur libept-0.5.7/debian/ept-cache.cron.d libept-0.5.7.cron0/debian/ept-cache.cron.d
--- libept-0.5.7/debian/ept-cache.cron.d	1970-01-01 01:00:00.000000000 +0100
+++ libept-0.5.7.cron0/debian/ept-cache.cron.d	2007-06-21 14:03:35.000000000 +0200
@@ -0,0 +1 @@
+42 13 * * * root test -x /usr/bin/ept-cache && /usr/sbin/ept-cache --quiet reindex

--------------------------------------------------------------------------------

Ciao,
-- 
  intrigeri <intrigeri@boum.org>



Tags added: patch Request was from Ben Voui <intrigeri@boum.org> to control@bugs.debian.org. (Thu, 21 Jun 2007 12:36:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#429949; Package ept-cache. (full text, mbox, link).


Acknowledgement sent to intrigeri <intrigeri@boum.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #12 received at 429949@bugs.debian.org (full text, mbox, reply):

From: intrigeri <intrigeri@boum.org>
To: 429949@bugs.debian.org
Subject: Re: ept-cache: Please include a cronjob to reindex tags periodically
Date: Fri, 22 Jun 2007 13:48:44 +0200
Ben Voui wrote (21 Jun 2007 12:22:59 GMT) :
> +42 13 * * * root test -x /usr/bin/ept-cache && /usr/sbin/ept-cache --quiet reindex

Oooos, typo, the correct line is of course :
42 13 * * * root test -x /usr/bin/ept-cache && /usr/bin/ept-cache --quiet reindex

--
  intrigeri <intrigeri@boum.org>



Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#429949; Package ept-cache. (full text, mbox, link).


Acknowledgement sent to intrigeri <intrigeri@boum.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #17 received at 429949@bugs.debian.org (full text, mbox, reply):

From: intrigeri <intrigeri@boum.org>
To: 429949@bugs.debian.org
Subject: Re: ept-cache: Please include a cronjob to reindex tags periodically
Date: Sat, 23 Jun 2007 13:53:02 +0200
intrigeri wrote (22 Jun 2007 11:48:44 GMT) :
> Ben Voui wrote (21 Jun 2007 12:22:59 GMT) :
>> +42 13 * * * root test -x /usr/bin/ept-cache && /usr/sbin/ept-cache --quiet reindex
>
> Oooos, typo, the correct line is of course :
> 42 13 * * * root test -x /usr/bin/ept-cache && /usr/bin/ept-cache --quiet reindex

Sorry again, --quiet is not a valid option for the reindex command.
Please read :

42 13 * * * root test -x /usr/bin/ept-cache && /usr/bin/ept-cache reindex

I guess I should have filed the wishlist bug without such a buggy
patch...

Ciao,
--
  intrigeri <intrigeri@boum.org>
  | gnupg key @ http://intrigeri.boum.org/intrigeri.asc
  | Then we'll come from the shadows.




Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#429949; Package ept-cache. (full text, mbox, link).


Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #22 received at 429949@bugs.debian.org (full text, mbox, reply):

From: Enrico Zini <enrico@enricozini.org>
To: intrigeri <intrigeri@boum.org>, 429949@bugs.debian.org
Subject: Re: Bug#429949: ept-cache: Please include a cronjob to reindex tags periodically
Date: Thu, 28 Jun 2007 02:24:32 +0200
[Message part 1 (text/plain, inline)]
On Sat, Jun 23, 2007 at 01:53:02PM +0200, intrigeri wrote:

> Sorry again, --quiet is not a valid option for the reindex command.
> Please read :
> 42 13 * * * root test -x /usr/bin/ept-cache && /usr/bin/ept-cache reindex

Hi, thanks for the report.

I decide I'll eventually go for a cron.weekly job as the indexes should
degrade tolerably within a week, and the full reindexing is a bit time
consuming.

The idea is that I would like to avoid on my laptop to have anacron fire
a full ept-cache index rebuild every morning when I boot it up.

Let's see if once a week is acceptable.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>
[signature.asc (application/pgp-signature, inline)]

Reply sent to Enrico Zini <enrico@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ben Voui <intrigeri@boum.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 429949-close@bugs.debian.org (full text, mbox, reply):

From: Enrico Zini <enrico@debian.org>
To: 429949-close@bugs.debian.org
Subject: Bug#429949: fixed in libept 0.5.8
Date: Thu, 28 Jun 2007 00:47:02 +0000
Source: libept
Source-Version: 0.5.8

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

ept-cache_0.5.8_amd64.deb
  to pool/main/libe/libept/ept-cache_0.5.8_amd64.deb
libept-dev_0.5.8_amd64.deb
  to pool/main/libe/libept/libept-dev_0.5.8_amd64.deb
libept0_0.5.8_amd64.deb
  to pool/main/libe/libept/libept0_0.5.8_amd64.deb
libept_0.5.8.dsc
  to pool/main/libe/libept/libept_0.5.8.dsc
libept_0.5.8.tar.gz
  to pool/main/libe/libept/libept_0.5.8.tar.gz



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 429949@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Enrico Zini <enrico@debian.org> (supplier of updated libept 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 28 Jun 2007 02:30:17 +0200
Source: libept
Binary: libept0 ept-cache libept-dev
Architecture: source amd64
Version: 0.5.8
Distribution: unstable
Urgency: low
Maintainer: enrico@debian.org
Changed-By: Enrico Zini <enrico@debian.org>
Description: 
 ept-cache  - Commandline tool to search the package archive
 libept-dev - High-level library for managing Debian package information
 libept0    - High-level library for managing Debian package information
Closes: 416036 429949 430719
Changes: 
 libept (0.5.8) unstable; urgency=low
 .
   * Properly link with xapian.  Closes: bug#430719.
   * Fixed an alignment problem, that should make it work on hppa, ia64 and
     sparc
   * Added a weekly cron job to rebuild the indexes.  Closes: #429949.
   * Fixed building the developer documentation.  Closes: #416036.
Files: 
 62825ee1290b781321b2a9165ad1d596 924 libdevel optional libept_0.5.8.dsc
 af1b81105974f97b3bdabda2c9b7d8ec 1413676 libdevel optional libept_0.5.8.tar.gz
 ef4f52215e1e0d3d28f0951ef070d5aa 522582 libdevel optional libept-dev_0.5.8_amd64.deb
 48eb220de1e49a06d14ce10c998a39ee 177934 libs optional libept0_0.5.8_amd64.deb
 71af0f8ccd89dba5ecb57daceec90b26 99254 misc optional ept-cache_0.5.8_amd64.deb

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

iD8DBQFGgwMS9LSwzHl+v6sRAh7YAJ9Kv/OrNotEKWSOVWeAmOamS/ol8gCfQJFn
J1lIXDVShgBflNmnfvdttdo=
=YFM5
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#429949; Package ept-cache. (full text, mbox, link).


Acknowledgement sent to Tom Parker <palfrey@tevp.net>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #32 received at 429949@bugs.debian.org (full text, mbox, reply):

From: Tom Parker <palfrey@tevp.net>
To: 429949@bugs.debian.org
Subject: Cronjob keeps telling me "No such file or directory. Context: opening index file /root/.debtags/vocabulary.idx"
Date: Tue, 10 Jul 2007 15:00:15 +0200
Package: ept-cache
Version: 0.5.10
Severity: normal

--- Please enter the report below this line. ---
Weekly cronjob keeps telling me "No such file or directory. Context: 
opening index file /root/.debtags/vocabulary.idx". I don't have debtags 
installed. Theoretically, the --quiet option might fix this, but it 
doesn't work (I've just filed another bug report about that).

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.20-1-686

Debian Release: 4.0
  990 stable          security.debian.org
  990 stable          ftp.nl.debian.org
   99 experimental    ftp.nl.debian.org
   97 feisty          archive.ubuntu.com
  103 testing         ftp.nl.debian.org
  102 unstable        www.fluendo.com
  102 unstable        www.debian-multimedia.org
  102 unstable        ftp.nl.debian.org

--- Package information. ---
Depends                                  (Version) | Installed
==================================================-+-======================
libapt-pkg-libc6.5-6-4.4                           |
libc6                                   (>= 2.5-5) | 2.5-11
libept0                                (>= 0.5.10) | 0.5.10
libgcc1                        (>= 1:4.2-20070516) | 1:4.2-20070627-1
libstdc++6                       (>= 4.2-20070516) | 4.2-20070627-1
libxapian15                                        | 1.0.1-1
zlib1g                       (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-3


-- 
palfrey@tevp.net - http://tevp.net
Illegitimus non carborundum



Changed Bug submitter to 'intrigeri@debian.org' from 'Ben Voui <intrigeri@boum.org>' Request was from intrigeri@debian.org to control@bugs.debian.org. (Sat, 07 Jan 2012 12:13:22 GMT) (full text, mbox, link).


No longer marked as found in versions libept/0.5.10. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 02 Nov 2013 15:57:32 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 01 Dec 2013 07:35:46 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:34:24 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.