summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-June/005935.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005935.html')
-rw-r--r--zarb-ml/mageia-dev/2011-June/005935.html148
1 files changed, 148 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005935.html b/zarb-ml/mageia-dev/2011-June/005935.html
new file mode 100644
index 000000000..402d73b43
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-June/005935.html
@@ -0,0 +1,148 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Minimal patching vs. fixing the whole Universe
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimal%20patching%20vs.%20fixing%20the%20whole%20Universe&In-Reply-To=%3CBANLkTinH7Sh170Y--_-ndi2TtLgae%2BacVw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="005934.html">
+ <LINK REL="Next" HREF="005938.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Minimal patching vs. fixing the whole Universe</H1>
+ <B>Ahmad Samir</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimal%20patching%20vs.%20fixing%20the%20whole%20Universe&In-Reply-To=%3CBANLkTinH7Sh170Y--_-ndi2TtLgae%2BacVw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] Minimal patching vs. fixing the whole Universe">ahmadsamir3891 at gmail.com
+ </A><BR>
+ <I>Wed Jun 22 23:18:18 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="005934.html">[Mageia-dev] Minimal patching vs. fixing the whole Universe
+</A></li>
+ <LI>Next message: <A HREF="005938.html">[Mageia-dev] Minimal patching vs. fixing the whole Universe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5935">[ date ]</a>
+ <a href="thread.html#5935">[ thread ]</a>
+ <a href="subject.html#5935">[ subject ]</a>
+ <a href="author.html#5935">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 22 June 2011 23:14, Ahmad Samir &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">ahmadsamir3891 at gmail.com</A>&gt; wrote:
+&gt;<i> On 22 June 2011 22:47, Radu-Cristian FOTESCU &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">beranger5ca at yahoo.ca</A>&gt; wrote:
+</I>&gt;&gt;<i> I'm known to be grumpy and difficult, but I also believe in simplicity as a policy, therefore I'd like to ask you something.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> By no means I want to question Ahmad's judgment, however I strongly disagree with him on one point. As a _principle_. Otherwise, it's a tiny punctual question, but I'd like to know Mageia's patching _policy_.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> See comments 50 and downwards:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1659#c50">https://bugs.mageia.org/show_bug.cgi?id=1659#c50</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> calibre-python2-env-fix.patch replaces
+</I>&gt;&gt;<i> '/usr/bin/env python2'
+</I>&gt;&gt;<i> with
+</I>&gt;&gt;<i> '/usr/bin/env python'
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> The calibre developer has used '/usr/bin/env python' for ages, but relatively recently he has decided to switch to '/usr/bin/env python2' for fear that some distros would use Python 3 by default.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Ahmad insists that '/usr/bin/python' should be used in Mageia.
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Actually, I said that the shebang should be removed altogether. Which
+</I>&gt;<i> is what was being done all those years calibre existed in the Mandriva
+</I>&gt;<i> repos (the same for Fedora, since they do remove the shebang, as the
+</I>&gt;<i> calibre spec was originally imported from Fedora, which I said in the
+</I>&gt;<i> report too).
+</I>
+Of course, or just /usr/bin/python. The /usr/bin/env way may be useful
+for upstream when creating binary tarballs; but not for us we build
+the package, and we know which version of python exists in the release
+we're pushing it to.
+
+Also, /usr/bin/python2 doesn't exist to begin with, as mikala pointed out.
+
+
+&gt;<i>
+</I>&gt;&gt;<i> As long as '/usr/bin/env python' _works_, I see no point in trying to rewrite other people's work.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I would say that the general principle should be to apply a _minimal_ patching, not to try to rewrite the work of the developers of hundreds of packages!
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> A distro's job is not to judge the work of the _upstream_ developers as long as this is not a real bug.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> &quot;Should&quot; Mageia try to &quot;fix&quot; something that is not actually broken? There might be hundreds of packages with thousands and thousands of questionable decisions taken by the upstream developers -- however, why fixing something that works?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> You see, I hate conflicts (although I seem to be a maestro in generating them), but I also need simplicity and clear policies. Also, policies that can be applied. &quot;Perfect&quot; policies that would require the revision of hundreds of packages that actually work are not my cup of tea.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Of course, I am _not_ a Mageia packager and this is not &quot;my&quot; package, but I'd like to know Mageia's policy wrt building packages. Normally, patches are not meant to optimize but to fix breakages. If the packagers are compelled to &quot;improve&quot; upstream's work, this can prove to be catastrophic in complex cases.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Thank you,
+</I>&gt;&gt;<i> R-C aka beranger
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Ahmad Samir
+</I>&gt;<i>
+</I>
+
+
+--
+Ahmad Samir
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="005934.html">[Mageia-dev] Minimal patching vs. fixing the whole Universe
+</A></li>
+ <LI>Next message: <A HREF="005938.html">[Mageia-dev] Minimal patching vs. fixing the whole Universe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5935">[ date ]</a>
+ <a href="thread.html#5935">[ thread ]</a>
+ <a href="subject.html#5935">[ subject ]</a>
+ <a href="author.html#5935">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>