summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-October/019210.html
blob: c9b6f168ddba008223efff44d8c2fe93dbae7d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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:
&gt;<i> Johnny A. Solbu a &#233;crit :
</I>&gt;&gt;<i> On Thursday 04 October 2012 10:56, EatDirt wrote:
</I>&gt;&gt;&gt;<i> adding an epoch number
</I>&gt;&gt;&gt;<i> (that can not be removed later)
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I'm sure I'm not the only one confused about this epoch thing, so I'll
</I>&gt;&gt;<i> ask.
</I>&gt;&gt;<i> What is an epoch? (I think I know it's function, but still)
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> And why can it not be removed once instated? No, really, why?
</I>&gt;&gt;<i>
</I>&gt;<i> 
</I>&gt;<i> It is like a more-than-major version, which allows
</I>&gt;<i> e.g. version 3.4 with epoch 1 to be treated as more recent than
</I>&gt;<i>  version 3.5 without epoch.
</I>&gt;<i> If epoch once defined is removed in subsequent versions,
</I>&gt;<i> these subsequent versions will be treated as older than any version with
</I>&gt;<i> epoch defined, so once defined, epoch can't be removed (without changing
</I>&gt;<i> the name of the package).
</I>&gt;<i> Epoch can be increased like other version numbers, if the need arises.
</I>&gt;<i> 
</I>&gt;<i> Evidently, if a package version error is caught early enough, the use of
</I>&gt;<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 &gt;= 3 would have to put &quot;Requires: foo &gt;= 1:3&quot; 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>