I've been "playing" with emacs-fj / fj.el for #guix a bit today and with the kind help of nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq9amud7rggjx0u77wqqa84x537x7g5nws9pqdgu5qadgypfreyv2sgk33hd (nprofile…33hd) got it to work.
TIL:
* use latest git, the v0.6 shipped in guix is b0Rked
* in .git/config, use: url = git@codeberg.org:guix/guix.git
* (setq fj-host "https://codeberg.org";), (setq fj-user "janneke")
* although no documentation is shipped in guix, (info or otherwise), the website does have a README: https://codeberg.org/martianh/fj.el
Yes, that's right, the URL in .git/config must be just right and the "host" variable needs to be an URL.
To get started, try
* M-x fj-list-issues, or
* M-x fj-list-pulls
Then, in .git/config, add
[remote "pulls"]
url = git@codeberg.org:guix/guix.git
fetch = +refs/pull/*/head:refs/remotes/pulls/pr/*
and do: git fetch pulls. You need to manually relate the issue or pull-request number with origin/pulls/XX branch.
#codeberg #forgejo