- add REPOKEY_TYPE_DELETED, to be implemented...
[platform/upstream/libsolv.git] / src / knownid.h
index d74eb3e..461e7ef 100644 (file)
@@ -57,6 +57,7 @@ KNOWNID(SYSTEM_SYSTEM,                        "system:system"),
 KNOWNID(ARCH_SRC,                      "src"),
 KNOWNID(ARCH_NOSRC,                    "nosrc"),
 KNOWNID(ARCH_NOARCH,                   "noarch"),
+KNOWNID(ARCH_ALL,                      "all"),
 
 KNOWNID(REPOSITORY_SOLVABLES,          "repository:solvables"),
 KNOWNID(REPOSITORY_DELTAINFO,          "repository:deltainfo"),
@@ -94,6 +95,7 @@ KNOWNID(REPOKEY_TYPE_SHA1,            "repokey:type:sha1"),
 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"),
@@ -139,10 +141,11 @@ KNOWNID(SOLVABLE_ORDER,                   "solvable:order"),
 
 KNOWNID(UPDATE_REBOOT,                 "update:reboot"),       /* reboot suggested (kernel update) */
 KNOWNID(UPDATE_RESTART,                        "update:restart"),      /* restart suggested (update stack update) */
-KNOWNID(UPDATE_RELOGIN,                        "update:relogin"),      /* restart suggested (update stack update) */
+KNOWNID(UPDATE_RELOGIN,                        "update:relogin"),      /* relogin suggested */
 
-KNOWNID(UPDATE_MESSAGE,                        "update:message"),      /* restart suggested (update stack update) */
-                                                                       /* 'content' of patch, usually list of packages */
+KNOWNID(UPDATE_MESSAGE,                        "update:message"),      /* informative message */
+
+/* 'content' of patch, usually list of packages */
 KNOWNID(UPDATE_COLLECTION,             "update:collection"),          /*  "name evr arch" */
 KNOWNID(UPDATE_COLLECTION_NAME,                "update:collection:name"),     /*   name */
 KNOWNID(UPDATE_COLLECTION_EVR,         "update:collection:evr"),      /*   epoch:version-release */
@@ -157,6 +160,7 @@ KNOWNID(UPDATE_REFERENCE_ID,                "update:reference:id"),         /*  id, e.g. bug number *
 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"),
@@ -165,24 +169,38 @@ KNOWNID(PRODUCT_URL,                      "product:url"),
 KNOWNID(PRODUCT_URL_TYPE,              "product:url:type"),
 KNOWNID(PRODUCT_FLAGS,                 "product:flags"),
 KNOWNID(PRODUCT_PRODUCTLINE,           "product:productline"),
-KNOWNID(PRODUCT_UPDATEREPOKEY,         "product:updaterepokey"),
 KNOWNID(PRODUCT_REGISTER_TARGET,       "product:regtarget"),
 KNOWNID(PRODUCT_REGISTER_RELEASE,      "product:regrelease"),
 
 /* argh */
 KNOWNID(SUSETAGS_DATADIR,              "susetags:datadir"),
+KNOWNID(SUSETAGS_DESCRDIR,             "susetags:descrdir"),
+KNOWNID(SUSETAGS_DEFAULTVENDOR,                "susetags:defaultvendor"),
+KNOWNID(SUSETAGS_FILE,                 "susetags:file"),
+KNOWNID(SUSETAGS_FILE_NAME,            "susetags:file:name"),
+KNOWNID(SUSETAGS_FILE_TYPE,            "susetags:file:type"),
+KNOWNID(SUSETAGS_FILE_CHECKSUM,                "susetags:file:checksum"),
 
 /* timestamp then the repository was generated */
 KNOWNID(REPOSITORY_TIMESTAMP,          "repository:timestamp"),
 /* hint when the metadata could be outdated
    w/respect to generated timestamp */
 KNOWNID(REPOSITORY_EXPIRE,             "repository:expire"),
-/* which things does this repo provides updates for, if it does */
+
+/* which things does this repo provides updates for, if it does (array) */
 KNOWNID(REPOSITORY_UPDATES,            "repository:updates"),
-/* which products this repository is supposed to be for */
-KNOWNID(REPOSITORY_PRODUCTS,           "repository:products"),
+/* for the repository:update label and cpeid, use the repository:product
+   sub attributes */
+
+/* which products this repository is supposed to be for (array) */
+KNOWNID(REPOSITORY_DISTROS,            "repository:distros"),
+KNOWNID(REPOSITORY_PRODUCT_LABEL,       "repository:product:label"),
+KNOWNID(REPOSITORY_PRODUCT_CPEID,      "repository:product:cpeid"),
+
 /* keyword (tags) for this repository */
 KNOWNID(REPOSITORY_KEYWORDS,           "repository:keywords"),
+/* revision of the repository. arbitrary string */
+KNOWNID(REPOSITORY_REVISION,           "repository:revision"),
 
 KNOWNID(DELTA_PACKAGE_NAME,            "delta:pkgname"),
 KNOWNID(DELTA_PACKAGE_EVR,             "delta:pkgevr"),
@@ -198,6 +216,21 @@ KNOWNID(DELTA_SEQ_NAME,                    "delta:seqname"),
 KNOWNID(DELTA_SEQ_EVR,                 "delta:seqevr"),
 KNOWNID(DELTA_SEQ_NUM,                 "delta:seqnum"),
 
+/* XXX: shouldn't use a real ID */
+KNOWNID(NAMESPACE_PRODUCTBUDDY,         "namespace:productbuddy"),
+
+KNOWNID(REPOSITORY_REPOMD,             "repository:repomd"),
+KNOWNID(REPOSITORY_REPOMD_TYPE,                "repository:repomd:type"),
+KNOWNID(REPOSITORY_REPOMD_LOCATION,    "repository:repomd:location"),
+KNOWNID(REPOSITORY_REPOMD_TIMESTAMP,   "repository:repomd:timestamp"),
+KNOWNID(REPOSITORY_REPOMD_CHECKSUM,    "repository:repomd:checksum"),
+KNOWNID(REPOSITORY_REPOMD_OPENCHECKSUM,        "repository:repomd:openchecksum"),
+
+KNOWNID(PUBKEY_KEYID,                  "pubkey:keyid"),
+KNOWNID(PUBKEY_FINGERPRINT,            "pubkey:fingerprint"),
+KNOWNID(PUBKEY_EXPIRES,                        "pubkey:expires"),
+KNOWNID(PUBKEY_SIGNATURES,             "pubkey:signatures"),
+
 KNOWNID(ID_NUM_INTERNAL,               0)
 
 #ifdef KNOWNID_INITIALIZE