Changes between Version 5 and Version 6 of dev/NewRepoDataIdeas

Show
Ignore:
Author:
skvidal (IP: 98.122.161.79)
Timestamp:
06/08/10 21:55:49 (8 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dev/NewRepoDataIdeas

    v5 v6  
    66One of the goals of this discussion is to see if we can strike a happy medium between huge chunks of data and searchability. 
    77 
     8== use cases == 
     9 * yum install something 
     10   * yum needs to see pkginfo, provides and filenames in the /bin, /sbin, /usr/bin, /usr/sbin paths in the vast majority of cases 
     11 * yum list pkgglob 
     12   * needs to see pkginfo 
     13 * yum list updates 
     14   * needs to see pkginfo + obsoletes 
     15 * yum provides something 
     16   * needs to see pkginfo + provides + filelists - potentially ALL of the filelists if a glob starts the string 
     17 * yum update 
     18   * needs to see pkginfo + obsoletes 
     19 
     20depsolving will need, filelists per-pkg or a subset of file-reqs files. 
     21 
     22others? 
    823== filelists - break them up == 
    924filelists broken out by paths so you don't have to download a huge glop of the complete filelists just to find out who owns /foo/baz 
    6580 
    6681        provides.sqlite <-- provides: providename + flags + evr 
    67         requires.sqlite <-- requires: requiresname + flags + evr + prereq 
    68         conflicts_obsoletes.sqlite <-- conflicts and obsoletes (name, flags, evr) 
     82        req_conf_obs.sqlite <-- putting requires,conflicts and obsoletes in on db - multiple tables b/c you need them all at the same time 
    6983        files_by_path.xml <-- index file to point to the files-by-path 
    7084              path_it_holds + filename + checksum, per file