From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: packaging Bootstrap for Cuirass' web interface Date: Fri, 27 Jul 2018 01:41:21 -0700 Message-ID: <87va91rrym.fsf@gmail.com> References: <87zhyitmtc.fsf@lassieur.org> <20180723113142.33c9cdbe@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiyJU-0006ae-UX for guix-devel@gnu.org; Fri, 27 Jul 2018 04:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiyJT-0004Wv-T8 for guix-devel@gnu.org; Fri, 27 Jul 2018 04:41:28 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:41463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiyJT-0004W3-LZ for guix-devel@gnu.org; Fri, 27 Jul 2018 04:41:27 -0400 Received: by mail-pf1-x42f.google.com with SMTP id y10-v6so1506047pfn.8 for ; Fri, 27 Jul 2018 01:41:27 -0700 (PDT) In-Reply-To: <20180723113142.33c9cdbe@alma-ubu> (=?utf-8?Q?=22Bj=C3=B6rn?= =?utf-8?Q?_H=C3=B6fling=22's?= message of "Mon, 23 Jul 2018 11:31:42 +0200") 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: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Cc: guix-devel@gnu.org, =?utf-8?Q?Cl=C3=A9ment?= Lassieur , Tatiana Sholokhova --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Mon, 23 Jul 2018 09:48:15 +0200 > Cl=C3=A9ment Lassieur wrote: > >> Hello! >>=20 >> We are going to embed Bootstrap files to our Cuirass service. >> Wouldn't it be better to package Bootstrap and get the service to use >> the package directly? I think it would make maintenance easier, and >> I'm unsure it's good to have huge files on which we don't have >> control in our Cuirass git repository. WDYT? >>=20 >> Cl=C3=A9ment > > Building from "source" would be cool, but looks like a lot of "fun": > > https://getbootstrap.com/docs/4.0/getting-started/build-tools/#tooling-se= tup > > Here is the npm build script. Look at the dev-dependencies: > > https://github.com/twbs/bootstrap/blob/v4.0.0-beta.2/package.json > > NPM-Yogurt. > > I think the only change to go from sources is write your own simple > build scripts and call your own SASS-compiler and JS minifier. See also: http://dustycloud.org/blog/javascript-packaging-dystopia/ "Let's Package jQuery: A Javascript Packaging Dystopian Novella" by Christopher Webber. jQuery also appears to be a dependency of Bootstrap (listed under Bootstrap's "peerDependencies"). It's quite a large Gordian knot. I hope we can cut it someday! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlta2rEACgkQ3UCaFdgi Rp12cQ//Upx+5xSH377E5cVQtIAdDlfBiVJuhGHnYFkqmT8Q2b3QzBZ/v217ovtV c2bBmgeeRxJi4JwrqlKSKqzdGz/SdaILFr3sYpWygedD4ALdejdX/b/ewiQgYMgx DF/hA7F1HSivLxx4uShIqyw0iggxjCUXZ/ZVkapYJS1IZVxKNyg0Cs6dLFRISuNR GjZdLJyQpPKxoCDAcuZs2hj4eY9ZeYuSEzzqIkMeiGJsB078HLUlKNTAO7C88NB9 g9KoE6On/FpG7qUQT3qd6T9sd5yn+XHXvEKgYb3fW004HUY1oC8BdSeZQtkCdhJv YMu7zXEnpTnThpov6MfTbyMph3Bh5irRXwWbmaHgugELijVAqVaSXKvIBdiNgYNZ fzPjQxzNiGvu0Ehopm1G4hrnjR+Prhg48v7LlAPW8CqkYcwPuHfU9QqBBvfs5JN+ AHlVks2ugMkfdOfgi8pb1zhgX8XxSCj2L/JG+CFcjmd3X6zu0zMlP/BGThYZYolZ mjWXVC+u8hp1ZG0Bsc6WgToVrv1aFfj2AZem3D4kcyyKMsytwJTCtHLH9MEAmxHy skBv73zRJAFHZs5zk3vCcSoNEQAZU6QxzwTRAkDVzriOWA6fUYXMqFU0ZMilI9Z9 2++bJBQamBLkYOdAJd8b/gtgPJ9c265UdhgeXKIsYZtUDS9W3t8= =bgwc -----END PGP SIGNATURE----- --=-=-=--