diff options
author | Enrico Zini <enrico@enricozini.org> | 2015-06-18 10:30:42 +0200 |
---|---|---|
committer | Enrico Zini <enrico@enricozini.org> | 2015-06-18 10:32:23 +0200 |
commit | ee843d09ffa03ec31a47d14e5bc044ac30e07720 (patch) | |
tree | 1750835dc407eb3bee835598e813eb50af07a5fc | |
parent | 31e61801f7b29984777cc7d8260e2378a36e0f4e (diff) | |
download | libept-ee843d09ffa03ec31a47d14e5bc044ac30e07720.tar.gz |
Remove ept-cache
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 11 | ||||
-rw-r--r-- | debian/ept-cache.docs | 1 | ||||
-rw-r--r-- | debian/ept-cache.install | 1 | ||||
-rw-r--r-- | debian/ept-cache.maintscript | 1 | ||||
-rw-r--r-- | debian/ept-cache.postinst | 12 | ||||
-rw-r--r-- | doc/FAQ | 25 | ||||
-rw-r--r-- | tools/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | tools/ept-cache | 8 |
9 files changed, 1 insertions, 61 deletions
diff --git a/debian/changelog b/debian/changelog index f3f7175..526244b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ libept (1.0.13) UNRELEASED; urgency=medium - local patches are not supported anymore - tag and vocabulary merging are not supported anymore - removed support for patched collections + * Removed obsolete package ept-cache. Closes: #436748 -- Enrico Zini <enrico@debian.org> Thu, 18 Jun 2015 01:26:01 +0200 diff --git a/debian/control b/debian/control index abfb900..bfea488 100644 --- a/debian/control +++ b/debian/control @@ -53,14 +53,3 @@ Description: High-level library for managing Debian package information * The Xapian index built by apt-xapian-index . This is the shared library. - -Package: ept-cache -Architecture: all -Section: misc -Pre-Depends: ${misc:Pre-Depends} -Depends: ${shlibs:Depends}, ${misc:Depends}, apt-xapian-index (>= 0.30) -Recommends: debtags -Description: Obsolete commandline tool to search the package archive - ept-cache has been superseded by axi-cache, provided by apt-xapian-index. - . - This package provides a dummy ept-cache script that just call axi-cache. diff --git a/debian/ept-cache.docs b/debian/ept-cache.docs deleted file mode 100644 index 7cfd8c2..0000000 --- a/debian/ept-cache.docs +++ /dev/null @@ -1 +0,0 @@ -doc/FAQ diff --git a/debian/ept-cache.install b/debian/ept-cache.install deleted file mode 100644 index 468332f..0000000 --- a/debian/ept-cache.install +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/bin/ diff --git a/debian/ept-cache.maintscript b/debian/ept-cache.maintscript deleted file mode 100644 index 35700ff..0000000 --- a/debian/ept-cache.maintscript +++ /dev/null @@ -1 +0,0 @@ -rm_conffile /etc/cron.weekly/ept-cache 1.0.1 diff --git a/debian/ept-cache.postinst b/debian/ept-cache.postinst deleted file mode 100644 index 4cece22..0000000 --- a/debian/ept-cache.postinst +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "configure" ]; then - if [ -d /var/lib/apt-xapian ]; then - echo "Removing old index /var/lib/apt-xapian..." - rm -r /var/lib/apt-xapian - fi -fi - -#DEBHELPER# diff --git a/doc/FAQ b/doc/FAQ deleted file mode 100644 index 9c36897..0000000 --- a/doc/FAQ +++ /dev/null @@ -1,25 +0,0 @@ -Frequently Asked Questions for ept-cache -======================================== - -Q: How does ept-cache related work? -A: The 'related' function of ept-cache relies on the Xapian index and works - like this: - 1. Look up the Xapian records for all the package names given in the - command line; - 2. Fetch all the tokens indexed for all the packages given, and build an OR - query with all those tokens; - 3. Output the results of the query. - -Q: How come the results of ept-cache seem to be in random order? -A: By default, ept-cache gives results in decreasing order of relevance. - Simply put, it gives the best results first. - - ept-cache, however, allows query results to degenerate into less and less - approximate matches, and sometimes this leads to a point where results start - to look random. - - If you want to have an idea of what is going on, use the --debug option to - see how the quality cutoff point is computed, then the --full option to - see the Search-Score: values. You can also use --cutoff to set a higher - quality cutoff value (default is to show results that are at least 50% as - good as the top result). diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 6ec14fe..33a4a6f 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -7,5 +7,3 @@ add_executable( pkglist pkglist.cpp ) set( bindir ${CMAKE_CURRENT_BINARY_DIR} ) set( srcdir ${CMAKE_CURRENT_SOURCE_DIR} ) - -install( PROGRAMS ept-cache DESTINATION bin ) diff --git a/tools/ept-cache b/tools/ept-cache deleted file mode 100755 index ee0cf2f..0000000 --- a/tools/ept-cache +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -echo "*******************************************" >&2 -echo "ept-cache has been obsolteted by axi-cache." >&2 -echo "This script just invokes axi-cache." >&2 -echo "Please run axi-cache instead of ept-cache." >&2 -echo "*******************************************" >&2 -echo "" >&2 -exec axi-cache "$@" |