Only download yum files if they're not there.
1 Towards replacing rpm + yum (0.1):
5 - rpm file parser, create repo command
9 - versions in depsolving
13 - merge file lists when merging package sets
17 - figure out how to canonically represent empty string... ~0?
19 - space calculation before transaction, but ideally, do a number of
22 - pre-link changing binaries and libs on disk screwing up checksum?
26 - eliminate duplicate entries in package property lists.
28 - keep history of installed packages/journal of package transaction,
29 so we can roll back to yesterday, or see what got installed in the
32 - gzip repository of look-aside pkg xml files somehow?
34 - transactions, proper recovery, make sure we don't poop our package
35 database (no more rm /var/lib/rpm/__cache*).
37 - rewrite qsort and bsearch that doesn't require global context var
38 and can output a map describing the permutaion.
40 - use hash table for package and property lists so we only store
41 unique lists (like for string pool).
43 - use existing, running system as repo; eg
45 razor update razor://other-box.local evince
47 to pull eg the latest evince and dependencies from another box. We
48 should be able to regenerate a rzr pkg from the system so we can
49 reuse the signature from the originating repo.
51 - Ok, maybe the fastest package set merge method in the end is to use
52 the razor_importer, but use a hash table for the properties. This
53 way we can assign them unique IDs immediately (like tokenizing
56 - test suite should be easy, just keep .repo files around and test
57 different type of upgrades that way (obsoletes, conflicts, file
58 conflicts, file/dir problems etc). Or maybe just keep a simple file
59 format ad use a custom importer to create the .repo files.
61 - pipelined download and install; download is network bound, install
62 is disk bound. Start installing once we have self-contained set of
63 packages. Install in reverse topo-sort order. Interruptible
64 installation; stops at nearest checkpoint.
66 - split out hash table code from importer, make the merger use just
71 do { ... } while (((e++)->name & RAZOR_ENTRY_LAST) == 0);
73 idiom for iteration of directories.
75 - version the sections in the file, put the element size in the header
76 so we can add stuff to elements in a backwards compatible way.
78 - overlay package sets? mount a read-only /usr over nfs or from the
79 virt-host and have a local package set overlaid over the read-only
80 one. shouldn't need new features in the core package set data
81 structure, but should be just conventions on top. we have the base
82 package set from the r/o system, the overlay set from the local
83 system and we can have an effective package set which is the merge
84 of everything from the overlay into the base set. the effective set
85 is easy to compute and we could do it on the fly or cache it. or
86 maybe the effective set is the on-disk representation and the
87 overlay can be computed when needed, we just keep a link back to the
90 - incremental rawhide repo updates? instead of downloading 10MB zipped
91 repo every time, download a diff repo?