[Kimchi-devel] [PATCH] [API Docs] Keep Document Consistent with Code Logic

Sheldon shaohef at linux.vnet.ibm.com
Tue Mar 11 13:06:25 UTC 2014


On 03/04/2014 06:15 PM, Hongliang Wang wrote:
> is_mirror field is not allowed to update so remove the lines in
> API document.
>
> Signed-off-by: Hongliang Wang <hlwang at linux.vnet.ibm.com>
> ---
>   docs/API.md | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/docs/API.md b/docs/API.md
> index fc39c65..c24af9e 100644
> --- a/docs/API.md
> +++ b/docs/API.md
> @@ -891,8 +891,6 @@ repository.
>       * baseurl *(optional)*: URL to the repodata directory when
>   "is_mirror" is false. Otherwise, it can be URL to the mirror system for
>   YUM. Can be an http://, ftp:// or file://  URL.
> -    * is_mirror *(optional)*: Set the given URI of baseurl as a mirror
> -list, instead of use baseurl in repository configuration.
>       * url_args *(optional)*: Arguments to be passed to baseurl, like the
>   list of APT repositories provided by the same baseurl.
>       * gpgcheck *(optional)*: Indicates if a GPG signature check on the
should also remove it from API.json?
$ git diff
diff --git a/src/kimchi/API.json b/src/kimchi/API.json
index 6e932ed..ab83594 100644
--- a/src/kimchi/API.json
+++ b/src/kimchi/API.json
@@ -568,10 +568,6 @@
"type": "string",
"error": "KCHREPOS0002E"
},
- "is_mirror": {
- "description": "Set the given URI of baseurl as a mirror list",
- "type": "boolean"
- },
"url_args": {
"description": "Arguments to be passed to baseurl, like the list of APT 
repositories provided by the same baseurl.",
"type": "string",


-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list