Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/4 v2] core/download: add support for git sub-modules (branch yem/git)
Date: Fri,  1 Apr 2016 22:25:28 +0200	[thread overview]
Message-ID: <cover.1459541702.git.yann.morin.1998@free.fr> (raw)

Hello All!

This little series adds support for packages coming from a git clone,
with git sub-modules.

The commit logs are pretty detailed, but roughly, it goes as thus;

  - we can't get sub-modules in a bare clone, so we no longer use bare
    clones, but use full clones (with a working copy);

  - git-archive does not support submodules, so we generate archives
    manually;

  - we check out the working copy to the correct cset, then we retrieve
    the submodules;

  - we expose a new package variable to request sub-modules.


Changes v1 -> v2:
  - properly accept -r in the download wrapper  (Aleksandar)
  - split the non-bare-git and manual-archive changes in two separate
    patches, as they are not semantically related
  - some of my usual typoes fixed...


Regards,
Yann E. MORIN.


The following changes since commit 2cd5abf7f9edd3c0a609e9626f12f71e2a6e4e7c:

  alsa-utils: bump to version 1.1.1 (2016-04-01 03:57:54 +0200)

are available in the git repository at:

  git://git.busybox.net/~ymorin/git/buildroot yem/git

for you to fetch changes up to 8373904cdf1fee9724d6834b56efaa706a92fc31:

  core/pkg-infra: download git submodules if the package wants them (2016-04-01 22:12:08 +0200)

----------------------------------------------------------------
Yann E. MORIN (4):
      support/download/git: do not use bare clones
      support/download/git: do not use git archive, handle it manually
      support/download/git: add support for submodules
      core/pkg-infra: download git submodules if the package wants them

 package/pkg-download.mk     |  1 +
 package/pkg-generic.mk      |  8 ++++++++
 support/download/dl-wrapper |  7 ++++---
 support/download/git        | 46 +++++++++++++++++++++++++++++++++++++++------
 4 files changed, 53 insertions(+), 9 deletions(-)

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

             reply	other threads:[~2016-04-01 20:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 20:25 Yann E. MORIN [this message]
2016-04-01 20:25 ` [Buildroot] [PATCH 1/4 v2] support/download/git: do not use bare clones Yann E. MORIN
2016-04-02  5:01   ` Matthew Weber
2016-04-01 20:25 ` [Buildroot] [PATCH 2/4 v2] support/download/git: do not use git archive, handle it manually Yann E. MORIN
2016-04-02  5:01   ` Matthew Weber
2016-04-01 20:25 ` [Buildroot] [PATCH 3/4 v2] support/download/git: add support for submodules Yann E. MORIN
2016-04-02  5:02   ` Matthew Weber
2016-04-01 20:25 ` [Buildroot] [PATCH 4/4 v2] core/pkg-infra: download git submodules if the package wants them Yann E. MORIN
2016-04-02  5:01   ` Matthew Weber
     [not found]     ` <5702440F.5030707@barix.com>
2016-04-04 11:54       ` Matthew Weber
2016-04-04 21:04       ` Yann E. MORIN
2016-04-05  7:24         ` Aleksandar Simeonov
2016-04-07  9:19   ` Nicolas Cavallari
2016-04-02  1:04 ` [Buildroot] [PATCH 0/4 v2] core/download: add support for git sub-modules (branch yem/git) Matthew Weber

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=cover.1459541702.git.yann.morin.1998@free.fr \
    --to=yann.morin.1998@free.fr \
    --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