File: TODO

package info (click to toggle)
apt-cacher-ng 0.8.0-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,768 kB
  • ctags: 1,640
  • sloc: cpp: 14,741; ansic: 462; perl: 376; sh: 357; makefile: 88
file content (72 lines) | stat: -rw-r--r-- 2,881 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

TODO:

Move signal handler to signalfd (on Linux) or a pipe fed from a basic signal
handler (replacement for non-Linux). Current solution still has potential for dead-locking.

Add custom job trigger with a command file plus fifo file (for output). This
might be triggered by SIGUSR2.

Fix URL parser to cope with more combinations of encoded chars (specially in user:pass part)

Use Base64 pre-encoded userpass strings in host descriptors and proxy information

Make better secure mechanism to trigger maint jobs. The current one requires faked website authentication, etc.
Should use local methods instead, maybe passing a config file with commands via
filesystem which is only readable/writtable to apt-cacher-ng and push it via
signal?

No cancel button in attached mode of maint pages

Use cache control headers where possible

[for s.] root startup and EUID changing for privileged port use
[maybe, what was the urgent reason again...?!] Don't die if at leat one socket was open on start. Plus, retry to open sockets on HUP. document this... ifup can send hups?!
[debian] don't install acngfs manpage on hurd... or finally fix and build acngfs for hurd

> And after a code review yesterday I think the html log is still not a
> bad idea. It still needs some cosmetical fixes.
It has advantages.  Would be neat if it could be served by
http://<server ID>:3142/logs.html (or something like that).  It would
have to generate a pick-list of the
/var/log/apt-cacher-ng/maint_*.log.html files ...

 - integrate generic mirror checker from Rakhesh

 - rethink option syntax of acngfs

 - consider creating Debian and Ubuntu security mirror setup, like:
 Remap-ubusec: file:ubuntu_security /ubuntu-security ; http://security.ubuntu.com/ubuntu

 - (maybe) get the additional index files for i18n (Translation*) and d-i files
   and parse them in expiration

 - better control of reconnect attempts limitation (recon. count) (Prio: low,
   external motivation required)

 - support detection and temporary or permanent blacklisting of dead peers,
   configurable with number of retries, maybe using background ping job or sth.
   (Prio: low, external motivation required) 

 - Document all options in the manpage (Prio: low)

 - (maybe) for import: smart mirror structure discovery... if _$ARCH.deb found but no
   binary-$ARCH data for them, try to locate binary-$ARCH folder positions in
   the cache

 - dynamic update/scrolling of the log pages

For 0.9:

 - Add Backports.org profile to the lists? Debian-Ports? Anything else?

 - For import, make it more controlable. Control page should offer checkboxes:
[] Thrust old apt-cacher metadata if found (skip file verification)
[] Forced copy of imported index files (overwrites existing!)
[] Optimistic Precaching Strategy

 - write installation makefile target

For 1.0:

list the last error messages in the summary of maint logs