git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Organizing (large) test data in git
@ 2007-02-27 17:58 Bill Lear
  2007-02-27 19:52 ` Johannes Schindelin
  0 siblings, 1 reply; 9+ messages in thread
From: Bill Lear @ 2007-02-27 17:58 UTC (permalink / raw)
  To: git

In my company we generate test data that we want coupled with test
code, and despite the size, we have historically kept our test data
with our code base.

This is becoming a problem.

95% of the size of our 500 meg "code" base is actually test data, and
the size of the test data is likely to increase, perhaps radically.
We are contemplating files on the order of 500 megabytes a piece.

Many of our developers have multiple copies of our code base checked
out, duplicating the test data, so we would like to come up with a
solution to this that minimizes the amount of data we have to check
out.

Personally, I dislike having separate test data and code repos.
Keeping the two synchronized seems like a real pain.  I like to be
able to do things like:

cd component_x
[muck muck muck on part "y"]
mkdir testsuite/component_x.part_y
cd testsuite/component_x.part_y
[muck muck muck]
git commit -a -m "Finished mucking with part y of component x"

Where the directory structure is, essentially:

      component_x/
          testsuite/component_x.part_y

If we separate out the test data, for the above I would have to do
two commits in two repos, switching directories, etc.  And then, there
is the issue of ensuring that checkouts of code also get the associated
data needed.  I can see this being a potential nightmare.

Have others on the list grappled with this and come up with good
solutions with git?

I know there was some talk of sub-modules, but not sure if that is
working or even a viable option here.


Bill

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-02-27 20:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 17:58 Organizing (large) test data in git Bill Lear
2007-02-27 19:52 ` Johannes Schindelin
2007-02-27 20:00   ` Bill Lear
2007-02-27 20:14     ` Johannes Schindelin
2007-02-27 20:18       ` Bill Lear
2007-02-27 20:22         ` Johannes Schindelin
2007-02-27 20:41           ` Bill Lear
2007-02-27 20:51             ` Johannes Schindelin
2007-02-27 20:49           ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).