summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101225/001894.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20101225/001894.html')
-rw-r--r--zarb-ml/mageia-dev/20101225/001894.html179
1 files changed, 179 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20101225/001894.html b/zarb-ml/mageia-dev/20101225/001894.html
new file mode 100644
index 000000000..8ff57eca7
--- /dev/null
+++ b/zarb-ml/mageia-dev/20101225/001894.html
@@ -0,0 +1,179 @@
+<!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=%3C201012251227.19056.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="001893.html">
+ <LINK REL="Next" HREF="001898.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=%3C201012251227.19056.maarten.vanraes%40gmail.com%3E"
+ TITLE="[Mageia-dev] Proposal for bugzilla">maarten.vanraes at gmail.com
+ </A><BR>
+ <I>Sat Dec 25 12:27:18 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001893.html">[Mageia-dev] Proposal for bugzilla
+</A></li>
+ <LI>Next message: <A HREF="001898.html">[Mageia-dev] Proposal for bugzilla
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1894">[ date ]</a>
+ <a href="thread.html#1894">[ thread ]</a>
+ <a href="subject.html#1894">[ subject ]</a>
+ <a href="author.html#1894">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Op zaterdag 25 december 2010 12:02:18 schreef andre999:
+&gt;<i> Maarten Vanraes a &#233;crit :
+</I>&gt;<i> &gt; Op zaterdag 25 december 2010 10:18:17 schreef andre999:
+</I>&gt;<i> &gt;&gt; Maarten Vanraes a &#233;crit :
+</I>&gt;<i> &gt;&gt;&gt; Op donderdag 23 december 2010 22:23:56 schreef Ahmad Samir:
+</I>&gt;<i> &gt;&gt;&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;
+</I>wrote:
+&gt;<i> &gt;&gt;&gt;&gt;&gt; I remember some years ago you could choose the exact version of the
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; package for which you reported a bug, from a list. I agree that
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; improving the UI side helpers could be useful.
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; Regards
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; Samuel Verschelde
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; As was said by dmorgan, listing each SRPM slowed down bugzilla a lot;
+</I>&gt;<i> &gt;&gt;&gt;&gt; the distro has a lot of SRPMS...
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; an ajax search is better; it doesn't add much and only gets searched if
+</I>&gt;<i> &gt;&gt;&gt; you enter at least 2 chars, or something like that.
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; if such an ajax is wanted, i can write that if i can use app-mageia-db
+</I>&gt;<i> &gt;&gt;&gt; or similar as a list.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; OK, I did a little search on Ajax, and I think that I understand now.
+</I>&gt;<i> &gt;&gt; It seems that you're proposing autocompletion on the text typed in the
+</I>&gt;<i> &gt;&gt; field - and only matches will be downloaded.
+</I>&gt;<i> &gt;&gt; But if it starts with 2 characters, there could be still 1000's of names
+</I>&gt;<i> &gt;&gt; downloaded.
+</I>&gt;<i> &gt;&gt; I would suggest that we would need at least 5 characters to restrict the
+</I>&gt;<i> &gt;&gt; names downloaded to a reasonable number.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Also, there is another factor. If we are looking for srpm names, but
+</I>&gt;<i> &gt;&gt; the user enters binary rpm names, there will not necessarily be a match,
+</I>&gt;<i> &gt;&gt; particularly if the srpm results in more than one binary rpm.
+</I>&gt;<i> &gt;&gt; So in some cases this will not work.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; But I have another idea.
+</I>&gt;<i> &gt;&gt; Maybe we could have separate (binary) rpm and srpm fields.
+</I>&gt;<i> &gt;&gt; There is a button on the page, which will invoke the command to give the
+</I>&gt;<i> &gt;&gt; srpms associated with the binary rpms.
+</I>&gt;<i> &gt;&gt; Would this be workable ?
+</I>&gt;<i> &gt;&gt; Something that would execute
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; $ rpm -q --qf '{sourcerpm}' {pkg-name}
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; and would automatically enter the result in the srpm field, or at least
+</I>&gt;<i> &gt;&gt; display it so it could be typed in.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Of course, this would have to be done by the user experiencing the
+</I>&gt;<i> &gt;&gt; problems, to ensure having the correct version.
+</I>&gt;<i> &gt;&gt; We would also have to deal with the cases where more than one rpm has
+</I>&gt;<i> &gt;&gt; the bug.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; If we can automate this, we can dispense with the potential problems
+</I>&gt;<i> &gt;&gt; associated with a list of srpms. And it would be (at least somewhat)
+</I>&gt;<i> &gt;&gt; more efficient both server and client side, as well.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Just an idea
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Andr&#233;
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; this is no more than sort of TAB completion on the urpmi commands.
+</I>&gt;<i>
+</I>&gt;<i> That part I understand.
+</I>&gt;<i> Only these values will be downloaded, so some online traffic.
+</I>&gt;<i>
+</I>&gt;<i> &gt; averagely 2 characters have ~600 possibilities; meaning that 2 chars give
+</I>&gt;<i> &gt; average 25 srpm results. in practice this can be 150 results or something
+</I>&gt;<i>
+</I>&gt;<i> Your numbers are right. Obviously I had one too many zeros.
+</I>&gt;<i>
+</I>&gt;<i> &gt; consider also the fact that these are src.rpm , so huge lib**** and the
+</I>&gt;<i> &gt; fact that we won't be starting with everything...
+</I>&gt;<i>
+</I>&gt;<i> I was thinking of lib*, which is why I said more than 3 characters.
+</I>&gt;<i>
+</I>&gt;<i> &gt; imho instead of destroying an idea you don't know much about; why don't i
+</I>&gt;<i> &gt; implement it and then you can evaluate if it's bad or not.
+</I>&gt;<i>
+</I>&gt;<i> Actually, I was trying brainstorming. We all know that such ideas don't
+</I>&gt;<i> necessarily lead anywhere.
+</I>&gt;<i> It is certain that your idea is a lot better than it first appeared.
+</I>
+yeah, sorry, i (and misc) just am trying to suggest an idea that gets broken
+off by people who don't even seem to get it; coupled with less sleep and my
+cranky, i could've worded it better
+
+&gt;<i> However, invoking the rpm command has certain advantages.
+</I>&gt;<i> Most importantly, if done on the system of the user finding the bug, it
+</I>&gt;<i> reports exactly the correct version of the srpm.
+</I>&gt;<i>
+</I>&gt;<i> For example, on my system, if I type in the console exactly :
+</I>&gt;<i>
+</I>&gt;<i> rpm -q --qf '%{sourcerpm}' binutils
+</I>&gt;<i>
+</I>&gt;<i> _without_ the version, it returns :
+</I>&gt;<i>
+</I>&gt;<i> binutils-2.19.51.0.2-1mnb2.src.rpm
+</I>&gt;<i>
+</I>&gt;<i> _with_ the version, which is exactly what we want.
+</I>&gt;<i>
+</I>&gt;<i> So I have a suggestion.
+</I>&gt;<i> With your Ajax skills, I imagine that you would be capable of setting a
+</I>&gt;<i> button which automatically invokes that command on a binary rpm field,
+</I>&gt;<i> to fill a srpm field ?
+</I>&gt;<i> Could you try that as well ?
+</I>&gt;<i> If it works, then I think we would have a better solution.
+</I>
+i'm not certain that is required, iirc, the command to find this stuff is out
+there; and the info can be found on mageia-app-db i think.
+
+however, if it isn't a src.rpm but a perfect match for a binary rpm, i guess
+we could return the src.rpm instead.
+
+&gt;<i> I could try it, but my html/javascript skills are quite limited.
+</I>&gt;<i> Just a suggestion.
+</I>&gt;<i>
+</I>&gt;<i> Regards
+</I>&gt;<i>
+</I>&gt;<i> Andr&#233;
+</I></PRE>
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001893.html">[Mageia-dev] Proposal for bugzilla
+</A></li>
+ <LI>Next message: <A HREF="001898.html">[Mageia-dev] Proposal for bugzilla
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1894">[ date ]</a>
+ <a href="thread.html#1894">[ thread ]</a>
+ <a href="subject.html#1894">[ subject ]</a>
+ <a href="author.html#1894">[ 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>