Github Issue 和 Netbeans 之间的集成

发布于 2024-11-17 23:25:53 字数 73 浏览 3 评论 0原文

可以将 Github 的项目问题跟踪器集成到 Netbeans 中,以通过 IDE 自动添加、更改或删除问题。

谢谢

Is posible to integrate the project issue tracker of Github into Netbeans to automatize the add, change or remove issues trough the IDE.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

内心荒芜 2024-11-24 23:25:53

看来目前的答案是否定的(至少我在邮件列表甚至错误数据库中找不到任何内容)

因此我为 增强功能。请随意注册并投票。

It seems the current answer is no (at least I could not find anything in the mailing list or even the bug database)

Therefore I opened a corresponding report for an enhancement. Feel free to register and vote on it.

牵强ㄟ 2024-11-24 23:25:53

实际上并不需要这种集成,因为您可以通过 git comment 来评论或关闭 GitHub 问题。

示例:

Reimplement feature XYZ as described in #123
Removed extra spaces in foo. Fixes #148
Working on integration with bar. #99 and octocat/bar#20

阅读此博文

It's not really needed to have this integration, since you can comment on or close GitHub issues through the git comment.

Examples:

Reimplement feature XYZ as described in #123
Removed extra spaces in foo. Fixes #148
Working on integration with bar. #99 and octocat/bar#20

Read this blog post

梦亿 2024-11-24 23:25:53

NetBeans 12 中提供了此集成。

从“窗口”菜单中,选择“任务”。在“任务”选项卡中,通过单击存储库标题右侧的图标来添加存储库。

存储库标头

将出现一个对话框。选择 GitHub Issues 作为连接器。

创建任务存储库对话框

您需要一个 OAUTH 令牌,称为 GitHub 个人访问令牌。要创建一个,请访问 github.com,登录您的帐户。单击右上角的帐户图标,然后从此下拉菜单中选择设置

现在,点击左侧导航菜单上的开发者设置。点击左侧新菜单上的个人访问令牌。点击生成新令牌。在注释字段中输入描述性名称。

选择适当的权限。不幸的是,我不确定需要什么最低权限,但我选择的似乎有效的权限是:notificationsread:discussionread:enterprise读取:gpg_key读取:public_key读取:userrepo工作流程。如果您能在这里提供进一步的见解,请先致谢。

接下来单击生成令牌按钮。您将一次且仅一次看到令牌秘密。将其复制并粘贴到上方 NetBeans 对话框中的 Oauth Token 字段中。单击添加存储库

将出现一个对话框,提示您选择要跟踪问题的用户名和存储库。选择一个并单击确定。这将填充“创建任务存储库”对话框中的剩余字段。单击连接进行验证,您应该会看到一条成功消息。

输入图片此处的描述

在弹出窗口中单击Ok,然后在对话框中再次单击,您应该会看到新的存储库和问题列表。

输入图片描述在这里

就是这样。您现在可以打开问题、分配问题、添加评论、管理标签、将问题更改为 PR、创建里程碑、管理模板等。

This integration is available in NetBeans 12.

From the Window menu, select Tasks. In the Tasks tab, add a repository by clicking the icon on the right side of the repository header.

Repository header

A dialog appears. Select GitHub Issues as the Connector.

Create Task Respository dialog

You'll need an OAUTH token, known as a GitHub Personal Access Token. To create one, visit github.com, log into your account. Click on your account icon in the upper right corner and select Settings from this pulldown menu.

Now click Developer settings on the navigation menu on the left. Click Personal access tokens on the new menu on the left. Click Generate new token. Put a descriptive name in the Note field.

Select the appropriate permissions. Unfortunately I'm not certain what minimum permissions are required, but those I selected, which seem to work, are: notifications, read:discussion, read:enterprise, read:gpg_key, read:public_key, read:user, repo, workflow. Thanks in advance if you can provide further insight here.

Next click the Generate token button. You'll be presented with the token secret once and only once. Copy it and paste into the Oauth Token field in the NetBeans dialog from above. Click Add repository.

A dialog appears prompting you to select the username and repo for which you'd like to track Issues. Choose one and click Ok. This will populate the remaining fields in the Create Task Repository dialog. Click Connect to verify and you should see a success message.

enter image description here

Click Ok on the popup, and again on the dialog, and you should see your new repo and list of Issues.

enter image description here

And that's it. You can now open Issues, assign them, add comments, manage labels, change issues to PRs, create milestones, manage templates, and so forth.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文