summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-webteam/2011-March/000441.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-webteam/2011-March/000441.html')
-rw-r--r--zarb-ml/mageia-webteam/2011-March/000441.html115
1 files changed, 115 insertions, 0 deletions
diff --git a/zarb-ml/mageia-webteam/2011-March/000441.html b/zarb-ml/mageia-webteam/2011-March/000441.html
new file mode 100644
index 000000000..15976b660
--- /dev/null
+++ b/zarb-ml/mageia-webteam/2011-March/000441.html
@@ -0,0 +1,115 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-webteam] Proposal for maintainers database API
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20Proposal%20for%20maintainers%20database%20API&In-Reply-To=%3CAANLkTimBK_DEn8a%3Dree8oxVNBfGGCmt3X_dtJzvQqip8%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000440.html">
+ <LINK REL="Next" HREF="000442.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-webteam] Proposal for maintainers database API</H1>
+ <B>Romain d'Alverny</B>
+ <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20Proposal%20for%20maintainers%20database%20API&In-Reply-To=%3CAANLkTimBK_DEn8a%3Dree8oxVNBfGGCmt3X_dtJzvQqip8%40mail.gmail.com%3E"
+ TITLE="[Mageia-webteam] Proposal for maintainers database API">rdalverny at gmail.com
+ </A><BR>
+ <I>Tue Mar 8 17:07:19 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000440.html">[Mageia-webteam] Proposal for maintainers database API
+</A></li>
+ <LI>Next message: <A HREF="000442.html">[Mageia-webteam] Proposal for maintainers database API
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#441">[ date ]</a>
+ <a href="thread.html#441">[ thread ]</a>
+ <a href="subject.html#441">[ subject ]</a>
+ <a href="author.html#441">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Tue, Mar 8, 2011 at 16:54, nicolas vigier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">boklm at mars-attacks.org</A>&gt; wrote:
+&gt;<i> On Tue, 08 Mar 2011, Romain d'Alverny wrote:
+</I>&gt;&gt;<i> &#160;* through the CLI, would it auth against the maintdb app or through
+</I>&gt;&gt;<i> the buildsystem that, in turn, would notify the maintdb?
+</I>&gt;<i> [...]
+</I>&gt;<i> Or the buildsystem can do the auth, and forward the request to maintdb
+</I>&gt;<i> private method without doing any check, but including in the request
+</I>&gt;<i> the login name of the user requesting the change so that maintdb can
+</I>&gt;<i> check the permission. This one is probably better if we want to allow
+</I>&gt;<i> changes using both website and CLI as it avoids doing the same checks
+</I>&gt;<i> in two different places.
+</I>
+Looks better that way, yes.
+
+So maintdb will need to know who is admin (can be checked later with a
+flag). Not sure, can be updated later:
+<A HREF="http://mageia.org/wiki/doku.php?id=web:maintdb#break_a_maintainer_package_association">http://mageia.org/wiki/doku.php?id=web:maintdb#break_a_maintainer_package_association</A>
+
+&gt;&gt;<i> <A HREF="http://mageia.org/wiki/doku.php?id=web:maintdb#specs_actions">http://mageia.org/wiki/doku.php?id=web:maintdb#specs_actions</A> [...]
+</I>&gt;<i>
+</I>&gt;<i> But I would change this :
+</I>&gt;<i>
+</I>&gt;<i> * POST <A HREF="https://maintdb/packages">https://maintdb/packages</A>
+</I>&gt;<i> &#160;user - string - optional - login of the user pushing the package
+</I>&gt;<i>
+</I>&gt;<i> &#160;The user string should not be optional but mandatory.
+</I>
+Right. Fixed.
+
+&gt;<i> * GET <A HREF="https://maintdb/packages">https://maintdb/packages</A>
+</I>&gt;<i> &#160;Returns a list such as:
+</I>&gt;<i> &#160;packagename / maintainers login / last commit date / url to bugs report / url to package repo
+</I>&gt;<i>
+</I>&gt;<i> &#160;I don't think we should return url to bugs report and url to package
+</I>&gt;<i> &#160;repo here.
+</I>
+Ok. Then we must have clearly spec'd URLs for both so we can use them for sure.
+
+&gt;<i> For the &quot;last commit date&quot;, we don't have this info. The
+</I>&gt;<i> info we can have is &quot;last sucessful submit date&quot; (the last time the
+</I>&gt;<i> private method was called on that package).
+</I>
+Right, updated as well.
+
+
+Kosmas, would you have time this week to work on maintdb to port these
+interfaces to it or do you need help too?
+
+I can devote some time on it this week, but I'll have to figure out
+how to... well, I've got a conflict (RubyGem version error: rack(1.2.1
+not ~&gt; 1.1.0)) to make it run.
+
+Romain
+</PRE>
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000440.html">[Mageia-webteam] Proposal for maintainers database API
+</A></li>
+ <LI>Next message: <A HREF="000442.html">[Mageia-webteam] Proposal for maintainers database API
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#441">[ date ]</a>
+ <a href="thread.html#441">[ thread ]</a>
+ <a href="subject.html#441">[ subject ]</a>
+ <a href="author.html#441">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-webteam">More information about the Mageia-webteam
+mailing list</a><br>
+</body></html>