Also, two warnings:
- I didn't really think about what needs to go in the database. (In other words, makedb.sh is a complete hack.)
- figuring out the active sources is also a hack, because I was lazy to fugure out how to use libapt from C; it may be worth using it unless it significantly slows down the problem (>50ms for one run is too much in my opinion)
and a note
- I intentionally sort the output somewhat differently. The criteria are: priority.txt, source, name of command, name of package.
Bugfix.
Also, two warnings:
- I didn't really think about what needs to go in the database. (In other words, makedb.sh is a complete hack.)
- figuring out the active sources is also a hack, because I was lazy to fugure out how to use libapt from C; it may be worth using it unless it significantly slows down the problem (>50ms for one run is too much in my opinion)
and a note
- I intentionally sort the output somewhat differently. The criteria are: priority.txt, source, name of command, name of package.