summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-webteam/2011-March/000441.html
blob: 15976b660ec7273b4367c5cda145dee1783c3707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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>