git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Submodules or similar for exercise/exam management

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 18, 2010, 23:49 UTC
Message-ID
<20101118234916.GB21621@burratino>
In-Reply-To
<7vsjyyb6ui.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Jens Lehmann <Jens.Lehmann@web.de> writes:
Show 9 quoted lines
>>> 3) never need to be aware of repo boundaries or manipulate sub-repo
>>
>> I think that this requirement is the hardest for any solution I know
>> of or can imagine, as you hit these boundaries sooner or later either
>> when you want to commit, push and/or when you have to resolve merge
>> conflicts.
>
> Just a quick sanity check.  When this "requirement" makes sense, does the
> whole thing need to be a superproject with bunch of submodules, and why?

In this example: because the submodule represents individual questions that are used by multiple exams.

Another instance of the same (slightly uncomfortable :)) practice: suppose a certain chapter is part of multiple works I have published --- maybe in an article and a larger book. When working on the book:

 - I do not want to make changes to that chapter and forget to commit
   them.
 - After making changes to many chapters, I do not want the fuss of
   going from chapter to chapter and commiting them one by one.
 - I certainly do not want to publish a version of the book that
   "includes" versions of the chapters as dead links, so to speak.
   That is, when I publish the current version of the book, I want
   to publish the current version of all chapters, too.
 - When starting work on the book again after long absence, I would
   like to be able to see and have the chance to adopt changes to
   chapters made as part of this book and as part of others.
If I understand correctly.
Previous: Junio C HamanoNext: Thomas Rast
Message 6 of 7 in “Submodules or similar for exercise/exam management”
  1. Thomas RastNov 18, 2010
  2. Seth RobertsonNov 18, 2010
  3. Thomas RastNov 22, 2010
  4. Jens LehmannNov 18, 2010
  5. Junio C HamanoNov 18, 2010
  6. Jonathan NiederNov 18, 2010
  7. Thomas RastNov 22, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.