1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-bugsquad] 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-bugsquad%40mageia.org?Subject=Re%3A%20%5BMageia-bugsquad%5D%20Bug%202157%20-%20Switch%20to%20%22standard%22%20rpm%20metadata%20for%0A%20package%20repositories%20in%20Mageia%202&In-Reply-To=%3C4EA97E3B.9070103%40xs4all.nl%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000072.html">
<LINK REL="Next" HREF="000074.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-bugsquad] Bug 2157 - Switch to "standard" rpm metadata for package repositories in Mageia 2</H1>
<B>Marja van Waes</B>
<A HREF="mailto:mageia-bugsquad%40mageia.org?Subject=Re%3A%20%5BMageia-bugsquad%5D%20Bug%202157%20-%20Switch%20to%20%22standard%22%20rpm%20metadata%20for%0A%20package%20repositories%20in%20Mageia%202&In-Reply-To=%3C4EA97E3B.9070103%40xs4all.nl%3E"
TITLE="[Mageia-bugsquad] Bug 2157 - Switch to "standard" rpm metadata for package repositories in Mageia 2">marja11 at xs4all.nl
</A><BR>
<I>Thu Oct 27 17:52:27 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="000072.html">[Mageia-bugsquad] 1. Bug_triage page for new wiki 2. printer issues
</A></li>
<LI>Next message: <A HREF="000074.html">[Mageia-bugsquad] Bug 2157 - Switch to "standard" rpm metadata for package repositories in Mageia 2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#73">[ date ]</a>
<a href="thread.html#73">[ thread ]</a>
<a href="subject.html#73">[ subject ]</a>
<a href="author.html#73">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>What to do with this bug?
Mageia 2 spec #034
also <A HREF="seehttps://mageia.org/wiki/doku.php?id=iso2:technical_specification">seehttps://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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000072.html">[Mageia-bugsquad] 1. Bug_triage page for new wiki 2. printer issues
</A></li>
<LI>Next message: <A HREF="000074.html">[Mageia-bugsquad] Bug 2157 - Switch to "standard" rpm metadata for package repositories in Mageia 2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#73">[ date ]</a>
<a href="thread.html#73">[ thread ]</a>
<a href="subject.html#73">[ subject ]</a>
<a href="author.html#73">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-bugsquad">More information about the Mageia-bugsquad
mailing list</a><br>
</body></html>
|