diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110129/002374.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110129/002374.html | 92 |
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: + +><i> +</I>><i> AFAICS the above branch scheme doesn't work well with changelog +</I>><i> generation. As changelog is generated from [packagename]/releases, one +</I>><i> of two things seems bound to happen: +</I>><i> +</I>><i> a) There is no [packagename]/releases under the branch, and the +</I>><i> changelog gets messed up (all commits since initial package import in a +</I>><i> single release entry), or +</I>><i> +</I>><i> b) One tries to keep [packagename]/releases to preserve sane changelog +</I>><i> when branching, but this will fail as this SVN command is invalid, as +</I>><i> one can't copy a directory into itself: +</I>><i> svn cp /packages/cauldron/[packagename] +</I>><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 "%repsys markrelease" 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 "%repsys markrelease" 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> |