寻求一种为github项目克隆问题的方法 [英] Seeking a way to clone the issues for github projects

查看:92
本文介绍了寻求一种为github项目克隆问题的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使用git为github上的各个项目克隆问题.我知道我可以克隆代码和Wiki(如果存在).我找不到克隆问题的方法.

I would like to be able to use git to clone the issues for various projects on github. I know I can clone the code and the wiki (if it exists). I cannot find a way to clone the issues.

作为一个可行的示例,这是我如何克隆包含项目源代码的主存储库的方法: git clone https://github.com/kiwix/kiwix-android.git

As a worked example, here's how I would clone the main repo containing the project's source code: git clone https://github.com/kiwix/kiwix-android.git

这适用于该项目的Wiki页面: git clone https://github.com/kiwix/kiwix-android.wiki.git

And this works for the wiki pages of this project: git clone https://github.com/kiwix/kiwix-android.wiki.git

我已经尝试了以下方法,看看它是否可以解决问题,但不起作用

I've tried the following to see if it would work for the issues, but it doesn't

git clone https://github.com/kiwix/kiwix-android.issues.git
Cloning into 'kiwix-android.issues'...
remote: Repository not found.
fatal: repository 'https://github.com/kiwix/kiwix-android.issues.git/' not found

能够克隆问题将是一个很大的帮助,特别是运行脚本来分析各种问题等问题的集合.

Being able to clone the issues would be a great help, particularly to run scripts to analyse the set of issues for various problems, etc.

推荐答案

不可能 克隆 GitHub存储库的问题.获取问题数据的另一种方法是使用 GitHub API .

It is not possible to clone issues of GitHub repositories. An alternative for you to get the issues' data would be to use the GitHub APIs.

此处中查看文档获取存储库问题.

Check out the documentation here to get issues for a repository.

GET /repos/:owner/:repo/issues

您可以使用API​​获取问题的数据,将其存储在文件系统中,然后在其中运行所需的脚本.

You can get the issues' data using the API, store it in file system and then run your necessary scripts on them.

这篇关于寻求一种为github项目克隆问题的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆