-
Notifications
You must be signed in to change notification settings - Fork 28
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
Pull lisp files directly from Emacs #51
Comments
I think that is a pretty solid idea. It would let us keep the git history for the lisp files and easily update them without having to blow them away and recopy them. My only concern is increasing the time to clone and run git operations. That is reason I didn't use a submodule in the first place. For example on my machine it takes 4 minutes to clone git://git.sv.gnu.org/emacs.git. |
For the cloning issues, we could have a shallow repo, when cloning the submodule just to have the latest commit and that should theoretically improve that (need to check on details). I'll try doing something like that and test what a first contributor would do. |
Have been testing different commands, to see what gives us the best chance of getting contributors up to speed quickly:
TL;DR We should use shallow submodules, where we can do something like this:
That way, we'll have both the repo and the submodules shallow. We could potentially remove the |
I'll make a commit on my fork and open a PR. |
In my experience, cloning from Savannah is much faster than cloning from the Github mirror. |
Interesting, haven't seen that myself. Probably I'm on a crappy mobile hotspot right now and that's playing tricks on me. If you feel Savannah is the place to be, I don't have a strong preferrence. |
It could just be the server load, but when I just tested it, cloning from Savannah took 4 minutes and cloning from Github took 30. |
I need to think about overrides that we might want to do to the files. Couple of options come to mind:
What do you think? |
Ideally what I would like to see from any solution is:
Given all that I think the idea of having them in a submodule forked from GNU Emacs makes the most sense. It would be easy to diff the files with git and we could just do a If we wanted to make submodule cheaper, we could do a sparse checkout of just the lisp directory |
Thanks! Question @CeleritasCelery, when running, where is the
|
Line 199 in 72fbfca
it is defined relative to |
Opening this issue to discuss whether we can optimize the directory structure that we have on the project. The reasoning is that the lisp files are not something that will ever be modified as part of this project, but rather just a "fleeting" directory, where we add the files that are ready to be bootstrapped or similar.
I know that we have the
bootstrap.el
file with the tag RUNE_BOOTSTRAP and certainly that can stay, but what about having a git submodule of the Emacs core? That way, we can pull the changes that we need and even have a fork/branch with only the files working with Rune.What do you think? Open to suggestions.
The text was updated successfully, but these errors were encountered: