News for hackers. Stuff that matters.
Re:Git Bug: Distributed, Offline-First Bug Tracker Embedded ... by binary132 on Wednesday May 14, 2025 @07:10PM (#43990144)
This would be amazing as a Magit module for Emacs. I don’t relish the idea of using it in a terminal alongside Emacs while using Git from inside Emacs. Is there a lower-level interface that Magit could provide a porcelain for, maybe?
Re:Git Bug: Distributed, Offline-First Bug Tracker Embedded ... by sudoforge on Thursday May 15, 2025 @04:38PM (#43999091)
i have no understanding, beyond that of a lexical nature, what a "magit module" is. i'm a (neo)vim user, and heavy terminal junkie, and if i wanted to build a vim plugin for git-bug, that plugin would likely be shelling out to the command line (as git-bug doesn't expose an independent API today -- it's only started when you start the web ui).

is a "magit module" roughly synonymous with a vim plugin? if so, then would shelling out to the CLI work?

Re:Git Bug: Distributed, Offline-First Bug Tracker Embedded ... by binary132 on Friday May 16, 2025 @01:01PM (#44007646)
Magit is a Git porcelain for Emacs that implements an interactive TUI. It uses the lower-level APIs Git exposes, I think via the shell but I’m not positive. I’m really just saying if there’s not a primitive API for third-party interactive porcelains to use, that should be part of the design picture! :)