Gentoo Archives: gentoo-dev

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New distfile mirror layout
Date: Mon, 21 Oct 2019 21:34:47
Message-Id: 15e0cf2f-8595-3b40-f5af-28bc357d5469@gentoo.org
In Reply to: Re: [gentoo-dev] New distfile mirror layout by Joshua Kinard
1 On 21.10.2019 3:05, Joshua Kinard wrote:
2 > So looking at texlive-latexextra-2019-r2.ebuild, it defines three variables:
3 >
4 > - TEXLIVE_MODULE_CONTENTS, with 1,241 space-delimited module names
5 > - TEXLIVE_MODULE_DOC_CONTENTS, with 1,227 space-delimited doc names
6 > - TEXLIVE_MODULE_SRC_CONTENTS, with 745 space-delimited src names
7 >
8 > Then, in texlive-module.eclass, there's these loops:
9 >
10 > for i in ${TEXLIVE_MODULE_CONTENTS}; do
11 > SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
12 > done
13 >
14 > # Forge doc SRC_URI
15 > [ -n "${TEXLIVE_MODULE_DOC_CONTENTS}" ] && SRC_URI="${SRC_URI} doc? ("
16 > for i in ${TEXLIVE_MODULE_DOC_CONTENTS}; do
17 > SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
18 > done
19 > [ -n "${TEXLIVE_MODULE_DOC_CONTENTS}" ] && SRC_URI="${SRC_URI} )"
20 >
21 > # Forge source SRC_URI
22 > if [ -n "${TEXLIVE_MODULE_SRC_CONTENTS}" ] ; then
23 > SRC_URI="${SRC_URI} source? ("
24 > for i in ${TEXLIVE_MODULE_SRC_CONTENTS}; do
25 > SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
26 > done
27 > SRC_URI="${SRC_URI} )"
28 > fi
29 >
30 > I think this is definitely an issue with how this package is laying out its
31 > needed distfiles. It really should be leveraging CTAN system at a minimum
32 > to fetch all of the needed distfiles so we can get them off of our
33 > distfiles mirror. Then it would be interesting to re-run the math on
34 > the distfiles distribution using the different schemes highlighted in the
35 > GLEP-75 paper.
36
37 TexLive distributes collections of macros, not  packages separately,
38 they make their packaging based on CTAN. In the meantime CTAN packages
39 are not versioned, they only have internal release number, no tags,
40 releases and so on, see [1].
41
42 I also fail to see what problem you try to solve when suggest fetching
43 macros from CTAN, you are going to have the same amount of data mirrored
44 as a result.
45
46 [1] - https://ctan.org/tex-archive/systems/texlive/tlnet/archive

Attachments

File name MIME type
signature.asc application/pgp-signature