diff options
Diffstat (limited to 'zarb-ml/mageia-webteam/2011-March/000442.html')
-rw-r--r-- | zarb-ml/mageia-webteam/2011-March/000442.html | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/zarb-ml/mageia-webteam/2011-March/000442.html b/zarb-ml/mageia-webteam/2011-March/000442.html new file mode 100644 index 000000000..345419679 --- /dev/null +++ b/zarb-ml/mageia-webteam/2011-March/000442.html @@ -0,0 +1,136 @@ +<!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=%3CAANLkTinsNs9q5RizXqaNA3fi88Z7eADfAEc98Eox3hOo%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="000441.html"> + <LINK REL="Next" HREF="000443.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-webteam] Proposal for maintainers database API</H1> + <B>Kosmas Chatzimichalis</B> + <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20Proposal%20for%20maintainers%20database%20API&In-Reply-To=%3CAANLkTinsNs9q5RizXqaNA3fi88Z7eADfAEc98Eox3hOo%40mail.gmail.com%3E" + TITLE="[Mageia-webteam] Proposal for maintainers database API">Kosmas at mach7x.com + </A><BR> + <I>Tue Mar 8 17:13:51 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="000441.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI>Next message: <A HREF="000443.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#442">[ date ]</a> + <a href="thread.html#442">[ thread ]</a> + <a href="subject.html#442">[ subject ]</a> + <a href="author.html#442">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 8 March 2011 16:07, Romain d'Alverny <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">rdalverny at gmail.com</A>> wrote: + +><i> On Tue, Mar 8, 2011 at 16:54, nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">boklm at mars-attacks.org</A>> +</I>><i> wrote: +</I>><i> > On Tue, 08 Mar 2011, Romain d'Alverny wrote: +</I>><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>><i> > [...] +</I>><i> > Or the buildsystem can do the auth, and forward the request to maintdb +</I>><i> > private method without doing any check, but including in the request +</I>><i> > the login name of the user requesting the change so that maintdb can +</I>><i> > check the permission. This one is probably better if we want to allow +</I>><i> > changes using both website and CLI as it avoids doing the same checks +</I>><i> > in two different places. +</I>><i> +</I>><i> Looks better that way, yes. +</I>><i> +</I>><i> So maintdb will need to know who is admin (can be checked later with a +</I>><i> flag). Not sure, can be updated later: +</I>><i> +</I>><i> <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> +</I>><i> +</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> [...] +</I>><i> > +</I>><i> > But I would change this : +</I>><i> > +</I>><i> > * POST <A HREF="https://maintdb/packages">https://maintdb/packages</A> +</I>><i> > user - string - optional - login of the user pushing the package +</I>><i> > +</I>><i> > The user string should not be optional but mandatory. +</I>><i> +</I>><i> Right. Fixed. +</I>><i> +</I>><i> > * GET <A HREF="https://maintdb/packages">https://maintdb/packages</A> +</I>><i> > Returns a list such as: +</I>><i> > packagename / maintainers login / last commit date / url to bugs report +</I>><i> / url to package repo +</I>><i> > +</I>><i> > I don't think we should return url to bugs report and url to package +</I>><i> > repo here. +</I>><i> +</I>><i> Ok. Then we must have clearly spec'd URLs for both so we can use them for +</I>><i> sure. +</I>><i> +</I>><i> > For the "last commit date", we don't have this info. The +</I>><i> > info we can have is "last sucessful submit date" (the last time the +</I>><i> > private method was called on that package). +</I>><i> +</I>><i> Right, updated as well. +</I>><i> +</I>><i> +</I>><i> Kosmas, would you have time this week to work on maintdb to port these +</I>><i> interfaces to it or do you need help too? +</I>><i> +</I>><i> I can devote some time on it this week, but I'll have to figure out +</I>><i> how to... well, I've got a conflict (RubyGem version error: rack(1.2.1 +</I>><i> not ~> 1.1.0)) to make it run. +</I>><i> +</I> + Romain, + + Yes it seems very likely that I would get some time this week, as I'm +finishing a project that I had to do today. + By all means to help if you want to :-) + I'll be available tomorrow if you would like to have a look at the conflict +that you have. + + I will also go through the proposed changes and the spec that you have put +in the wiki, and ask if I have any questions. + + Kosmas +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-webteam/attachments/20110308/fd14a85b/attachment.html> +</PRE> + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000441.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI>Next message: <A HREF="000443.html">[Mageia-webteam] Proposal for maintainers database API +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#442">[ date ]</a> + <a href="thread.html#442">[ thread ]</a> + <a href="subject.html#442">[ subject ]</a> + <a href="author.html#442">[ 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> |