diff options
Diffstat (limited to 'zarb-ml/mageia-webteam/2011-March/000440.html')
-rw-r--r-- | zarb-ml/mageia-webteam/2011-March/000440.html | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/zarb-ml/mageia-webteam/2011-March/000440.html b/zarb-ml/mageia-webteam/2011-March/000440.html new file mode 100644 index 000000000..3d87ebae0 --- /dev/null +++ b/zarb-ml/mageia-webteam/2011-March/000440.html @@ -0,0 +1,119 @@ +<!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=%3C20110308155405.GG21938%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="000438.html"> + <LINK REL="Next" HREF="000441.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-webteam] Proposal for maintainers database API</H1> + <B>nicolas vigier</B> + <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20Proposal%20for%20maintainers%20database%20API&In-Reply-To=%3C20110308155405.GG21938%40mars-attacks.org%3E" + TITLE="[Mageia-webteam] Proposal for maintainers database API">boklm at mars-attacks.org + </A><BR> + <I>Tue Mar 8 16:54:05 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="000438.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI>Next message: <A HREF="000441.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#440">[ date ]</a> + <a href="thread.html#440">[ thread ]</a> + <a href="subject.html#440">[ subject ]</a> + <a href="author.html#440">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Tue, 08 Mar 2011, Romain d'Alverny wrote: + +><i> On Tue, Mar 8, 2011 at 13:13, nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">boklm at mars-attacks.org</A>> wrote: +</I>><i> > No comment about using the website to take/drop maintainership, or using +</I>><i> > a command line tool ? +</I>><i> +</I>><i> Both in the end. But I am not sure how to manage the authorization (or +</I>><i> the drop) in both cases: +</I>><i> * through web UI, that's easy: the user that drops has to be the very +</I>><i> maintainer or an admin; +</I> +Yes. And for taking maintainership, the package should not be currently +maintained by someone (other than 'nobody'). + +><i> * through the CLI, would it auth against the maintdb app or through +</I>><i> the buildsystem that, in turn, would notify the maintdb? +</I> +It would auth through the buildsystem, the buildsystem checks that the +user is either admin, maintainer of the package, or that the package is +unmaintained (using maintdb public method), then forward the request to +maintdb using the private method. + +Or the buildsystem can do the auth, and forward the request to maintdb +private method without doing any check, but including in the request +the login name of the user requesting the change so that maintdb can +check the permission. This one is probably better if we want to allow +changes using both website and CLI as it avoids doing the same checks +in two different places. + +><i> +</I>><i> (but that may be just over specification to this point) +</I>><i> +</I>><i> Aside, I've written down this +</I>><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> after +</I>><i> having re-read this whole thread; it is likely incomplete but that's a +</I>><i> possible outcome of the discussion: setting down what minimal +</I>><i> behaviour is expected from the maintdb for it to be used. +</I> +It looks good. + +But I would change this : + +* POST <A HREF="https://maintdb/packages">https://maintdb/packages</A> + user - string - optional - login of the user pushing the package + + The user string should not be optional but mandatory. + + +* GET <A HREF="https://maintdb/packages">https://maintdb/packages</A> + Returns a list such as: + packagename / maintainers login / last commit date / url to bugs report / url to package repo + + I don't think we should return url to bugs report and url to package + repo here. For the "last commit date", we don't have this info. The + info we can have is "last sucessful submit date" (the last time the + private method was called on that package). + +</PRE> + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000438.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI>Next message: <A HREF="000441.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#440">[ date ]</a> + <a href="thread.html#440">[ thread ]</a> + <a href="subject.html#440">[ subject ]</a> + <a href="author.html#440">[ 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> |