All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neal Kreitzinger <nkreitzinger@gmail.com>
To: LordSmoke <dslice@morphometrics.org>
Cc: git@vger.kernel.org
Subject: Re: Sharing nested subparts of large repository?
Date: Wed, 28 Mar 2012 04:52:21 -0500	[thread overview]
Message-ID: <4F72DF55.6000202@gmail.com> (raw)
In-Reply-To: <1332693502389-7403743.post@n2.nabble.com>

On 3/25/2012 11:38 AM, LordSmoke wrote:
> I've been using git for a couple of months to get used to the system.
> Basic stuff - a few larger project repositories in unique
> directories, commits, pushes to a remote repository. Mostly as a kind
> of backup system.
>
> However, my ultimate goal is to share part of one large project
> currently being managed with git with my developers. I want them to
> have access to source code and test data, but not my manuscripts,
> correspondence, whatever.
>
> I also want to make a portion of what I will give my developers
> available as open source, e.g., on github, but not all of it. Just
> the stable, non-developmental parts. NOT the our development stuff
> and not the parts being used for private contracts.
>
> Submodules seem promising, but the examples are not quite what I am
> looking for, as far as I can tell. They talk about isolating
> submodules that depend on a larger project. I want to make available
> the larger project while keeping nested submodules (so to speak)
> private.
>
It sounds like maybe your superproject has all the submodules and their
superproject has only some of the submodules.  You can also have a 
superproject just like theirs so you have a superproject with everything 
(because your special) and another superproject like theirs (so you can 
pretend to be just like them).

I'm not a submodule expert, but I'm pretty sure you can do that. 
Whether or not that matches up with your current structure of various 
git repos or not I don't know (enough details).

v/r,
neal

  parent reply	other threads:[~2012-03-28  9:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 16:38 Sharing nested subparts of large repository? LordSmoke
2012-03-26  4:07 ` Phil Hord
2012-03-26 20:43   ` Dennis E. Slice
2012-03-28  9:52 ` Neal Kreitzinger [this message]
2012-03-28 17:52 ` LordSmoke
2012-03-29 20:05   ` LordSmoke
2012-04-05  8:32   ` LordSmoke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F72DF55.6000202@gmail.com \
    --to=nkreitzinger@gmail.com \
    --cc=dslice@morphometrics.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.