diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009176.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-October/009176.html | 172 |
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 "standard" 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 "standard" 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 "standard" 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) + > Mageia 2 spec #034 + > 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> + > + > Mageia repositories currently have a media_info dir which contains a + > line-oriented 'synthesis' file, plus some XML files with additional + > information like package descriptions, and a hdlist which AFAIK is not + > used by urpmi. + > + > Fedora and opensuse repositories do not use this format for metadata but + > instead have a repodata dir containing a 'primary' and other XML files, + > which are all listed in a 'rpomd.xml' file. + > + > The two schemes are similar which is not very surprising because the + > requirements are the same. Most package managers with rpm support can use + > the repomd style but urpmi can't. Only a few package managers support + > synthesis style metadata. Switching to this 'standard' repository +metadata + > would give people more choice: use other package managers (e.g. yum +or zypper) + > in mageia and use urpmi on other distros. In the long term this +should help + > make urpmi easier to maintain: the "standard" metadata is a bit easier to + > extend, + > urpmi will be more a standard tool: behavior can easily be compared +to other + > package managers, test suites may be shared. + > + > Some not very useful index size numbers for mga cauldron x86_64 +core/release : + > 1.7M synthesis.hdlist.cz + > 1M info.xml.lzma + > 5,6M changelog.xml.lzma + > 8,7M files.xml.lzma + > + > 4,4M primary.xml.gz + > 3,4M other.xml.gz + > 11M filelists.xml.gz (8,8M when compressed with xz) + > + > Goals: + > - no negative impact for people who use the default package tools + > - basic support for other package managers (yum, zypper, apt) in mageia 2 + > (better support where packagekit uses the package manager the user has + > chosen is not part of this spec but could be a follow-up feature) + > + > the plan is: + > - modify urpmi to only support repomd metadata + > - add repomd metadata to the cauldron repository while keeping synthesis + > - upload the new urpmi + > - after either the mga2 or mga3 release: + > drop synthesis/hdlist metadata from cauldron + > + > so there will be 1 or 2 stable releases that carry both types of + > repository metadata. The build infrastructure needs to support this of + > course. This adds some complexity and uses extra space on the mirrors. + > + > Things that need to be changed: + > - urpmi perl code + > - maybe a fast xml reader in C, like yum has ? + > - rpmdrake/installer ? + > - build system + > + > Open questions: + > - Is there anything I missed, unique urpmi features that will be +broken by + > such a change, other expected problems? + > - A volunteer is needed for writing the needed perl code for +perl-URPM etc., + > otherwise the change won't happen. + +a comment here +<A HREF="https://mageia.org/wiki/doku.php?do=show&id=iso2%3Atechnical_specification">https://mageia.org/wiki/doku.php?do=show&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> |