summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110129/002373.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110129/002373.html')
-rw-r--r--zarb-ml/mageia-dev/20110129/002373.html122
1 files changed, 122 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110129/002373.html b/zarb-ml/mageia-dev/20110129/002373.html
new file mode 100644
index 000000000..569d93506
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110129/002373.html
@@ -0,0 +1,122 @@
+<!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%20when%0A%20submiting%20packages%09with%20mgarepo&In-Reply-To=%3C4D4370B4.90800%40iki.fi%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002372.html">
+ <LINK REL="Next" HREF="002374.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo</H1>
+ <B>Anssi Hannula</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20packages%20branches%20and%20revision%20numbers%20when%0A%20submiting%20packages%09with%20mgarepo&In-Reply-To=%3C4D4370B4.90800%40iki.fi%3E"
+ TITLE="[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo">anssi.hannula at iki.fi
+ </A><BR>
+ <I>Sat Jan 29 02:43:16 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002372.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI>Next message: <A HREF="002374.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2373">[ date ]</a>
+ <a href="thread.html#2373">[ thread ]</a>
+ <a href="subject.html#2373">[ subject ]</a>
+ <a href="author.html#2373">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 29.01.2011 03:16, nicolas vigier wrote:
+&gt;<i> Hello,
+</I>&gt;<i>
+</I>&gt;<i> In Mandriva using repsys it was possible to provide a svn revision number
+</I>&gt;<i> when submitting a package. It is still possible to do it using mgarepo,
+</I>&gt;<i> but with a separate repository for binary files, it is more difficult.
+</I>&gt;<i> The current version of mgarepo tries to find the right revision to use
+</I>&gt;<i> for the binrepo (revision from the same date as the revision on the
+</I>&gt;<i> specs repository), but it is not always working as expected. I started
+</I>&gt;<i> to add an option to be able to specify the binrepo revision to use when
+</I>&gt;<i> submiting, but after thinking about it, it's probably not a good idea,
+</I>&gt;<i> because it becomes too complicate.
+</I>&gt;<i>
+</I>&gt;<i> With repsys it's also possible when submiting packages to give an URL
+</I>&gt;<i> instead of a package name. This allows creating new branches for a
+</I>&gt;<i> package. However we also have a problem with this with binrepo, as we
+</I>&gt;<i> need to find the right path for the binary repository. We could add an
+</I>&gt;<i> option to give the URL for the binaries, but I don't think it's a good
+</I>&gt;<i> idea.
+</I>&gt;<i>
+</I>&gt;<i> So I propose to do this instead :
+</I>&gt;<i>
+</I>&gt;<i> - We won't allow using revision numbers when submiting packages.
+</I>&gt;<i> Instead we always use the latest revision available on svn. I don't
+</I>&gt;<i> think submit with a revision number are used much (but maybe I'm wrong ?)
+</I>&gt;<i> and a branch copied from a revision can be used instead, to do the
+</I>&gt;<i> same. And not supporting revision numbers will make mgarepo code more
+</I>&gt;<i> simple.
+</I>&gt;<i>
+</I>&gt;<i> - We won't allow submit with a URL, but only with a package name (and
+</I>&gt;<i> the right URL will be generated by the script receiving the submit request
+</I>&gt;<i> on pkgsubmit). To allow using branches, instead we add a --branch option
+</I>&gt;<i> to provide the name of a branch. If no branch name is provided we use
+</I>&gt;<i> the package from this path :
+</I>&gt;<i> /packages/cauldron/[packagename]/current
+</I>&gt;<i> If a branch name is provided we use the package from this path :
+</I>&gt;<i> /packages/cauldron/[packagename]/branches/[branchname]
+</I>&gt;<i> And the same path in the binrepo.
+</I>&gt;<i> Some commands can be added in mgarepo to create, remove, checkout branches.
+</I>&gt;<i>
+</I>&gt;<i> With this, the path for branches will be more clear, and the same for
+</I>&gt;<i> all packages (contrary to Mandriva where packages could have some branches
+</I>&gt;<i> in /packages/branches, or in /packages/updates, /packages/updates_release
+</I>&gt;<i> or /packages/cooker or anywhere on the repository).
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Does anyone see any problem with this ? Or other ideas, or comments ?
+</I>
+AFAICS the above branch scheme doesn't work well with changelog
+generation. As changelog is generated from [packagename]/releases, one
+of two things seems bound to happen:
+
+a) There is no [packagename]/releases under the branch, and the
+changelog gets messed up (all commits since initial package import in a
+single release entry), or
+
+b) One tries to keep [packagename]/releases to preserve sane changelog
+when branching, but this will fail as this SVN command is invalid, as
+one can't copy a directory into itself:
+svn cp /packages/cauldron/[packagename]
+/packages/cauldron/[packagename]/branches/[branchname]
+
+Or maybe I'm missing something?
+
+--
+Anssi Hannula
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002372.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI>Next message: <A HREF="002374.html">[Mageia-dev] packages branches and revision numbers when submiting packages with mgarepo
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2373">[ date ]</a>
+ <a href="thread.html#2373">[ thread ]</a>
+ <a href="subject.html#2373">[ subject ]</a>
+ <a href="author.html#2373">[ 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>