Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Getting package sources from git/svn/bzr
Date: Thu, 01 Jul 2010 14:53:13 +0200	[thread overview]
Message-ID: <874ogj9xdy.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <L4TK9K$D17BBF1C51BFC0643CBBFAC2EB922E1E@aruba.it> (Luca Ceresoli's message of "Wed, 30 Jun 2010 10:44:08 +0200")

>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:

 Luca> Hi,
 Luca> I'm trying to understand how a buildroot generic (or autotools-based)
 Luca> package can download sources from a git repository instead of just
 Luca> grabbing a tarball.

 Luca> In an old post Peter wrote:
 >> See the tremor handling in package/multimedia/libvorbis/libvorbis.mk
 >> for an example. You could argue about the usefullness of creating a
 >> dated tarball of the checkout or not.
 Luca> (http://lists.busybox.net/pipermail/buildroot/2009-August/028932.html)

 Luca> The odd thing is that tremor does *not* checkout anything: it just
 Luca> downloads a tarball which presumably contains the snapshot (see log below).
 Luca> I didn't find any other supposedly-working example in the current tree.

Ups, seems like Sven's commit (1dc19c44570031e28ad4) from back in
December broke it - I'll fix.

 Luca> So I'd renew the question: is git/svn/bzr repository download actually
 Luca> working? I spent a little time in trying, but after a few dirty hacks I
 Luca> couldn't produce anything really working.

No, there's no generic support for it.

 Luca> Of course a more complete approach would be to have a DOWNLOAD function
 Luca> that actually understands git/svn/bzr, but this may be less interesting
 Luca> until there are only very few packages using such a feature in mainline
 Luca> buildroot.

I've pondered that as well. One of the issues is how to encode the
git/svn/bzr specific parameters in an URL, so we can easily extract it,
and figuring out if a http:// url means something for wget or
svn-over-http or git-over-http.

 Luca> Is my view correct?

yes.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2010-07-01 12:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30  8:44 [Buildroot] Getting package sources from git/svn/bzr Luca Ceresoli
2010-07-01  7:43 ` Thomas Petazzoni
2010-07-01 11:51   ` Quotient Remainder
2010-07-01 12:45     ` [Buildroot] Getting package sources from git/svn/bzr/hg Michael S. Zick
2010-07-01 12:22   ` [Buildroot] Getting package sources from git/svn/bzr Michael S. Zick
2010-07-01 12:53 ` Peter Korsgaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-07-02 10:47 Luca Ceresoli
2010-07-02 10:58 Luca Ceresoli
2010-07-02 11:34 ` Quotient Remainder
2010-07-07 15:51 Luca Ceresoli

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=874ogj9xdy.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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