From: Michael Schroeder Date: Fri, 7 Jun 2013 14:05:43 +0000 (+0200) Subject: make REPOSITORY_REVISION a simple string X-Git-Tag: BASE-SuSE-Code-13_1-Branch~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2f1a6cae82c98d5692bfbf9317cb75d599a210;p=thirdparty%2Flibsolv.git make REPOSITORY_REVISION a simple string --- diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index a6c7b148..a44fc0f7 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 04b2f8a8..cb35aeb0 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 7e4f8856..f4d59a97 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 860f32e4..1d1197e2 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