-
Notifications
You must be signed in to change notification settings - Fork 27
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
Include gslab_make as a Git submodule #38
Comments
@gentzkow I think I still don't have admin access to |
done! |
Thanks a bunch! |
In my branch, I've set up
It is apparently impossible to make a submodule out of only one folder in a repo, as submodules necessarily include all folders. I see a couple options here, some of which are discussed in this post and this post. These are: (a) In all template paths which use (b) Make the submodule in a different folder, such as (c) Maintain our current structure without submodules. I am still looking into (a) to see where the paths would be set, and will post an update with that information shortly. |
Thanks @Etang21. Sort of annoying. What if we just changed the subdirectory name in the gslab_make repo from |
@gentzkow hm, yes, that does sound better! I think this makes the |
Note to self: update README with instructions to make sure that users pull submodule files when cloning this repo for the first time. |
@gentzkow I've renamed the The reason here is that it feels a bit awkward to me to name a package as
I actually think the preferred way could be to leave the
to
What do you think? Apologies here if I'm missing something, or if these ideas are off! |
Thanks @Etang21. That makes sense and your suggestion seems fine to me. This issue is undoubtedly how we ended up with Does this mean that most Python packages on Github have |
@gentzkow great, sounds like a plan! And yes, that's what it looks like! For example, it seems that NumPy's repository follows this structure, as does the popular requests library. |
Interesting -- it looks like what we feared has already happened. The In particular, in this commit for #30, we added the Apologies to bother you again on this; just trying to proceed with caution around the internal tooling! One possible concern could be that this repo's changes to |
Thanks! Definitely do migrate those changes back to |
@gentzkow great, sounds good! Thanks for clarifying which set of tools the gslab template uses. |
PR for #38: include gslab_make as a Git submodule
In this issue, we will move to including
lib/gslab_make
as a Git submodule. We currently do not track which version ofgslab_make
is used in this template; includinggslab_make
as a Git submodule will allow us to consistently track the version ofgslab_make
which is being used, and easily pullgslab_make
changes into projects.This issues is based on this comment on incorporating fixes for
gslab_make
into other repositories.The text was updated successfully, but these errors were encountered: