From: Bryan G. <bry...@hp...> - 2009-03-12 12:58:15
|
FYI, I'm going to go ahead and get ready to snapshot our current bits as a 4.2 release here shortly, complete with packages, etc. But as a follow-on to this to thread (and for our 4.3 development), I have taken an RFC-ish stab (albeit certainly not completely thought through nor implemented) at a new format for our distmap file to accomplish this. At a minimum, we'd need some perl code/library to parse (and maybe even create entries), which we could hopefully re-use for some other related projects. Nothing is sacred in this proposal, and modifications to make the coding/API/access easier is all fair game. OSVendKeyword Tag = {EquivalentList(AlsoKnownAsList)} ^ ^ ^ distro | list of lists version | arch | value (assumedly, we'd do lower case shift for all internal code comparisons) and can reference next higher level of hierarchy distro = distroA version distroA = ver1 arch ver1 = An ability to wildcard or * case would also be nice (like for aliasing amd64 <-> x86_64). Hear are some example entries: ----------------------------------- cut here ----------------------------------- distro Debian = debian version Debian = sid(unstable),woody(3.0),sarge(3.1),etch(4.0),lenny(stable,5.0),squeeze(testing,6.0), ... arch Debian = amd64(x86_64),hppa(parisc),i386(i486,i586,i686) ----------------------------------- cut here ----------------------------------- distro RedHat = redhat,RedHatEnterpriseServer,RedHatEnterpriseClient,RedHatEnter priseWS, ... version RedHat = 2.1AS,2.1ES,2.1WS,3.0AS,3.0AS-U1, ..., 4AS,4AS-U1, ..., 5Server,5.1 Server, .. version RedHatEnterpriseWS = 4 version RedHatEnterpriseServer = 5,5.1,5.2,5.3(Tikanga) ... version RedHatEnterpriseClient = 5,5.1,5.2, ... arch RedHat = i386, x86_64, ia64 |