~ubuntu-branches/ubuntu/precise/apt-xapian-index/precise-updates

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Zini
  • Date: 2009-07-15 11:44:24 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090715114424-0a1q0o8lld60z14d
Tags: 0.22
* 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Make a python module for python-debian
 
2
 - function to read the value database
 
3
 - function to open the database read-only
 
4
 
 
5
Add a --stop option to stop a running update-apt-xapian-index
 
6
 
 
7
- Disabling the update in postinst via a preseedable debconf
 
8
  low-priority question
 
9
 
 
10
 
 
11
Date the package was last touched (from the "Latest News" section of the QA
 
12
page, e.g.: http://packages.qa.debian.org/g/geomview.html)
 
13
 
 
14
Index as a post-hook of dpkg/aptitude/apt/whatever the first installation date of packages (and also the last upgrade date)
 
15
 
 
16
Debstemming: only needed indexing-side, can be done by a plugin and integrated with extra keywords installed by packages in a lintian-override kind of way
 
17
 
 
18
 
 
19
Downloading extra fluff:
 
20
 - scheduling rate
 
21
 - one pkg per source or kind of source
 
22
 
 
23
Three phases:
 
24
 - fetch
 
25
    - get apt to do it, if possible
 
26
 - run integration script
 
27
    - get apt to run them fetcher style, in parallel, if possible
 
28
 - index by update-apt-xapian-index
 
29
    - get it to be done after integration scripts have been run
 
30
 
 
31
Reporting status (syntaxes to be reused):
 
32
 - dpkg has --status-fd with some format
 
33
 - apt fetchers report status as well somehow
 
34
 
 
35
Source lines in /etc/apt/sources.list
 
36
 - could be added in /etc/apt/sources.list.d if it exists
 
37
 - could be added in postinst, commented out on remove and removed on purge
 
38
   (possibly using patch, or maybe ucf)
 
39
 - could be added as a separate sources.list activated by an apt.conf.d entry
 
40
 
 
41
Detecting last install/upgrade time
 
42
 - check what time /var/lib/dpkg/PKGNAME.list gets created
 
43
    - checking its mtime for upgrade
 
44
    - useful for weekly builds
 
45
 - dpkg hooks (like man hooks) if possible to run on every package
 
46
    - useful for incremental updates