Gentoo Archives: gentoo-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 08/19] ebuild-maintenance: rewrite the text on adding binary files to the tree #558642
Date: Mon, 25 Jan 2016 00:52:24
Message-Id: 20160124165106.349d7368.dolsen@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v2 08/19] ebuild-maintenance: rewrite the text on adding binary files to the tree #558642 by "Göktürk Yüksek"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On Sun, 24 Jan 2016 18:44:08 -0500
5 Göktürk Yüksek <gokturk@××××××××××.edu> wrote:
6
7 > Andrew Savchenko:
8 > > On Sun, 24 Jan 2016 16:00:31 +0100 Patrice Clement wrote:
9 > >> Sunday 24 Jan 2016 03:46:02, Gokturk Yuksek wrote :
10 > >>> Remove the paragraph about adding binary files to CVS. Replace
11 > >>> the instances of CVS with git.
12 > >>>
13 > >>> X-Gentoo-Bug-URL:
14 > >>> https://bugs.gentoo.org/show_bug.cgi?id=558642 Signed-off-by:
15 > >>> Gokturk Yuksek <gokturk@××××××××××.edu> ---
16 > >>> ebuild-maintenance/text.xml | 19 +++---------------- 1 file
17 > >>> changed, 3 insertions(+), 16 deletions(-)
18 > >>>
19 > >>> diff --git a/ebuild-maintenance/text.xml
20 > >>> b/ebuild-maintenance/text.xml index ac68dcd..10709ea 100644
21 > >>> --- a/ebuild-maintenance/text.xml +++
22 > >>> b/ebuild-maintenance/text.xml @@ -42,22 +42,9 @@ above 20KB)
23 > >>> which should be distributed as tarballs via the <uri
24 > >>> link="::general-concepts/mirrors/#suitable-download-hosts">Gentoo
25 > >>>
26 > >>>
27 > mirror system</uri> so that people do not waste excessive
28 > >>> amounts of bandwidth and hard drive space. Also, you should
29 > >>> not add binary (non-ASCII) files to the -Portage CVS tree. If
30 > >>> you need to do this in another CVS tree, for -example, if you
31 > >>> need to add a small PNG graphic for whatever reason, -be sure
32 > >>> to add it to CVS by using the <c>-kb</c> option, like so: -</p>
33 > >>> - -<pre caption="Adding binary files to CVS"> -# <i>cvs add
34 > >>> -kb myphoto.png</i> -</pre> - -<p> -The <c>-kb</c> option tells
35 > >>> CVS that <path>myphoto.png</path> is a binary -file and should
36 > >>> be treated specially. For example, merging the -differences
37 > >>> between two different versions of this file should not be
38 > >>> -allowed to happen, for obvious reasons. Also, speaking of
39 > >>> merging +git tree. Also, speaking of merging changes, any
40 > >>> patches you add to Portage should generally <e>not</e> be
41 > >>> -compressed. This will allow CVS to merge changes and
42 > >>> correctly inform +compressed. This will allow git to merge
43 > >>> changes and correctly inform developers of conflicts. </p>
44 > >>>
45 > >>> @@ -149,7 +136,7 @@ simply, <path>1.0-gentoo.diff</path>.
46 > >>> Also note that the <path>gentoo</path> extension informs people
47 > >>> that this patch was created by us, the Gentoo Linux
48 > >>> developers, rather than having been grabbed from a mailing list
49 > >>> or somewhere else. Again, you should not compress these
50 > >>> -patches because CVS does not play well with binary files.
51 > >>> +patches because git does not play well with binary files.
52 > >>> </p>
53 > >>>
54 > >>> <p> -- 2.4.10
55 > >>>
56 > >>>
57 > >>
58 > >> "Again you should not compress these patches because git does
59 > >> not play well binary files".
60 > >>
61 > >> I'm not sure this statement still holds true with git. Does it?
62 > >
63 > > What about repoman checks? Will it still yell at >20 kB patches?
64 > >
65 > Yessir:
66 > https://gitweb.gentoo.org/proj/portage.git/tree/pym/repoman/checks/ebuilds/fetches.py?h=v2.2.27#n104
67 >
68 > Even though it's not an issue with the git tree, rsync users will
69 > still suffer for >20kB patches.
70 >
71 > > Best regards, Andrew Savchenko
72 > >
73 >
74 > - --
75 > gokturk
76 >
77 >
78
79 just for future reference, here it is again in the repoman rewtire code
80 waiting to be merged and likely be in the next release:
81
82 https://gitweb.gentoo.org/proj/portage.git/tree/pym/repoman/modules/scan/fetch/fetches.py?h=repoman#n109
83
84 - --
85 Brian Dolbec <dolsen>
86
87 -----BEGIN PGP SIGNATURE-----
88 Version: GnuPG v2.1
89
90 iQJ8BAEBCgBmBQJWpXF6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
91 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNUQ3Qzc0RTA4MUNDNzBEQjRBNEFBRjVG
92 QkJEMDg3Mjc1ODIwRUQ4AAoJEPu9CHJ1gg7YV6IP/34NmzdtaMg4W471cXYn8pR0
93 8JdcHkC2YehpNNzSjDbWmI9pEArBS/3yWC8lfXMeu21GU66OUb6eKR5KMURg5OP9
94 FT4DJCHO9RWK31QEOD03PLZXhoaw6JgYQpvjbnWP1CN8mdWg7CeA0r0y4BPe63Kp
95 FGpFZXjduszpT1ALIt86tN85pB9jmYdwDgj9vLWG6SyThFuA6aDeEHSaAB05blDU
96 p6NVksGfSG6bbS+Kok1uRdF5vVqBQU+aSxNbZW9mpRtYDtdr5DoInbq/uXz/Dy1S
97 Kp7iDg8+SW3nwA60vqss5SZmZDW3cnEH1XWIdEgDjH4NBvlaVnA9yxIa12MJ6qSy
98 FZ+5F5HVAdRs8eLK0OsK/RbFm4gCEFxmhm6YJ2qXpIXuD/MM4GJXJa+O7qrURzqI
99 td5rJNTHGbIBmwDjJwotwyuT+FgWajicbrnQpxgiLoNYcvvB7mihwT+DFKx4WxWm
100 rw2O21fFaUD/OQp255y0OLyVfVC6SRk3UXXlDd9Pl+UYLLIyC6ibVI4dxDxp4hd2
101 DGUTQ2FFm3m4h5RTxeCJNJgTMlKSbCyDut6vM8mMyIzMxcD5nfWFv53KNIbOPfGH
102 vmUbc5scrhKLiawzos2w+ChzGkzGParzCF7rZ1S2nOlJFt87qgVVs7JNVUJ0D1QX
103 XlmqJV+fmRhaDLRXNVQA
104 =gmwE
105 -----END PGP SIGNATURE-----