web commit by http://camrdale.myopenid.com/: Add new wishlist item for parsing debian...
[ikiwiki] / doc / todo / parse_debian_packages.mdwn
1 A parser, similar in functionality to [[plugins/inline]] that would find
2 and parse debian packages from a repository and include links to
3 them. Functionality would be similar to the
4 [PHP Apt-file parser](http://php-apt-parser.alioth.debian.org/)
5 (for an example of the output, see
6 [my repository](http://debian.camrdale.org/)). This would create
7 a helpful index page to a small repository, listing all the
8 packages, and possibly their descriptions as well, with links to
9 download them or their sources.
10
11 I think this is easily possible (and I might be able to work on
12 it myself, though Perl is not my strong suit). The trickiest
13 part is probably figuring out how and when to parse the packages.
14 The packages could be included in the ikiwiki RCS repository,
15 which might be difficult when the Packages/Release files need to
16 be generated (especially if it's via an external tool like
17 reprepro/debarchiver/etc.). Or, the packages could be kept
18 separate, with only a link given to the plugin, though changes
19 would then not be picked up until the ikiwiki is recompiled.
20
21 Perhaps a better (though infinitely more complicated) solution
22 would be to include the reprepro/debarchiver functionality in
23 ikiwiki. Packages could be posted, like blog entries, and tagged
24 with the target distribution (sid/lenny/etc.). Then compiling
25 ikiwiki would generate the needed Packages/Release files
26 automatically.
27
28 Just some thoughts I had, hope it's not too crazy.<br>
29 --Cameron