git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Herland <johan@herland.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Sverre Rabbelier <srabbelier@gmail.com>,
	Jeff King <peff@peff.net>,
	Daniel Barkalow <barkalow@iabervon.org>
Subject: Re: [PATCH] tests: handle NO_PYTHON setting
Date: Mon, 30 Nov 2009 19:01:57 +0100	[thread overview]
Message-ID: <200911301901.57652.johan@herland.net> (raw)
In-Reply-To: <7vvdgrordj.fsf@alter.siamese.dyndns.org>

On Monday 30 November 2009, Junio C Hamano wrote:
> Johan Herland <johan@herland.net> writes:
> > We _could_ split up the "git_remote_helpers" package into a
> > "git-remote-hg"- specific package, and a "git-remote-cvs"-specific
> > package, but that would mean either having two copies of the
> > current support code. Alternately, we could create a _third_
> > package containing the common support code, that each of our hg/cvs
> > support packages would in turn depend on. I don't think we want to
> > go there, at least not yet.
>
> I think that is typically done by the distros; in the longer term it
> would be nicer to them if we did so in our build structure, but I do
> not think we are there yet.

Agreed.

> > Also, to prevent this misunderstanding, we could create a "python"
> > subdir in git.git, and move the "git_remote_helpers" into there.
>
> If (and this is a big if, as we are not migrating to Python) the use
> of Python proliferates over time, a single "python" subdir to hold "a
> common library" to create the third package will not make sense in
> the longer term, as different services written in Python will have
> different set of common supporting code, so there will be multiple
> common libraries and you would need multiple third packages.  You
> would probably need multiple directories there, perhaps as
> subdirectories of that single toplevel directory you called "python",
> so that scripts written in Python would say "import
> pythonGit.remoteHelper" or something like that.

Yes, I agree that if we get multiple Python support packages, it makes 
sense to create a "python" subdir, and store each package as a 
subsubdir of "python". Still, I don't think we need to plan that far 
ahead now. We can do that restructuring when it becomes necessary. If 
there are no more objections, I vote for keeping the current structure 
for now.


Have fun! :)

...Johan

-- 
Johan Herland, <johan@herland.net>
www.herland.net

  reply	other threads:[~2009-11-30 18:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30  7:52 [PATCH] tests: handle NO_PYTHON setting Jeff King
2009-11-30  7:55 ` Sverre Rabbelier
2009-11-30  7:59   ` Jeff King
2009-11-30  8:04     ` Sverre Rabbelier
2009-11-30  8:05       ` Jeff King
2009-11-30  8:28       ` Junio C Hamano
2009-11-30  8:35         ` Sverre Rabbelier
2009-11-30  8:49           ` Junio C Hamano
2009-11-30  9:56             ` Sverre Rabbelier
2009-11-30 10:59               ` Johan Herland
2009-11-30 17:27                 ` Junio C Hamano
2009-11-30 18:01                   ` Johan Herland [this message]
2009-11-30 18:07 ` Brandon Casey
2009-11-30 20:54   ` Jeff King
2009-11-30 21:17     ` Brandon Casey
2009-11-30 22:31       ` Johan Herland

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=200911301901.57652.johan@herland.net \
    --to=johan@herland.net \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    --cc=srabbelier@gmail.com \
    /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 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).