summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009176.html
blob: 2ba7b849af0864c7c42a334eb987e3bfe7f956bd (plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
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>