Github Issue 和 Netbeans 之间的集成
可以将 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看来目前的答案是否定的(至少我在邮件列表甚至错误数据库中找不到任何内容)
因此我为 增强功能。请随意注册并投票。
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.
实际上并不需要这种集成,因为您可以通过 git comment 来评论或关闭 GitHub 问题。
示例:
阅读此博文
It's not really needed to have this integration, since you can comment on or close GitHub issues through the git comment.
Examples:
Read this blog post
NetBeans 12 中提供了此集成。
从“窗口”菜单中,选择“任务”。在“任务”选项卡中,通过单击存储库标题右侧的图标来添加存储库。
将出现一个对话框。选择 GitHub Issues 作为连接器。
您需要一个 OAUTH 令牌,称为 GitHub 个人访问令牌。要创建一个,请访问 github.com,登录您的帐户。单击右上角的帐户图标,然后从此下拉菜单中选择
设置
。现在,点击左侧导航菜单上的
开发者设置
。点击左侧新菜单上的个人访问令牌
。点击生成新令牌
。在注释字段中输入描述性名称。选择适当的权限。不幸的是,我不确定需要什么最低权限,但我选择的似乎有效的权限是:
notifications
、read:discussion
、read:enterprise
、读取:gpg_key
、读取:public_key
、读取:user
、repo
、工作流程。如果您能在这里提供进一步的见解,请先致谢。
接下来单击
生成令牌
按钮。您将一次且仅一次看到令牌秘密。将其复制并粘贴到上方 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.
A dialog appears. Select GitHub Issues as the Connector.
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. ClickPersonal access tokens
on the new menu on the left. ClickGenerate 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 theOauth Token
field in the NetBeans dialog from above. ClickAdd 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. ClickConnect
to verify and you should see a success message.Click
Ok
on the popup, and again on the dialog, and you should see your new repo and list of Issues.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.