-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better Magit integration #14
Comments
I've just tried to reduce the bit rot. This package had a bit of a "thrown over
I wouldn't start by changing the actual keys used but I would convert from Resources:
There are still two warnings: In magit-stgit-read-patches:
magit-stgit.el:196:48: Warning: reference to free variable
`magit-stgit-marked-patches'
magit-stgit.el:203:35: Warning: `magit-section-when' is an obsolete macro (as
of Magit 2.90.0); instead use `magit-section-match' or
`magit-section-value-if'. I would probably replace the (defun magit-stgit-patches-sorted (patches)
"Return elements in PATCHES with the same partial order as the series."
(mapcan (lambda (patch)
(and (member patch patches)
(list patch)))
(magit-stgit-lines "series" "--noprefix"))) Quote function as Try to use "new" built-in functions instead of equivalents from |
Maintainer of StGit here. I also just stumbled upon this repo as I was doing some preliminary research into whether and how magit could be extended with StGit capabilities. Despite being a doom-emacs user and occasional magit user for the past several years, I had no idea this extension existed! Thank you to @tarsius for your in-depth comments and links to relevant resources. And also for your outstanding stewardship of magit and many other essentials of the emacs ecosystem! I am also interested in helping get this package updated. My elisp skills are currently sub-rudimentary, but I am viewing this as a great opportunity to get better with that. I was able to successfully load magit-stgit and exercise it a little bit. My next step will be to study this module with an eye toward replacing magit-popup with transient, as @tarsius suggests. @hokomo, thanks for reviving this extension. Happy to coordinate with you on this. |
@jpgrayson Hi! Great to see that the maintainer of StGit is interested in this extension. I'd be happy to coordinate! :-) I've already started working on fixing up the rest of the byte-compiler warnings, modernizing some imperative code and converting Once Do you perhaps have a rundown of the differences and similarities between |
Great! 🥳 I've just given both of you commit access. I think it would be best if we moved this repository to the stacked-git organization. I cannot do that directly because I am not a member, so I'll have to transfer to @jpgrayson and you can then transfer it to the organization. I can update the recipe and you can still ask me to do reviews after the move. |
I'm okay with having this in the stacked-git organization. I'll execute the transfer once I get the appropriate permissions from you, @tarsius. |
I've just created a transfer request. The repository is taking an additional detour through my user account, because if the source is an organization, then the only allowed destination is one's own user account. 🙄 |
Absolutely. That sounds like a fine approach.
Also sounds like a good approach. Each of the things you've mentioned could warrant a separate discussion.
I'm not really an expert on If we can get magit-stgit working well, I wonder if retiring |
I think we're all set. I accepted the transfer and then transferred to the stacked-git organization. https://github.com/stacked-git/magit-stgit Thank you again, @tarsius! |
I've updated the Melpa recipe. |
Hello,
I recently started testing out StGit and naturally went to look for a package that offers integration with Magit, which is how I stumbled here. After fixing a few minor things (#13) the package loads fine and appears to work, although I haven't tested it extensively yet.
Some key bindings and popups are a bit off and need to be integrated better so I was thinking of giving it a shot. I also saw your message in 5df6566 and was wondering if you have any suggestions on other things should be fixed/modernized and perhaps some advice on the best way to go about it and what to look out for. Seeing that you contributed heavily to the package in the past, do you think this would be a thing worth doing?
The text was updated successfully, but these errors were encountered: