summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101225/001892.html
blob: 613805712a6b5398aa8e55104188bae1b0fbbc6b (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Proposal for bugzilla
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%20for%20bugzilla&In-Reply-To=%3C201012251054.32276.maarten.vanraes%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001891.html">
   <LINK REL="Next"  HREF="001893.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Proposal for bugzilla</H1>
    <B>Maarten Vanraes</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%20for%20bugzilla&In-Reply-To=%3C201012251054.32276.maarten.vanraes%40gmail.com%3E"
       TITLE="[Mageia-dev] Proposal for bugzilla">maarten.vanraes at gmail.com
       </A><BR>
    <I>Sat Dec 25 10:54:32 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="001891.html">[Mageia-dev] Proposal for bugzilla
</A></li>
        <LI>Next message: <A HREF="001893.html">[Mageia-dev] Proposal for bugzilla
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1892">[ date ]</a>
              <a href="thread.html#1892">[ thread ]</a>
              <a href="subject.html#1892">[ subject ]</a>
              <a href="author.html#1892">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Op zaterdag 25 december 2010 10:18:17 schreef andre999:
&gt;<i> Maarten Vanraes a &#233;crit :
</I>&gt;<i> &gt; Op donderdag 23 december 2010 22:23:56 schreef Ahmad Samir:
</I>&gt;<i> &gt;&gt; On 23 December 2010 22:01, Samuel Verschelde&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">stormi at laposte.net</A>&gt;  wrote:
</I>&gt;<i> &gt;&gt;&gt; I remember some years ago you could choose the exact version of the
</I>&gt;<i> &gt;&gt;&gt; package for which you reported a bug, from a list. I agree that
</I>&gt;<i> &gt;&gt;&gt; improving the UI side helpers could be useful.
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; Regards
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; Samuel Verschelde
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; As was said by dmorgan, listing each SRPM slowed down bugzilla a lot;
</I>&gt;<i> &gt;&gt; the distro has a lot of SRPMS...
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; an ajax search is better; it doesn't add much and only gets searched if
</I>&gt;<i> &gt; you enter at least 2 chars, or something like that.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; if such an ajax is wanted, i can write that if i can use app-mageia-db or
</I>&gt;<i> &gt; similar as a list.
</I>&gt;<i> 
</I>&gt;<i> OK, I did a little search on Ajax, and I think that I understand now.
</I>&gt;<i> It seems that you're proposing autocompletion on the text typed in the
</I>&gt;<i> field - and only matches will be downloaded.
</I>&gt;<i> But if it starts with 2 characters, there could be still 1000's of names
</I>&gt;<i> downloaded.
</I>&gt;<i> I would suggest that we would need at least 5 characters to restrict the
</I>&gt;<i> names downloaded to a reasonable number.
</I>&gt;<i> 
</I>&gt;<i> Also, there is another factor.  If we are looking for srpm names, but
</I>&gt;<i> the user enters binary rpm names, there will not necessarily be a match,
</I>&gt;<i> particularly if the srpm results in more than one binary rpm.
</I>&gt;<i> So in some cases this will not work.
</I>&gt;<i> 
</I>&gt;<i> But I have another idea.
</I>&gt;<i> Maybe we could have separate (binary) rpm and srpm fields.
</I>&gt;<i> There is a button on the page, which will invoke the command to give the
</I>&gt;<i> srpms associated with the binary rpms.
</I>&gt;<i> Would this be workable ?
</I>&gt;<i> Something that would execute
</I>&gt;<i>   $ rpm -q --qf '{sourcerpm}' {pkg-name}
</I>&gt;<i> and would automatically enter the result in the srpm field, or at least
</I>&gt;<i> display it so it could be typed in.
</I>&gt;<i> 
</I>&gt;<i> Of course, this would have to be done by the user experiencing the
</I>&gt;<i> problems, to ensure having the correct version.
</I>&gt;<i> We would also have to deal with the cases where more than one rpm has
</I>&gt;<i> the bug.
</I>&gt;<i> 
</I>&gt;<i> If we can automate this, we can dispense with the potential problems
</I>&gt;<i> associated with a list of srpms.  And it would be (at least somewhat)
</I>&gt;<i> more efficient both server and client side, as well.
</I>&gt;<i> 
</I>&gt;<i> Just an idea
</I>&gt;<i> 
</I>&gt;<i> Andr&#233;
</I>
this is no more than sort of TAB completion on the urpmi commands.

averagely 2 characters have ~600 possibilities; meaning that 2 chars give 
average 25 srpm results. in practice this can be 150 results or something

consider also the fact that these are src.rpm , so huge lib**** and the fact 
that we won't be starting with everything...

imho instead of destroying an idea you don't know much about; why don't i 
implement it and then you can evaluate if it's bad or not.
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001891.html">[Mageia-dev] Proposal for bugzilla
</A></li>
	<LI>Next message: <A HREF="001893.html">[Mageia-dev] Proposal for bugzilla
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1892">[ date ]</a>
              <a href="thread.html#1892">[ thread ]</a>
              <a href="subject.html#1892">[ subject ]</a>
              <a href="author.html#1892">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>