[oll-user] Submodules revisited
Resources for LilyPond and LaTeX users writing (about) music
Status: Alpha
Brought to you by:
u-li-1973
From: Urs L. <ul...@op...> - 2013-04-30 10:42:10
|
Hi all, having worked on some other things lately I have the impression that the repo organization is good as it is. On our organization account https://github.com/openlilylib there are now quite a lot of repos, and I assume this number could even increase over time. All of them have a workable history: Some actually have their original history preserved, with some I have got as much out of the combined repos as possible (i.e. back to the point where files have been moved between folders, because that is where git filter-branch fails), some are actually new. _All_ old history is present in the oll-archive repository. This isn't there to be used anymore but only in case someone has to inspect some ancient history ... Now that we have this set of parallel repositories I'm ready to give the idea of submodules a fresh consideration. AFAICS this would mean creating a new 'super-repo' and pulling the other ones in it. This would also have the benefit that there was a place for general issues relating to the project as a whole. But as I don't have any experience and still feel insecure I'd like to ask you for feedback: - How would I start to set up a submodule approach? - How would one fetch changes from all modules? - What do I have to do if I commit updates to a submodule: - push to the remote repo? - push to the super-repo? - push to the remote repo and update the super-repo? Any guidance gladly accepted. Best Urs |