summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20101118/003029.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20101118/003029.html')
-rw-r--r--zarb-ml/mageia-discuss/20101118/003029.html171
1 files changed, 171 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20101118/003029.html b/zarb-ml/mageia-discuss/20101118/003029.html
new file mode 100644
index 000000000..ff6ca168d
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20101118/003029.html
@@ -0,0 +1,171 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] Introducing mageia-app-db
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Introducing%20mageia-app-db&In-Reply-To=%3C4CE4C5B5.40200%40laposte.net%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+
+ <LINK REL="Next" HREF="003031.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Introducing mageia-app-db</H1>
+ <B>andre999</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Introducing%20mageia-app-db&In-Reply-To=%3C4CE4C5B5.40200%40laposte.net%3E"
+ TITLE="[Mageia-discuss] Introducing mageia-app-db">andr55 at laposte.net
+ </A><BR>
+ <I>Thu Nov 18 07:20:37 CET 2010</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="003031.html">[Mageia-discuss] Introducing mageia-app-db
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3029">[ date ]</a>
+ <a href="thread.html#3029">[ thread ]</a>
+ <a href="subject.html#3029">[ subject ]</a>
+ <a href="author.html#3029">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Samuel Verschelde a &#233;crit :
+&gt;<i> Le mardi 9 novembre 2010 05:57:36, andre999 a &#233;crit :
+</I>&gt;<i>
+</I>&gt;&gt;<i> Samuel Verschelde a &#233;crit :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Le vendredi 5 novembre 2010 06:38:14, andre999 a &#233;crit :
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> As far as the question of application/package view goes, folding entries
+</I>&gt;&gt;&gt;&gt;<i> (as in Rpmdrake groups or Nautilus) which expands to multi-line would be
+</I>&gt;&gt;&gt;&gt;<i> nice.
+</I>&gt;&gt;&gt;&gt;<i> That way complex packages like Openoffice or Firefox could be folded
+</I>&gt;&gt;&gt;&gt;<i> into 2 or 3 lines.
+</I>&gt;&gt;&gt;&gt;<i> (1 for localisation, another possibly for optional modules, another for
+</I>&gt;&gt;&gt;&gt;<i> core modules.)
+</I>&gt;&gt;&gt;&gt;<i> Now Firefox is more than 100 packages.
+</I>&gt;&gt;&gt;&gt;<i> This sort of suggestion has been made for Rpmdrake.
+</I>&gt;&gt;&gt;&gt;<i> The advantage of this approach is that the minimised view could be the
+</I>&gt;&gt;&gt;&gt;<i> default, and at any time it can be expanded to show all packages,
+</I>&gt;&gt;&gt;&gt;<i> without any configuration settings.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I'm not against, however how can we define those groups ? Is there a way to automate it ? Is it necessary to define it manually (and so to maintain it so have maintainers of these groups definitions) ?
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> First of all, the idea is to continue to use Mandriva-like categories
+</I>&gt;&gt;<i> for the packages, as in Rpmdrake. So we associate packages within these
+</I>&gt;&gt;<i> larger categories.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> The basic idea is to establish a hierarchy of views for multi-package
+</I>&gt;&gt;<i> applications.
+</I>&gt;&gt;<i> These associations should be designated according to guidelines, which
+</I>&gt;&gt;<i> are yet to be established, according to the best judgement of the packager.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Otherwise I don't see how we can arrive at consistant and useful
+</I>&gt;&gt;<i> associations, especially if being used by different applications, like
+</I>&gt;&gt;<i> Rpmdrake and your (very interesting and useful) project. It is
+</I>&gt;&gt;<i> important that such applications are able to discern these associations,
+</I>&gt;&gt;<i> in order to display them.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> First it will be useful to look at the different types of associations :
+</I>&gt;&gt;<i> 1) Where usually all of the associated packages would be installed, such
+</I>&gt;&gt;<i> as core packages of OpenOffice or Go-oo or LibreOffice.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> 2) Where usually only one - or a few - of the associated packages would
+</I>&gt;&gt;<i> be installed, such as localisations.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> 3) Something in between, such as optional extensions for Firefox
+</I>&gt;&gt;<i>
+</I>&gt;<i> I read your whole post (had to come back 2 times to manage to finish it ! :)).
+</I>Hope that's good :)
+&gt;<i> Some comments :
+</I>&gt;<i> - using a new tag to group packages together may be a solution for packages which have many optional subpackages, however this means we must reach a consensus among packagers. A complete proposal which have been tested on most of the examples you brought in your post could maybe help convincing other packagers. Adding a new tag is not a trivial move and maybe could break some compatibilty with other distributions, so I think it must be &quot;proved&quot; that it is the best solution (if it is).
+</I>&gt;<i>
+</I>I understand.
+
+&gt;<i> - another simple way could be to group by source rpm. It won't always work, but that can be a first step, to experiment with.
+</I>&gt;<i> - task meta-packages can be another solution
+</I>&gt;<i> - we may have a look at what a package provides and group together packages whose names are close and which provide the same thing (eg. all packages which provide &quot;openoffice.org-l10n&quot; grouped together)
+</I>&gt;<i>
+</I>Excellent points. Which gives me an idea how to accomplish folding,
+without changing the internals of the rpms :
+First, note that very few if any package names contain &quot;:&quot;.
+So to fold packages associated with package &quot;foo&quot;, on the line of &quot;foo&quot;,
+we could name the associated packages &quot;foo:suba&quot;, &quot;foo:subb&quot;, etc,
+beginning with the name of the primary package + &quot;:&quot;.
+To fold associated packages on a subsequent line (as would be useful for
+localisation packages, for example), we would create a meta-package
+&quot;foo:subc&quot;. Seeing that it is a meta package, the packages under it
+would be folded into a line *under* &quot;foo&quot;. And expanding the
+meta-package line would show all contained packages.
+Other meta packages (without &quot;:&quot; in the name) would be similarly
+expandable. The only difference being that they would not be associated
+with another group of packages.
+This approach has the advantage of leaving the internals of rpm
+unchanged for this purpose.
+One just adds &quot;:&quot; to the name of associated packages, and creates some
+grouping meta-packages.
+Actually I'm assuming that there is a means of readily identifying a
+meta-package other than &quot;task&quot; in the name. Correct me if I'm wrong.
+
+Another advantage is it lets users more readily see the packages
+contained in a meta-package. And in installing, potentially allows
+deselecting a package contained in a meta-package to be installed.
+(Yes, I know, a meta-package only refers to other packages, not
+containing them.)
+
+Of course it still needs consensus by the packagers - but it is a lot
+easier to implement, and probably more reliable as well.
+
+&gt;<i> - it would be interesting to look at other distributions, to see how they solved or tried to solve this problem. How does ubuntu in its package manager for example ?
+</I>&gt;<i>
+</I>Good idea. Good to look at Suse as well, as they have made a number of
+enhancements to rpm.
+&gt;<i> If you have some free time and motivation, while we're waiting for the build system, you could maybe help us define how to show packages to users in mageia-app-db. If we can define a robust algorithm for package grouping, we'll try to implement it.
+</I>&gt;<i>
+</I>I think we are getting closer. I'll give this priority.
+&gt;<i> Another problem you mentioned is how to define what an &quot;application&quot; is. We could use some help on this subject too :)
+</I>&gt;<i>
+</I>That is definitely tricky. It should probably be more than just GUI.
+It might be simpler to just rely on folding ? (What is specifically
+folded with what will be ultimately decided by the packager.)
+&gt;<i> You can have a look at this wiki page (on our new Redmine project, thanks to Jehane for setting it up) which is dedicated to this matter : <A HREF="http://mageia-app-db.tuxette.fr/projects/mageia-app-db/wiki/Applications">http://mageia-app-db.tuxette.fr/projects/mageia-app-db/wiki/Applications</A>
+</I>&gt;<i>
+</I>So I imagine my thoughts go under &quot;crazy ideas&quot; ? ;)
+(I like how the wiki page is set up.)
+
+BTW, I really appreciate your comments. Makes me think :)
+
+If anyone has any ideas relating to this, don't hesitate to comment ...
+&gt;<i> Regards
+</I>&gt;<i>
+</I>&gt;<i> Samuel Verschelde
+</I>&gt;<i>
+</I>
+- Andr&#233;
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="003031.html">[Mageia-discuss] Introducing mageia-app-db
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3029">[ date ]</a>
+ <a href="thread.html#3029">[ thread ]</a>
+ <a href="subject.html#3029">[ subject ]</a>
+ <a href="author.html#3029">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>