如何在emacs下管理github-issues和github-project,达到进度跟踪和状态变更的效果。

以前在vim下用github-issues.vim插件实现过创建issues,如何在emacs实现issues相关功能,还有能否对github-project进行管理。

我记得forge还不错

用forge吧,和magit无缝结合

支持直接创建issue和PR,check out to PR。

另外magithub也不错 GitHub - vermiculus/magithub: **DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub

1 个赞

我安装了forge,不知道怎么使用 M-x forge-pull 执行之后中卡在pull notifications。 有forge入门教程吗?:rofl:

是要有一会儿的,你的key之类的输入都没问题吧。

BTW,之前我有过,github上有了对应的key了,forge就会卡在解析key的时候,这种情况你就得上github把对应的token删掉再重新创建

每次forge-pull都是很漫长吗?我登陆了githubkeys好像没有找到对应的key,该怎么重新设置key。

就第一次比较久,只是对于pr, issue比较多的项目来说比较久。之后都会比较快。

设置在里,你找对应的token,如果存在了的话,删掉从头开始使用forge。它会提示你自动帮你创建token的。

删除key,重新执行forge-pull 提示输入:https://api.github.com/graphql的账户密码,输入github账号之后出现这个错误:

在删除key之前,forge-pull好像成功,可以看到issues 08

系统:android+termux

emacs 信息

GNU Emacs 26.2
Copyright (C) 2019 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

gpg信息

gpg (GnuPG) 2.2.17
libgcrypt 1.8.4
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

forge怎么修改issue状态,进入一个issue后怎么编辑

经过实践,通过以下命令可以修改issues相关信息

4.3 Working with Topics

We call both issues and pull-requests “topics”. The contributions to the conversation are called “posts”.

Visiting Topics:
Listing Topics and Notifications:
Creating Topics:
Editing Topics and Posts:

你解决了?怎么解决的?gpg的问题吗?

具体的操作就M-x describe-mode然后然对应有些什么function绑定了什么键。

不过我感觉我还是偏向于用browser,我反正只记住了一个快捷键C-c C-w (forge-browse-pullreq)

然后你可能需要设置默认的浏览器:

(setq browse-url-browser-function 'browse-url-generic
      browse-url-generic-program
      (cond (IS-MAC "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome")
            ((executable-find "/opt/google/chrome/chrome") "/opt/google/chrome/chrome")
            ((executable-find "google-chrome") "google-chrome")))
1 个赞

key删除后认证问题还没有解决.

发一下系统, forge, emacs和gpg版本信息,直接在原帖上编辑更新你的问题吧

暂时不支持。用C-c C-w浏览器打开吧

尝试在macOS安装forge,在执行forge-pull提示:

Compiling EmacSQL SQLite binary ...
emacsql-sqlite-ensure-binary:No EmacSQL SQLite binary available, aborting

43

brew install sqlite试试

然后这是你要的forge manual Forge User and Developer Manual

谢谢! 刚总结了下: forge文档 2.4 How Ghub uses Auth-Source

  1. 登录github创建一个tokens密钥
  2. 编译 ~/.authinfo,将password值 设置为第一步中的新token
machine api.github.com login ziggy^stardust password 012345abcdef...

重新forge-pull即可

macOS尝试了brew install sqlite不起作用,出现以下错误

emm, 这些步骤好像forge初始化的时候都会提示你去做

不用install sqlite,emacsql根本没用官方的sqlite3 binary

作者:You can you up

forge新建issue过程中遇到过这个问题吗?