summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-25 14:28:51 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-25 14:28:51 -0700
commitaf447c01997fe8564f115c3de29328e795471640 (patch)
tree7d7702dd83aa6d21406d948d4f61abdb473fc8b2 /emacs/custom
parentprog: tweak configuration for go (diff)
downloademacs.d-af447c01997fe8564f115c3de29328e795471640.tar.gz
git: add back the forge package
It's useful to keep track of the repositories, the code reviews, issues,
etc. It's also easier to do code reviews that way (at least the initial
reading).
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-git.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs/custom/my-git.el b/emacs/custom/my-git.el
index eb00113..348dfe7 100644
--- a/emacs/custom/my-git.el
+++ b/emacs/custom/my-git.el
@@ -27,6 +27,24 @@
   :custom
   (magit-repository-directories '(("~/workspace" . 1))))
 
+(use-package forge
+  :ensure t
+  :after (magit)
+  :custom
+  (forge-topic-list-columns
+   '(("#" 5 forge-topic-list-sort-by-number (:right-align t) number nil)
+     ("Title" 60 t nil title  nil)
+     ("State" 6 t nil state nil)
+     ("Marks" 8 t nil marks nil)
+     ("Labels" 8 t nil labels nil)
+     ("Assignees" 10 t nil assignees nil)
+     ("Updated" 10 t nill updated nil))))
+
+(with-eval-after-load 'forge
+  (push '("github.rbxs.com" "github.rbx.com/api/v3"
+          "github.rbx.com" forge-github-repository)
+        forge-alist))
+
 (use-package git-commit
   :ensure t
   :after magit