[Buildroot] [PATCH 1/1] support/download/git: Prioritize remote archive

Yann E. MORIN yann.morin.1998 at free.fr
Wed Aug 17 22:00:56 UTC 2016


On 2016-08-17 23:54 +0200, Thomas Petazzoni spake thusly:
> Hello,
> 
> On Wed, 17 Aug 2016 23:31:02 +0200, Yann E. MORIN wrote:
> 
> > So, I think it is safe to assume that git-archives always generates
> > reproducible archive.
> 
> So the only remaining reason to not use git archive all the time is to
> support submodules?

Yes.

When doing submodules, I pondered doing two code paths: one for
non-submodules, that would use git-archive, and one where we would do it
all manually as we do today.

But then I concluded that it was better to have a single code path.

Note that, before submodules, we were happily using git-archive locally,
not even forcing the collating rules.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list