make REPOSITORY_REVISION a simple string
authorMichael Schroeder <mls@suse.de>
Fri, 7 Jun 2013 14:05:43 +0000 (16:05 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 7 Jun 2013 14:05:43 +0000 (16:05 +0200)
doc/libsolv-bindings.3
doc/libsolv-constantids.3
doc/libsolv-constantids.txt
ext/repo_repomdxml.c

index a6c7b14..a44fc0f 100644 (file)
@@ -370,7 +370,7 @@ The keyname Id of the name of the solvable\&.
 .PP
 \fB\&...\fR
 .RS 4
-see the libsolv\-knownid manpage for a list of fixed Ids\&.
+see the libsolv\-constantids manpage for a list of fixed Ids\&.
 .RE
 .SH "THE POOL CLASS"
 .sp
index 04b2f8a..cb35aeb 100644 (file)
@@ -744,17 +744,17 @@ The cpeid of the platform updated by this repository\&. Is both used in REPOSITO
 .PP
 \fBREPOSITORY_REPOID "repository:repoid"\fR
 .RS 4
-An array of Id strings describing this repository\&.
+An array of Id strings describing keywords/tags about the repository itself\&.
 .RE
 .PP
 \fBREPOSITORY_KEYWORDS "repository:keywords"\fR
 .RS 4
-An array of Id strings describing keywords of this repository\&.
+An array of Id strings describing keywords/tags about the content of the repository\&.
 .RE
 .PP
 \fBREPOSITORY_REVISION "repository:revision"\fR
 .RS 4
-One or more(?) arbitrary revision strings describing the revision of the repository\&.
+An arbitrary string describing the revision of the repository\&.
 .RE
 .PP
 \fBREPOSITORY_TOOLVERSION "repository:toolversion"\fR
index 7e4f885..f4d59a9 100644 (file)
@@ -563,14 +563,15 @@ This attributes contain meta information about the repository.
   in REPOSITORY_UPDATES and REPOSITORY_DISTROS to maximize confusion.
 
 *REPOSITORY_REPOID "repository:repoid"*::
-  An array of Id strings describing this repository.
+  An array of Id strings describing keywords/tags about the repository
+  itself.
 
 *REPOSITORY_KEYWORDS "repository:keywords"*::
-  An array of Id strings describing keywords of this repository.
+  An array of Id strings describing keywords/tags about the content of
+  the repository.
 
 *REPOSITORY_REVISION "repository:revision"*::
-  One or more(?) arbitrary revision strings describing the revision
-  of the repository.
+  An arbitrary string describing the revision of the repository.
 
 *REPOSITORY_TOOLVERSION "repository:toolversion"*::
   Some string describing somewhat the version of libsolv used to create
index 860f32e..1d1197e 100644 (file)
@@ -382,7 +382,7 @@ endElement(void *userData, const char *name)
       break;
     case STATE_REVISION:
       if (*pd->content)
-       repodata_add_poolstr_array(pd->data, SOLVID_META, REPOSITORY_REVISION, pd->content);
+       repodata_set_str(pd->data, SOLVID_META, REPOSITORY_REVISION, pd->content);
       break;
     case STATE_DISTRO:
       /* distro tag is used in repomd.xml to say the product this repo is