Gentoo Archives: gentoo-dev

From: Michael Weber <xmw@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] git.eclass, git-2.eclass... git-r1.eclass?
Date: Wed, 28 Aug 2013 18:52:47
Message-Id: 521E46F4.8070306@gentoo.org
In Reply to: [gentoo-dev] [RFC] git.eclass, git-2.eclass... git-r1.eclass? by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 08/28/2013 10:00 AM, Michał Górny wrote:
5 > The new eclass is supposedly used by 732 in-tree packages [1], and
6 > possibly a few dozens out-of-the-tree. Some parts of the eclass
7 > API are barely used. I would really prefer to avoid yet another
8 > eclass migration.
9
10 Make that 2622 packages in the gpo.zugaina universe funtoo and gentoo
11 each 500, and a ton others.
12
13 https://xmw.de/tmp/git-2-zugaina.txt
14 https://xmw.de/tmp/git-2-zugaina-sum.txt
15
16
17 Please don't break the ABI carelessly/intentional, just because you
18 see these ebuilds as broken by design.
19
20
21 # data generation
22 wget -r http://data.gpo.zugaina.org/
23 cd data.gpo.zugaina.org
24 find . -name "index.html*" -delete
25
26 for i in $(ls -1) ; do
27 for d in $(find ${i} -maxdepth 2 -mindepth 2 -type d) ; do
28 grep git-2 ${d}/*.ebuild 2>/dev/null >/dev/null && echo ${d}
29 done
30 done | tee /tmp/git-2-zugaina.txt
31
32 awk '
33 BEGIN { FS="/" }
34 { if ($1 == overlay)
35 { c+= 1 }
36 else
37 { print c"\t"overlay ; c=1 ; overlay=$1
38 }
39 } END { print c"\t"overlay }
40 ' < /tmp/git-2-zugaina.txt | sort -r -n > /tmp/git-2-zugaina-sum.txt
41
42 > The use of API features in *.ebuild maps like the following;
43
44 I can run your checks on the dataset, if you provide me the script.
45
46 >
47 > EGIT_REPO_URI 521 EGIT_BRANCH 66 EGIT_SOURCEDIR 21 EGIT_PROJECT 17
48 > EGIT_HAS_SUBMODULES 15 EGIT_COMMIT 12 EGIT_BOOTSTRAP 12 EGIT_MASTER
49 > 7 EGIT_NOUNPACK 2 EGIT_STORE_DIR 1 EGIT_NONBARE 1 EGIT_DIR 1
50 > EVCS_OFFLINE 0 // these are for make.conf EGIT_REPACK 0 EGIT_PRUNE
51 > 0 EGIT_OPTIONS 0
52
53
54 - --
55 Michael Weber
56 Gentoo Developer
57 web: https://xmw.de/
58 mailto: Michael Weber <xmw@g.o>
59 -----BEGIN PGP SIGNATURE-----
60 Version: GnuPG v2.0.20 (GNU/Linux)
61 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
62
63 iF4EAREIAAYFAlIeRvQACgkQknrdDGLu8JDuLgD/T/SRrApytJQAMbN8aIg53Wb9
64 kohbcTyeUtRxm8lYjFMA/jBkXxyFFcTH1lWuPMS9+RcwseFnI1vo3n13XBfGOIuc
65 =pNud
66 -----END PGP SIGNATURE-----