Skip to content

Introduce alternative archive format

Jérôme Pouiller buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pkg-download: do not test SITE_METHODpackage/pkg-download.mk+1 -62 replies
2/5download/git: allow to create archives containing shallowed git repossupport/download/git+27 -30 replies
3/5pkg-generic: allow to populate build directory from a git archivepackage/pkg-generic.mk+16 -20 replies
4/5pkg-generic: provide an option to use git archivesConfig.in package/pkg-generic.mk+33 -160 replies
5/5pkg-generic: tag sources if git is usedpackage/pkg-generic.mk+6 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchYann E. MORIN
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/5] Introduce alternative archive format

Hello,

As suggested by Arnout [1], this series provide an alternative archive format. This new format contains a shallowed version of upstream repository. This format is a little bigger and a little longer to create but it allow a better workflow with upstream. I describe some good practice in patch 2.

Notice projects hosted by github don't yet benefit of this feature since I have not found any elegant way to do it :-(.

During my tests, I have noticed current shallow clone is mostly broken (at least with git < 2.5 [2]). Indeed, shallow clone only work with symbolic references (HEAD, a tag or a branch). However, we avoid use of symbolic references in VERSION.

[1] http://lists.busybox.net/pipermail/buildroot/2015-November/144296.html
[2] http://stackoverflow.com/a/30701724/301717

J?r?me Pouiller (5):
pkg-download: do not test SITE_METHOD
download/git: allow to create archives containing shallowed git repos
pkg-generic: allow to populate build directory from a git archive
pkg-generic: provide an option to use git archives
pkg-generic: tag sources if git is used

 Config.in               | 13 +++++++++++
 package/pkg-download.mk |  7 +-----
 package/pkg-generic.mk  | 60 ++++++++++++++++++++++++++++++++++---------------
 support/download/git    | 30 ++++++++++++++++++++++---
 4 files changed, 83 insertions(+), 27 deletions(-)
Signature · 1 line
2.1.4