From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Date: Sun, 19 Jul 2015 18:59:56 +0200 Subject: [U-Boot] [ANN] git server, FTP server In-Reply-To: <20150715125134.E32AF381009@gemini.denx.de> References: <20150715072412.ED23338100A@gemini.denx.de> <593AEF6C47F46446852B067021A273D6FBC788CC@MUCSE037.lantiq.com> <20150715125134.E32AF381009@gemini.denx.de> Message-ID: <55ABD78C.2060108@suse.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 Wolfgang, Am 15.07.2015 um 14:51 schrieb Wolfgang Denk: > In message <593AEF6C47F46446852B067021A273D6FBC788CC@MUCSE037.lantiq.com> 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. When developing, Git is great of course. Regards, Andreas [1] https://build.opensuse.org/package/view_file/Base:System/u-boot/u-boot.spec.in?expand=1 -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N?rnberg)