summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20101025/002653.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20101025/002653.html')
-rw-r--r--zarb-ml/mageia-discuss/20101025/002653.html124
1 files changed, 124 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20101025/002653.html b/zarb-ml/mageia-discuss/20101025/002653.html
new file mode 100644
index 000000000..6db71bb8b
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20101025/002653.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] Suggestions
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Suggestions&In-Reply-To=%3C4CC5F3F1.8040009%40laposte.net%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002643.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Suggestions</H1>
+ <B>andre999</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Suggestions&In-Reply-To=%3C4CC5F3F1.8040009%40laposte.net%3E"
+ TITLE="[Mageia-discuss] Suggestions">andr55 at laposte.net
+ </A><BR>
+ <I>Mon Oct 25 23:17:37 CEST 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002643.html">[Mageia-discuss] Suggestions
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2653">[ date ]</a>
+ <a href="thread.html#2653">[ thread ]</a>
+ <a href="subject.html#2653">[ subject ]</a>
+ <a href="author.html#2653">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Frank Griffin a &#233;crit :
+&gt;<i> Michael Scherer wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> So we need to find a better way.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Better in two points :
+</I>&gt;&gt;<i> - better way to distribute it
+</I>&gt;&gt;<i> - better way to translate it
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;<i> Maybe the problem is trying to use rpm as the management tool for
+</I>&gt;<i> descriptions.
+</I>&gt;<i>
+</I>&gt;<i> Long, long, ago I had to write an order processing system for an IBM
+</I>&gt;<i> 5100, which supported 2 languages - APL and Basic - both of which were
+</I>&gt;<i> interpreted, meaning the source code had to fit into memory, which was 32K.
+</I>&gt;<i>
+</I>&gt;<i> This made it virtually impossible to comment the code in any meaningful
+</I>&gt;<i> way, since the comments took up memory needed for code.
+</I>&gt;<i>
+</I>&gt;<i> What I finally settled upon was to tag blocks of code with a 4-or-5
+</I>&gt;<i> character comment which was basically an index key into a typewritten
+</I>&gt;<i> document which contained the program comments. The same thing might
+</I>&gt;<i> work here.
+</I>&gt;<i>
+</I>&gt;<i> Change the rpm description to a database table partial key which
+</I>&gt;<i> corresponds to the package. Then set up a database table keyed by that
+</I>&gt;<i> partial key plus a language ID, and place the description in that
+</I>&gt;<i> language there. Change tools which display package descriptions to use
+</I>&gt;<i> the rpm value as a key into the database combined with the locale language.
+</I>&gt;<i>
+</I>&gt;<i> This shifts the space requirement from the package rpm SPEC to the
+</I>&gt;<i> database, and means that description maintainers can just have access to
+</I>&gt;<i> the database rather than the source tree. Since most uses of rpm don't
+</I>&gt;<i> make use of the description, bandwidth for normal maintenance goes
+</I>&gt;<i> down. For things like the install, you include a copy of the database
+</I>&gt;<i> on the media, or conditionally on the user's system for rpmdrake (much
+</I>&gt;<i> as they get to choose between hdlist and synthesis today).
+</I>&gt;<i>
+</I>&gt;<i> This would allow much more flexible queries, and would allow translators
+</I>&gt;<i> to extract all descriptions in their own language as a single result
+</I>&gt;<i> set, identify all packages which do not have a description in a given
+</I>&gt;<i> language, and so forth.
+</I>&gt;<i>
+</I>&gt;<i> If the central database were managed by JEE/EJB with role-based security
+</I>&gt;<i> tied to the new LDAP database, user maintenance would be fairly simple.
+</I>&gt;<i> Obviously, for use in captive form (e.g. in the install or on a user's
+</I>&gt;<i> system), an extract in some other form would be used to avoid the need
+</I>&gt;<i> for JEE.
+</I>&gt;<i>
+</I>&gt;<i> WDYT ?
+</I>&gt;<i>
+</I>
+Interesting idea. As I understand, descriptions are stored in local the
+database of already installed packages, so this would be a pre-install
+equivalent.
+However there is the problem of keeping everything in sync, if the
+documentation is not included in the rpms.
+
+If in the development process the descriptions were kept in such a
+central database, along with their localisations, they could be
+automatically extracted from the database for insertion in the package
+when the package is generated.
+That won't reduce the size of the Rpms, but it would ensure that the
+description, with localisations, is always included in the Rpm.
+Since last minute changes before packaging are much less likely to
+change displayed text (or documentation), the localisations risk being
+up to date.
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002643.html">[Mageia-discuss] Suggestions
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2653">[ date ]</a>
+ <a href="thread.html#2653">[ thread ]</a>
+ <a href="subject.html#2653">[ subject ]</a>
+ <a href="author.html#2653">[ 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>