summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009176.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009176.html')
-rw-r--r--zarb-ml/mageia-dev/2011-October/009176.html172
1 files changed, 172 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009176.html b/zarb-ml/mageia-dev/2011-October/009176.html
new file mode 100644
index 000000000..2ba7b849a
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-October/009176.html
@@ -0,0 +1,172 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Bug 2157 - Switch to &quot;standard&quot; rpm metadata for package repositories in Mageia 2
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bug%202157%20-%20Switch%20to%20%22standard%22%20rpm%20metadata%20for%0A%20package%20repositories%20in%20Mageia%202&In-Reply-To=%3C4EAA40A8.8000609%40xs4all.nl%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="009171.html">
+ <LINK REL="Next" HREF="009177.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Bug 2157 - Switch to &quot;standard&quot; rpm metadata for package repositories in Mageia 2</H1>
+ <B>Marja van Waes</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bug%202157%20-%20Switch%20to%20%22standard%22%20rpm%20metadata%20for%0A%20package%20repositories%20in%20Mageia%202&In-Reply-To=%3C4EAA40A8.8000609%40xs4all.nl%3E"
+ TITLE="[Mageia-dev] Bug 2157 - Switch to &quot;standard&quot; rpm metadata for package repositories in Mageia 2">marja11 at xs4all.nl
+ </A><BR>
+ <I>Fri Oct 28 07:42:00 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="009171.html">[Mageia-dev] [packages-commits] [158743] Apply P0
+</A></li>
+ <LI>Next message: <A HREF="009177.html">[Mageia-dev] [changelog] [RPM] cauldron core/release perl-SOAP-Lite-0.714.0-1.mga2
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9176">[ date ]</a>
+ <a href="thread.html#9176">[ thread ]</a>
+ <a href="subject.html#9176">[ subject ]</a>
+ <a href="author.html#9176">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>For whoever wants to discuss:
+
+(In reply to comment #0)
+ &gt; Mageia 2 spec #034
+ &gt; also see <A HREF="https://mageia.org/wiki/doku.php?id=iso2:technical_specification">https://mageia.org/wiki/doku.php?id=iso2:technical_specification</A>
+ &gt;
+ &gt; Mageia repositories currently have a media_info dir which contains a
+ &gt; line-oriented 'synthesis' file, plus some XML files with additional
+ &gt; information like package descriptions, and a hdlist which AFAIK is not
+ &gt; used by urpmi.
+ &gt;
+ &gt; Fedora and opensuse repositories do not use this format for metadata but
+ &gt; instead have a repodata dir containing a 'primary' and other XML files,
+ &gt; which are all listed in a 'rpomd.xml' file.
+ &gt;
+ &gt; The two schemes are similar which is not very surprising because the
+ &gt; requirements are the same. Most package managers with rpm support can use
+ &gt; the repomd style but urpmi can't. Only a few package managers support
+ &gt; synthesis style metadata. Switching to this 'standard' repository
+metadata
+ &gt; would give people more choice: use other package managers (e.g. yum
+or zypper)
+ &gt; in mageia and use urpmi on other distros. In the long term this
+should help
+ &gt; make urpmi easier to maintain: the &quot;standard&quot; metadata is a bit easier to
+ &gt; extend,
+ &gt; urpmi will be more a standard tool: behavior can easily be compared
+to other
+ &gt; package managers, test suites may be shared.
+ &gt;
+ &gt; Some not very useful index size numbers for mga cauldron x86_64
+core/release :
+ &gt; 1.7M synthesis.hdlist.cz
+ &gt; 1M info.xml.lzma
+ &gt; 5,6M changelog.xml.lzma
+ &gt; 8,7M files.xml.lzma
+ &gt;
+ &gt; 4,4M primary.xml.gz
+ &gt; 3,4M other.xml.gz
+ &gt; 11M filelists.xml.gz (8,8M when compressed with xz)
+ &gt;
+ &gt; Goals:
+ &gt; - no negative impact for people who use the default package tools
+ &gt; - basic support for other package managers (yum, zypper, apt) in mageia 2
+ &gt; (better support where packagekit uses the package manager the user has
+ &gt; chosen is not part of this spec but could be a follow-up feature)
+ &gt;
+ &gt; the plan is:
+ &gt; - modify urpmi to only support repomd metadata
+ &gt; - add repomd metadata to the cauldron repository while keeping synthesis
+ &gt; - upload the new urpmi
+ &gt; - after either the mga2 or mga3 release:
+ &gt; drop synthesis/hdlist metadata from cauldron
+ &gt;
+ &gt; so there will be 1 or 2 stable releases that carry both types of
+ &gt; repository metadata. The build infrastructure needs to support this of
+ &gt; course. This adds some complexity and uses extra space on the mirrors.
+ &gt;
+ &gt; Things that need to be changed:
+ &gt; - urpmi perl code
+ &gt; - maybe a fast xml reader in C, like yum has ?
+ &gt; - rpmdrake/installer ?
+ &gt; - build system
+ &gt;
+ &gt; Open questions:
+ &gt; - Is there anything I missed, unique urpmi features that will be
+broken by
+ &gt; such a change, other expected problems?
+ &gt; - A volunteer is needed for writing the needed perl code for
+perl-URPM etc.,
+ &gt; otherwise the change won't happen.
+
+a comment here
+<A HREF="https://mageia.org/wiki/doku.php?do=show&amp;id=iso2%3Atechnical_specification">https://mageia.org/wiki/doku.php?do=show&amp;id=iso2%3Atechnical_specification</A> :
+
+sounds interesting but needs to have 2 kinds of metadata in parallel
+while it's not all integrated - discussions needed
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="009171.html">[Mageia-dev] [packages-commits] [158743] Apply P0
+</A></li>
+ <LI>Next message: <A HREF="009177.html">[Mageia-dev] [changelog] [RPM] cauldron core/release perl-SOAP-Lite-0.714.0-1.mga2
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9176">[ date ]</a>
+ <a href="thread.html#9176">[ thread ]</a>
+ <a href="subject.html#9176">[ subject ]</a>
+ <a href="author.html#9176">[ 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>