]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
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 a6c7b148bae2b5e309bcebd8762f8f46af42d075..a44fc0f7c72f0984e3764c1c14fd5b7a113f0d2e 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 04b2f8a82c6d4e7f1ce6f46773ab3f7c8330576f..cb35aeb09ca99749d58fe3401738378c3c14234c 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 7e4f8856f9993f60b4ce3e5c45c975a7c9ae27b8..f4d59a9705eca9f85bf26b1071523be1b17d6bd2 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 860f32e4dc2cff0ce676cf4a73dbc6e7442cf746..1d1197e2fee69239946ae08070ef17d36e55835c 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