From ec2f1a6cae82c98d5692bfbf9317cb75d599a210 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 7 Jun 2013 16:05:43 +0200 Subject: [PATCH] make REPOSITORY_REVISION a simple string --- doc/libsolv-bindings.3 | 2 +- doc/libsolv-constantids.3 | 6 +++--- doc/libsolv-constantids.txt | 9 +++++---- ext/repo_repomdxml.c | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index a6c7b14..a44fc0f 100644 --- a/doc/libsolv-bindings.3 +++ b/doc/libsolv-bindings.3 @@ -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 diff --git a/doc/libsolv-constantids.3 b/doc/libsolv-constantids.3 index 04b2f8a..cb35aeb 100644 --- a/doc/libsolv-constantids.3 +++ b/doc/libsolv-constantids.3 @@ -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 diff --git a/doc/libsolv-constantids.txt b/doc/libsolv-constantids.txt index 7e4f885..f4d59a9 100644 --- a/doc/libsolv-constantids.txt +++ b/doc/libsolv-constantids.txt @@ -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 diff --git a/ext/repo_repomdxml.c b/ext/repo_repomdxml.c index 860f32e..1d1197e 100644 --- a/ext/repo_repomdxml.c +++ b/ext/repo_repomdxml.c @@ -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 -- 2.7.4