From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#27217: texlive is too big Date: Sat, 15 Dec 2018 15:11:12 +0100 Message-ID: <87imzuswvz.fsf@ambrevar.xyz> References: <87tw3w7v1m.fsf@elephly.net> <87po1g2g43.fsf@gmail.com> <87fu2chu02.fsf@elephly.net> <87lgc42b7i.fsf@gmail.com> 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]:39280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYAg9-0003QJ-Ai for bug-guix@gnu.org; Sat, 15 Dec 2018 09:12:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYAfk-0006Uo-42 for bug-guix@gnu.org; Sat, 15 Dec 2018 09:12:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYAfi-0006TB-0K for bug-guix@gnu.org; Sat, 15 Dec 2018 09:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYAfh-00067n-KP for bug-guix@gnu.org; Sat, 15 Dec 2018 09:12:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87lgc42b7i.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 27217@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've dug into this a little deeper (sadly not too much, I don't think I'll = have time to work on this before a while). Let me summarize the issue: packages can be fetched from two main resources= :=20 =2D the TeXlive subversion repository (what we are doing now) which bundles everything into a single massive folder. =20=20 =2D CTAN which distributes everything as separate packages. The problem with CTAN is that it's not versioned and there is no "stable" U= RL for the packages. To paraphrase https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/typesetting/tex/tex= live/default.nix: =2D-8<---------------cut here---------------start------------->8--- # Upstream refuses to distribute stable tarballs, # so we host snapshots on IPFS or on our own servers. # Common packages should get served from the binary cache anyway. # See discussions, e.g. https://github.com/NixOS/nixpkgs/issues/24683 urlPrefixes =3D args.urlPrefixes or [ # A snapshot temporarily hosted by @xeji. # TODO: remove when there is a reliable long-term solution https://cat3.de/texlive-2018/tlnet/archive # TODO: Add second, faster and more reliable snapshot mirror, # maybe on one of our project's servers # IPFS seeded by the mirror above - this may be quite slow https://ipfs.io/ipfs/QmT4Z67wXin1Z9DhvqwSSkSZSuu8hT6LgDyMu6CBm9Tb7t= /tlnet/archive # The canonical source moves quickly and will be broken almost imme= diately http://mirror.ctan.org/tex-archive/systems/texlive/tlnet/archive # Should be stable for historic, archived releases # http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tl= net-final/archive # TODO: use this later when 2018 is archived ]; =2D-8<---------------cut here---------------end--------------->8--- The core question for us is: "Can we reconstruct a TeXlive package from the subversion repository?" Corollary: Was NixOS right to discard the repository as a source for packag= es? If we can't reconstruct packages from the subversion repository, then our current texlive-build-system is not very useful when centered around texlive-ref. Nix auto-generates all packages from this file: http://mirror.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpd= b.xz. This could be our redeemer :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlwVC4AACgkQm9z0l6S7 zH+jwwgAicfWhMPk4ejRHcJc5Ei8zWy9UWjkrQBU4BGwaRgGsOeUNhlajRXVl1ne pjry80rPikWd7QIxlGCvEWJWLFumenKNLuQntS5hVUZf+UjjRZvCYzR1haIpGEam gvcDL1os4Mqc1Sm4K1u8Kpghy353ab8/lNfnyxM1OTl666O5Ain1+9jVx4B9A8RQ IpXvS3PAAcMmXgu0Ra6G1SVIfPdEditVTOTuKHdVgKI348Jn5zChlwTxJHDMVHDU Y4+/P8KiZDlhV7FkBLr9KDutwPbv590mwIJBJqX28LW9f9hqjCL+jUoQ+yKSjr3n orWZQ5VTvMgKN/SIzzGzICqZmRCHJQ== =xNh0 -----END PGP SIGNATURE----- --=-=-=--