diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-October/019210.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-October/019210.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-October/019210.html | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-October/019210.html b/zarb-ml/mageia-dev/2012-October/019210.html new file mode 100644 index 000000000..c9b6f168d --- /dev/null +++ b/zarb-ml/mageia-dev/2012-October/019210.html @@ -0,0 +1,112 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit] + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20epoch%20number%20%5BWas%3A%20version%20scheme%20blocks%20mgarepo%0A%20submit%5D&In-Reply-To=%3C506EDB77.7010504%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="019208.html"> + <LINK REL="Next" HREF="019211.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit]</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20epoch%20number%20%5BWas%3A%20version%20scheme%20blocks%20mgarepo%0A%20submit%5D&In-Reply-To=%3C506EDB77.7010504%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit]">mageia at colin.guthr.ie + </A><BR> + <I>Fri Oct 5 15:07:03 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="019208.html">[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit] +</A></li> + <LI>Next message: <A HREF="019211.html">[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit] +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19210">[ date ]</a> + <a href="thread.html#19210">[ thread ]</a> + <a href="subject.html#19210">[ subject ]</a> + <a href="author.html#19210">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and andre999 at 05/10/12 07:13 did gyre and gimble: +><i> Johnny A. Solbu a écrit : +</I>>><i> On Thursday 04 October 2012 10:56, EatDirt wrote: +</I>>>><i> adding an epoch number +</I>>>><i> (that can not be removed later) +</I>>><i> +</I>>><i> I'm sure I'm not the only one confused about this epoch thing, so I'll +</I>>><i> ask. +</I>>><i> What is an epoch? (I think I know it's function, but still) +</I>>><i> +</I>>><i> And why can it not be removed once instated? No, really, why? +</I>>><i> +</I>><i> +</I>><i> It is like a more-than-major version, which allows +</I>><i> e.g. version 3.4 with epoch 1 to be treated as more recent than +</I>><i> version 3.5 without epoch. +</I>><i> If epoch once defined is removed in subsequent versions, +</I>><i> these subsequent versions will be treated as older than any version with +</I>><i> epoch defined, so once defined, epoch can't be removed (without changing +</I>><i> the name of the package). +</I>><i> Epoch can be increased like other version numbers, if the need arises. +</I>><i> +</I>><i> Evidently, if a package version error is caught early enough, the use of +</I>><i> epoch can be avoided. +</I> +It's also worth stating explicitly that epochs are a pain in the +backside! They should only be added when no other solution exists. e.g. +we would likely never use epoch to fix any issue in cauldron, only when +we need to fix something going from mgaN to mgaN+1. + +The reason they are a pain is that they are, intentionally, hidden from +view. If you have package foo-3.5 but it has an epoch of 1, then any +package requiring foo >= 3 would have to put "Requires: foo >= 1:3" in +the spec. + +Perhaps not the best example, but it's makes inter package deps a bit +trickier. + +So it solves a problem, but should be used sparingly. + +Col + + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="019208.html">[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit] +</A></li> + <LI>Next message: <A HREF="019211.html">[Mageia-dev] epoch number [Was: version scheme blocks mgarepo submit] +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19210">[ date ]</a> + <a href="thread.html#19210">[ thread ]</a> + <a href="subject.html#19210">[ subject ]</a> + <a href="author.html#19210">[ 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> |