public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Update for bzr.eclass
Date: Sun, 7 Jul 2013 20:53:02 +0200	[thread overview]
Message-ID: <20953.47374.319723.144829@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <CAJ0EP42Zi7hn0pm11=KzSvi7qd_JqnSrTGdEr+LGZM=qGn0H5w@mail.gmail.com>

>>>>> On Sun, 7 Jul 2013, Mike Gilbert wrote:

> git-2.eclass has a similar variable called EGIT_SOURCEDIR. Maybe you
> could reuse the same convention?

In fact, I had considered this, but I think that EBZR_SOURCEDIR isn't
a good name because it's not distinctive. For example, EBZR_STORE_DIR
contains a repository of sources, too.

> Out of curiosity, I checked mercurial and subversion eclasses; they
> don't provide a variable, but do allow you to call the fetch
> function manually with a parameter to override the destination.

And they're not compatible with each other:

# @FUNCTION: subversion_fetch
# @USAGE: [repo_uri] [destination]

# @FUNCTION: mercurial_fetch
# @USAGE: [repository_uri] [module] [sourcedir]

Ulrich


      reply	other threads:[~2013-07-07 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 17:54 [gentoo-dev] Update for bzr.eclass Ulrich Mueller
2013-07-07 18:35 ` Mike Gilbert
2013-07-07 18:53   ` Ulrich Mueller [this message]

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=20953.47374.319723.144829@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox