From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Go & bundling Date: Tue, 26 Jul 2016 00:05:12 +0200 Message-ID: <87k2g9cr1j.fsf_-_@gnu.org> References: <20160711213621.GA22573@jasmine> <87mvl68yhn.fsf@gnu.org> <20160725195006.GA532@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRo01-00013l-Tz for guix-devel@gnu.org; Mon, 25 Jul 2016 18:05:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRnzw-0001Wg-4a for guix-devel@gnu.org; Mon, 25 Jul 2016 18:05:20 -0400 In-Reply-To: <20160725195006.GA532@jasmine> (Leo Famulari's message of "Mon, 25 Jul 2016 15:50:06 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > We will have to decide what to do about bundled dependencies. Bundling > the source code of dependencies appears to be standard practice in the > world of Go. Bundling appears to be standard practice in the world. :-) > The compiler began supporting this directly in the 1.5 series: > https://github.com/golang/go/wiki/PackageManagementTools#go15vendorexperi= ment > > This is the manifest of Syncthing's dependencies, which are bundled in > the same directory: > https://github.com/syncthing/syncthing/blob/master/vendor/manifest > > If that manifest is a standard thing, we could make a go-importer that > used it to create new packages. Indeed, that would be pretty cool as it effectively provides an easy way for users to =E2=80=9Cunbundle=E2=80=9D if they want to. Much more transpa= rent that what is often practiced. > I don't fully understand Debian's packaging, but it seems that they only > use external packages to provide 2 of 39 dependencies, bootstrap and > font-awesome: > https://anonscm.debian.org/git/pkg-go/packages/syncthing.git/tree/debian/= rules#n42 It might be that even the bravest have given up. ;-) Ludo=E2=80=99.