如何向GitHub提交网站反馈?
How to submit website feedback to GitHub?
我想在我的网站上制作一个页面,其中包含他们在使用网站和网络应用程序时遇到的错误的信息表。
然后我想将这些反馈显示到我的私人 GitHub 存储库,以便我可以跟踪所有错误并致力于修复它们。
是否有任何GitHub API用于此目的?
GitHub 确实有一个 API 和一个如果它的终点是为了创建错误:
使用 GitHub API (如 中的建议) 是一种可能的解决方案,但需要您实施 UI 自己调用 API 使用正确的身份验证等等
如果您想要一个更简单且工作量更少的解决方案,您可以将您的用户直接从您的网站指向您的 GitHub 问题跟踪器。
遗憾的是,GitHub 不支持存在 public 问题的私有存储库。他们对这个问题的官方解决方案是
create a second (public) repo and use this just to host the public issues.
如果您可以选择更改托管服务提供商,则可以将您的项目迁移到 Bitbucket。
他们提供 unlimited private repos for free if you have max. five users, and it's possible to have a private repo with a public issue tracker.
最后引用 link:
Users with administrative rights on a repository can set a Bitbucket
Cloud issue tracker as private or public. When your tracker is
public, anyone can view, create, and comment on issues it contains.
This includes people who land on the website but who do not have a
Bitbucket account. The system asks these users to verify they are
people with a CAPTCHA.
You can set your Bitbucket repository, wiki,
and issue tracker as private or public, independently of each other.
For example, you can hide your code from the world by setting your
repository as private, but let people see your documentation and
issues by marking your wiki and issue tracker as public. Or you could
set your repository and wiki as public but keep your issue tracker
private. You can change any of these settings from private to public,
or public to private, at any time.
好吧,https://github.com/tan-tan-kanarek/github-php-client 这对我来说就像一个魅力。在我的场景中,我在 phalcon 框架中工作,我使用这个 API 将问题提交到私有 GitHub 存储库。
API 中的身份验证非常简单。
我想在我的网站上制作一个页面,其中包含他们在使用网站和网络应用程序时遇到的错误的信息表。
然后我想将这些反馈显示到我的私人 GitHub 存储库,以便我可以跟踪所有错误并致力于修复它们。
是否有任何GitHub API用于此目的?
GitHub 确实有一个 API 和一个如果它的终点是为了创建错误:
使用 GitHub API (如
如果您想要一个更简单且工作量更少的解决方案,您可以将您的用户直接从您的网站指向您的 GitHub 问题跟踪器。
遗憾的是,GitHub 不支持存在 public 问题的私有存储库。他们对这个问题的官方解决方案是 create a second (public) repo and use this just to host the public issues.
如果您可以选择更改托管服务提供商,则可以将您的项目迁移到 Bitbucket。
他们提供 unlimited private repos for free if you have max. five users, and it's possible to have a private repo with a public issue tracker.
最后引用 link:
Users with administrative rights on a repository can set a Bitbucket Cloud issue tracker as private or public. When your tracker is public, anyone can view, create, and comment on issues it contains. This includes people who land on the website but who do not have a Bitbucket account. The system asks these users to verify they are people with a CAPTCHA.
You can set your Bitbucket repository, wiki, and issue tracker as private or public, independently of each other. For example, you can hide your code from the world by setting your repository as private, but let people see your documentation and issues by marking your wiki and issue tracker as public. Or you could set your repository and wiki as public but keep your issue tracker private. You can change any of these settings from private to public, or public to private, at any time.
好吧,https://github.com/tan-tan-kanarek/github-php-client 这对我来说就像一个魅力。在我的场景中,我在 phalcon 框架中工作,我使用这个 API 将问题提交到私有 GitHub 存储库。 API 中的身份验证非常简单。