Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/RFC] Download sources from Git (and more)
@ 2010-07-12 21:30 Luca Ceresoli
  2010-07-12 21:30 ` [Buildroot] [PATCH 1/5] packages: pass the package name to the DOWNLOAD macro Luca Ceresoli
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Luca Ceresoli @ 2010-07-12 21:30 UTC (permalink / raw)
  To: buildroot

Hi,

this patchset is a tentative generalization of the DOWNLOAD macro, as
recently discussed in mailing-list, in order to allow BR to obtain
package sources not only as tar files from http/ftp, but also using
other protocols.

I borrowed some pieces of code from Quotient Remainder's patch, but this
approach is substiatially different.

The feature list is short: I deliberately wanted to be minimalistic
but set up a clean infrastructure that can be extended later.

Even though these patches are quite polished, please consider them as
a proposal for discussion. If there is general consensus about the way
I propose, I'll be glad to add a bit of user documentation as well.

In the first two patches I prepare the ground by making the download
infrastructure more general. The DOWNLOAD function is replaced by a
per-package $(PKG)_DOWNLOAD, whose value is computed automatically
from the site URL but can be overridden. The good old wget system is
modified to fit in the new framework.

In the third and fourth commit I add DOWNLOAD_GIT, which is relatively
straightforward given the whole infrastructure is already in place.
The place where the repository should be cloned might not be appreciated,
but I definitely think it should go in output/, as it is part of
buildroot's -well- output, not of the package "recipe".

The last patch is surely *not* meant to be committed. It's just a
minimalistic example of a package downloaded via Git, and would be
replaced by user docs as stated above.

Luca

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

end of thread, other threads:[~2010-07-14 12:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12 21:30 [Buildroot] [PATCH/RFC] Download sources from Git (and more) Luca Ceresoli
2010-07-12 21:30 ` [Buildroot] [PATCH 1/5] packages: pass the package name to the DOWNLOAD macro Luca Ceresoli
2010-07-12 21:30 ` [Buildroot] [PATCH 2/5] packages: allow different download protocols, with auto detection Luca Ceresoli
2010-07-12 21:42   ` Michael S. Zick
2010-07-12 21:30 ` [Buildroot] [PATCH 3/5] Unleash all of git's power: not only clones Luca Ceresoli
2010-07-12 21:30 ` [Buildroot] [PATCH 4/5] packages: add DOWNLOAD_GIT Luca Ceresoli
2010-07-12 21:30 ` [Buildroot] [PATCH 5/5] FOR TESTING ONLY: Add a GIT-downloaded test package Luca Ceresoli
2010-07-13 14:43 ` [Buildroot] [PATCH/RFC] Download sources from Git (and more) Quotient Remainder
2010-07-13 18:08   ` Thomas Petazzoni
2010-07-13 20:49     ` Luca Ceresoli
2010-07-14 12:28     ` Quotient Remainder
2010-07-13 20:14   ` Luca Ceresoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox