summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-webteam/2011-March/000442.html
blob: 34541967945d315f22406e9a2bcbc274a7418175 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">rdalverny at gmail.com</A>&gt; wrote:

&gt;<i> 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;
</I>&gt;<i> wrote:
</I>&gt;<i> &gt; On Tue, 08 Mar 2011, Romain d'Alverny wrote:
</I>&gt;<i> &gt;&gt;  * through the CLI, would it auth against the maintdb app or through
</I>&gt;<i> &gt;&gt; the buildsystem that, in turn, would notify the maintdb?
</I>&gt;<i> &gt; [...]
</I>&gt;<i> &gt; Or the buildsystem can do the auth, and forward the request to maintdb
</I>&gt;<i> &gt; private method without doing any check, but including in the request
</I>&gt;<i> &gt; the login name of the user requesting the change so that maintdb can
</I>&gt;<i> &gt; check the permission. This one is probably better if we want to allow
</I>&gt;<i> &gt; changes using both website and CLI as it avoids doing the same checks
</I>&gt;<i> &gt; in two different places.
</I>&gt;<i>
</I>&gt;<i> Looks better that way, yes.
</I>&gt;<i>
</I>&gt;<i> So maintdb will need to know who is admin (can be checked later with a
</I>&gt;<i> flag). Not sure, can be updated later:
</I>&gt;<i>
</I>&gt;<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>&gt;<i>
</I>&gt;<i> &gt;&gt; <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> &gt;
</I>&gt;<i> &gt; But I would change this :
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; * POST <A HREF="https://maintdb/packages">https://maintdb/packages</A>
</I>&gt;<i> &gt;  user - string - optional - login of the user pushing the package
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;  The user string should not be optional but mandatory.
</I>&gt;<i>
</I>&gt;<i> Right. Fixed.
</I>&gt;<i>
</I>&gt;<i> &gt; * GET <A HREF="https://maintdb/packages">https://maintdb/packages</A>
</I>&gt;<i> &gt;  Returns a list such as:
</I>&gt;<i> &gt;  packagename / maintainers login / last commit date / url to bugs report
</I>&gt;<i> / url to package repo
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;  I don't think we should return url to bugs report and url to package
</I>&gt;<i> &gt;  repo here.
</I>&gt;<i>
</I>&gt;<i> Ok. Then we must have clearly spec'd URLs for both so we can use them for
</I>&gt;<i> sure.
</I>&gt;<i>
</I>&gt;<i> &gt; For the &quot;last commit date&quot;, we don't have this info. The
</I>&gt;<i> &gt; info we can have is &quot;last sucessful submit date&quot; (the last time the
</I>&gt;<i> &gt; private method was called on that package).
</I>&gt;<i>
</I>&gt;<i> Right, updated as well.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Kosmas, would you have time this week to work on maintdb to port these
</I>&gt;<i> interfaces to it or do you need help too?
</I>&gt;<i>
</I>&gt;<i> I can devote some time on it this week, but I'll have to figure out
</I>&gt;<i> how to... well, I've got a conflict (RubyGem version error: rack(1.2.1
</I>&gt;<i> not ~&gt; 1.1.0)) to make it run.
</I>&gt;<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: &lt;/pipermail/mageia-webteam/attachments/20110308/fd14a85b/attachment.html&gt;
</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>