From: Wolfgang Denk Date: Mon, 20 Jul 2015 21:33:28 +0200 Subject: [U-Boot] [ANN] git server, FTP server In-Reply-To: References: <20150715072412.ED23338100A@gemini.denx.de> <593AEF6C47F46446852B067021A273D6FBC788CC@MUCSE037.lantiq.com> <20150715125134.E32AF381009@gemini.denx.de> <55ABD78C.2060108@suse.de> Message-ID: <20150720193328.6F56C380180@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter, In message you wrote: > >>> I tried to find a way to download a file with wget or a similar tool, which > >>> would be used by a distribution builder (like Yocto, Buildroot, OpenWrt, ...). > >> > >> Why would any build environment use tarballs? can you not just > >> reference the git repository? This is much more efficient, IMHO. > > > > Open Build Service uses tarballs, too. We usually specify full URLs in > > the RPM .spec file [1] both for documentation of origin and so that the > > mirrored tarball can be verified via gpg or checksum where available. > > As the actual build is intentionally done offline, at some point a > > tarball is needed. The URL could happily be a redirect to some mirror. > > This is the same in Fedora, the builds are done in a constrained > environment without connectivity to the general internet. This is normal. It's the same in any Yocto based environment. And probably in any other buil environment that alloes to reliably reproduce a specific build. But you can still use git to fetch your sources - instead of storing a tarball locally, you store a clone of the git repo. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de 1000 pains = 1 Megahertz