Closed rileyrg closed 3 years ago
The "Clone https://github.com/emacsmirror/epkgs.git to ~/.emacs.d/epkgs/? " prompt? What do you mean by "isn't interactive"? Anyway, sounds like a fluke and you got it going.
Yeah, that's expected and your approach to addressing seems appropriate. But there's a second step: (goto 3)
While the cursor is on "modified borg/json-navigator" press enter to go to the submodule. You will probably "learn" that there is a new untracked file "json-navigator.elc", and some others. Setup a global gitignore rule for that as described at the end of https://emacsmirror.net/manual/borg/Bootstrapping-using-a-seed.html.
reference : https://emacsmirror.net/manual/borg/Use-as-secondary-package-manager.html#Use-as-secondary-package-manager
1) observation (possibly my setup specific) : When I tried to install/assimilate my first package, in this case json-navigator, borg prompted me to git clone epkgs. Unfortunately the buffer it prompts in in isn't interactive. I killed the buffer and cloned ekpgs directly from the command line.
2) Git : so I have assimilated my first package as outlined above, but git is confusing me a little. Since I use an exclusionary .gitignore for my existing emacs config, I enabled borg and borg/* - it insisted on that in order to assimiliate. If I dont, I see
So in my .gitignore
I'm assuming here that we do indeed want to add them. But I'm not 100% sure as I don't use git submodules until now.
After this I can assimilate fine:
My magit status is now (excuse the screenshot - I'm unable to copy selected region as text from magit status)
If I try to stage unstaged changes The borg module won't stage. And expanding, I see this,
I'm guessing this is a trivial git issue I don't understand regarding borg directory's .gitignore status. Thanks for the help.