static const char *initpool_data[] = {
#else
# define KNOWNID(a, b) a
-enum sat_knownid {
+enum solv_knownid {
#endif
KNOWNID(ID_NULL, "<NULL>"),
KNOWNID(ARCH_SRC, "src"),
KNOWNID(ARCH_NOSRC, "nosrc"),
KNOWNID(ARCH_NOARCH, "noarch"),
+KNOWNID(ARCH_ALL, "all"),
+KNOWNID(ARCH_ANY, "any"),
KNOWNID(REPOSITORY_SOLVABLES, "repository:solvables"),
KNOWNID(REPOSITORY_DELTAINFO, "repository:deltainfo"),
KNOWNID(REPOKEY_TYPE_U32, "repokey:type:num32"),
KNOWNID(REPOKEY_TYPE_DIR, "repokey:type:dir"),
KNOWNID(REPOKEY_TYPE_STR, "repokey:type:str"),
+KNOWNID(REPOKEY_TYPE_BINARY, "repokey:type:binary"),
KNOWNID(REPOKEY_TYPE_IDARRAY, "repokey:type:idarray"),
KNOWNID(REPOKEY_TYPE_REL_IDARRAY, "repokey:type:relidarray"),
KNOWNID(REPOKEY_TYPE_DIRSTRARRAY, "repokey:type:dirstrarray"),
KNOWNID(REPOKEY_TYPE_SHA256, "repokey:type:sha256"),
KNOWNID(REPOKEY_TYPE_FIXARRAY, "repokey:type:fixarray"),
KNOWNID(REPOKEY_TYPE_FLEXARRAY, "repokey:type:flexarray"),
+KNOWNID(REPOKEY_TYPE_DELETED, "repokey:type:deleted"),
KNOWNID(SOLVABLE_SUMMARY, "solvable:summary"),
KNOWNID(SOLVABLE_DESCRIPTION, "solvable:description"),
KNOWNID(SOLVABLE_BUILDTIME, "solvable:buildtime"),
KNOWNID(SOLVABLE_BUILDHOST, "solvable:buildhost"),
KNOWNID(SOLVABLE_EULA, "solvable:eula"),
-KNOWNID(SOLVABLE_CPE_ID, "solvable:cpeid"),
+KNOWNID(SOLVABLE_CPEID, "solvable:cpeid"),
KNOWNID(SOLVABLE_MESSAGEINS, "solvable:messageins"),
KNOWNID(SOLVABLE_MESSAGEDEL, "solvable:messagedel"),
KNOWNID(SOLVABLE_INSTALLSIZE, "solvable:installsize"),
KNOWNID(SOLVABLE_SOURCENAME, "solvable:sourcename"),
KNOWNID(SOLVABLE_SOURCEEVR, "solvable:sourceevr"),
KNOWNID(SOLVABLE_ISVISIBLE, "solvable:isvisible"),
+KNOWNID(SOLVABLE_TRIGGERS, "solvable:triggers"),
KNOWNID(SOLVABLE_CHECKSUM, "solvable:checksum"),
KNOWNID(SOLVABLE_PKGID, "solvable:pkgid"), /* pkgid: md5sum over header + payload */
KNOWNID(SOLVABLE_HDRID, "solvable:hdrid"), /* hdrid: sha1sum over header only */
KNOWNID(SOLVABLE_PATCHCATEGORY, "solvable:patchcategory"),
KNOWNID(SOLVABLE_HEADEREND, "solvable:headerend"),
+KNOWNID(SOLVABLE_CHANGELOG, "solvable:changelog"),
+KNOWNID(SOLVABLE_CHANGELOG_AUTHOR, "solvable:changelog:author"),
+KNOWNID(SOLVABLE_CHANGELOG_TIME, "solvable:changelog:time"),
+KNOWNID(SOLVABLE_CHANGELOG_TEXT, "solvable:changelog:text"),
+
/* stuff for solvables of type pattern */
KNOWNID(SOLVABLE_CATEGORY, "solvable:category"),
KNOWNID(UPDATE_RELOGIN, "update:relogin"), /* relogin suggested */
KNOWNID(UPDATE_MESSAGE, "update:message"), /* informative message */
+KNOWNID(UPDATE_SEVERITY, "update:severity"), /* "Important", ...*/
+KNOWNID(UPDATE_RIGHTS, "update:rights"), /* copyright */
/* 'content' of patch, usually list of packages */
KNOWNID(UPDATE_COLLECTION, "update:collection"), /* "name evr arch" */
KNOWNID(UPDATE_REFERENCE_TITLE, "update:reference:title"), /* title, e.g. "the bla forz scribs on fuggle" */
/* name */
-KNOWNID(PRODUCT_REFERENCEFILE, "product:referencefile"),
-KNOWNID(PRODUCT_SHORTLABEL, "product:shortlabel"),
-KNOWNID(PRODUCT_DISTPRODUCT, "product:distproduct"),
-KNOWNID(PRODUCT_DISTVERSION, "product:distversion"),
-KNOWNID(PRODUCT_TYPE, "product:type"),
+KNOWNID(PRODUCT_REFERENCEFILE, "product:referencefile"), /* installed product only */
+KNOWNID(PRODUCT_SHORTLABEL, "product:shortlabel"), /* not in repomd? */
+KNOWNID(PRODUCT_DISTPRODUCT, "product:distproduct"), /* obsolete */
+KNOWNID(PRODUCT_DISTVERSION, "product:distversion"), /* obsolete */
+KNOWNID(PRODUCT_TYPE, "product:type"), /* not in repomd? */
KNOWNID(PRODUCT_URL, "product:url"),
KNOWNID(PRODUCT_URL_TYPE, "product:url:type"),
-KNOWNID(PRODUCT_FLAGS, "product:flags"),
-KNOWNID(PRODUCT_PRODUCTLINE, "product:productline"),
-KNOWNID(PRODUCT_REGISTER_TARGET, "product:regtarget"),
-KNOWNID(PRODUCT_REGISTER_RELEASE, "product:regrelease"),
+KNOWNID(PRODUCT_FLAGS, "product:flags"), /* code10 repo flags? obsolete? */
+KNOWNID(PRODUCT_PRODUCTLINE, "product:productline"), /* installed product only */
+KNOWNID(PRODUCT_REGISTER_TARGET, "product:regtarget"), /* installed product only */
+KNOWNID(PRODUCT_REGISTER_RELEASE, "product:regrelease"), /* installed product only */
/* argh */
KNOWNID(SUSETAGS_DATADIR, "susetags:datadir"),
KNOWNID(SUSETAGS_FILE_NAME, "susetags:file:name"),
KNOWNID(SUSETAGS_FILE_TYPE, "susetags:file:type"),
KNOWNID(SUSETAGS_FILE_CHECKSUM, "susetags:file:checksum"),
+KNOWNID(SUSETAGS_SHARE_NAME, "susetags:share:name"),
+KNOWNID(SUSETAGS_SHARE_EVR, "susetags:share:evr"),
+KNOWNID(SUSETAGS_SHARE_ARCH, "susetags:share:arch"),
+
/* timestamp then the repository was generated */
KNOWNID(REPOSITORY_TIMESTAMP, "repository:timestamp"),
KNOWNID(REPOSITORY_DISTROS, "repository:distros"),
KNOWNID(REPOSITORY_PRODUCT_LABEL, "repository:product:label"),
KNOWNID(REPOSITORY_PRODUCT_CPEID, "repository:product:cpeid"),
+KNOWNID(REPOSITORY_REPOID, "repository:repoid"), /* obsolete? */
/* keyword (tags) for this repository */
KNOWNID(REPOSITORY_KEYWORDS, "repository:keywords"),
/* revision of the repository. arbitrary string */
KNOWNID(REPOSITORY_REVISION, "repository:revision"),
+KNOWNID(REPOSITORY_TOOLVERSION, "repository:toolversion"),
KNOWNID(DELTA_PACKAGE_NAME, "delta:pkgname"),
KNOWNID(DELTA_PACKAGE_EVR, "delta:pkgevr"),
KNOWNID(REPOSITORY_REPOMD_TIMESTAMP, "repository:repomd:timestamp"),
KNOWNID(REPOSITORY_REPOMD_CHECKSUM, "repository:repomd:checksum"),
KNOWNID(REPOSITORY_REPOMD_OPENCHECKSUM, "repository:repomd:openchecksum"),
+KNOWNID(REPOSITORY_REPOMD_SIZE, "repository:repomd:size"),
+
+KNOWNID(PUBKEY_KEYID, "pubkey:keyid"),
+KNOWNID(PUBKEY_FINGERPRINT, "pubkey:fingerprint"),
+KNOWNID(PUBKEY_EXPIRES, "pubkey:expires"),
+KNOWNID(PUBKEY_SIGNATURES, "pubkey:signatures"),
+KNOWNID(SOLVABLE_MEDIABASE, "solvable:mediabase"), /* <location xml:base=... > */
+
+KNOWNID(PUBKEY_DATA, "pubkey:data"),
+
+KNOWNID(SIGNATURE_ISSUER, "signature:issuer"),
+KNOWNID(SIGNATURE_TIME, "signature:time"),
+KNOWNID(SIGNATURE_EXPIRES, "signature:expires"),
+KNOWNID(SIGNATURE_DATA, "signature:data"),
KNOWNID(ID_NUM_INTERNAL, 0)