summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110129/002374.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110129/002374.html')
-rw-r--r--zarb-ml/mageia-dev/20110129/002374.html92
1 files changed, 92 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110129/002374.html b/zarb-ml/mageia-dev/20110129/002374.html
new file mode 100644
index 000000000..0e142b83d
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110129/002374.html
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20packages%20branches%20and%20revision%20numbers%0A%09when%09submiting%20packages%20with%20mgarepo&In-Reply-To=%3C20110129143043.GB21938%40mars-attacks.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002373.html">
+ <LINK REL="Next" HREF="002375.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo</H1>
+ <B>nicolas vigier</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20packages%20branches%20and%20revision%20numbers%0A%09when%09submiting%20packages%20with%20mgarepo&In-Reply-To=%3C20110129143043.GB21938%40mars-attacks.org%3E"
+ TITLE="[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo">boklm at mars-attacks.org
+ </A><BR>
+ <I>Sat Jan 29 15:30:43 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002373.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI>Next message: <A HREF="002375.html">[Mageia-dev] Accident
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2374">[ date ]</a>
+ <a href="thread.html#2374">[ thread ]</a>
+ <a href="subject.html#2374">[ subject ]</a>
+ <a href="author.html#2374">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sat, 29 Jan 2011, Anssi Hannula wrote:
+
+&gt;<i>
+</I>&gt;<i> AFAICS the above branch scheme doesn't work well with changelog
+</I>&gt;<i> generation. As changelog is generated from [packagename]/releases, one
+</I>&gt;<i> of two things seems bound to happen:
+</I>&gt;<i>
+</I>&gt;<i> a) There is no [packagename]/releases under the branch, and the
+</I>&gt;<i> changelog gets messed up (all commits since initial package import in a
+</I>&gt;<i> single release entry), or
+</I>&gt;<i>
+</I>&gt;<i> b) One tries to keep [packagename]/releases to preserve sane changelog
+</I>&gt;<i> when branching, but this will fail as this SVN command is invalid, as
+</I>&gt;<i> one can't copy a directory into itself:
+</I>&gt;<i> svn cp /packages/cauldron/[packagename]
+</I>&gt;<i> /packages/cauldron/[packagename]/branches/[branchname]
+</I>
+Good question. I have looked at how it is working now :
+ - it first looks at all svn logs from [packagename]/releases, and
+ extract infos from &quot;%repsys markrelease&quot; logs, which contains
+ infos about packages version, release, and relrevision.
+ - it use commit logs from [packagename]/current and groups them by
+ package releases using the infos from markrelease.
+
+So I think we can do this :
+ - We don't copy releases directory in branches, only SPECS and SOURCES
+ directories, we share the releases directory for current and branches.
+ - In &quot;%repsys markrelease&quot; commits, we include the branch name
+ - When generating logs for a branch package we only use markrelease
+ infos from that branch, and from current from before the first
+ markrelease for the branch
+ - When generating logs for current package, we ignore markrelease from
+ other branches
+
+Does it look ok ?
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002373.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI>Next message: <A HREF="002375.html">[Mageia-dev] Accident
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2374">[ date ]</a>
+ <a href="thread.html#2374">[ thread ]</a>
+ <a href="subject.html#2374">[ subject ]</a>
+ <a href="author.html#2374">[ 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>