blob: 682f53d0280f46d4e6151643c5d5a1d4caaf370a (
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Automatically determining all "GNOME" packages
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Automatically%20determining%20all%20%22GNOME%22%20packages&In-Reply-To=%3C20120209103455.GQ21938%40mars-attacks.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011827.html">
<LINK REL="Next" HREF="011817.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Automatically determining all "GNOME" packages</H1>
<B>nicolas vigier</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Automatically%20determining%20all%20%22GNOME%22%20packages&In-Reply-To=%3C20120209103455.GQ21938%40mars-attacks.org%3E"
TITLE="[Mageia-dev] Automatically determining all "GNOME" packages">boklm at mars-attacks.org
</A><BR>
<I>Thu Feb 9 11:34:55 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="011827.html">[Mageia-dev] Automatically determining all "GNOME" packages
</A></li>
<LI>Next message: <A HREF="011817.html">[Mageia-dev] Mageia Beta 1 - 2012/02/21
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11820">[ date ]</a>
<a href="thread.html#11820">[ thread ]</a>
<a href="subject.html#11820">[ subject ]</a>
<a href="author.html#11820">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, 09 Feb 2012, Pascal Terjan wrote:
><i> 2012/2/9 nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">boklm at mars-attacks.org</A>>:
</I>><i> > On Thu, 09 Feb 2012, Olav Vitters wrote:
</I>><i> >
</I>><i> >> For GNOME QA purposes, I'd like to list all Mageia packages which come
</I>><i> >> from *.gnome.org (download.gnome.org or ftp.gnome.org).
</I>><i> >>
</I>><i> >> In the spec file, the Source: usually has an URL. IMO the most reliable
</I>><i> >> option is checking the Source: URL.
</I>><i> >> I thought of matching <A HREF="http://git.gnome.org/repositories.txt">http://git.gnome.org/repositories.txt</A> or
</I>><i> >> <A HREF="http://download.gnome.org/sources">http://download.gnome.org/sources</A> to the Mageia package name; but I
</I>><i> >> already know that there are differences.
</I>><i> >> I also looked into "urpmq", but I don't see any way to determine the
</I>><i> >> Source URL.
</I>><i> >>
</I>><i> >>
</I>><i> >> So: anyone know of a good way to query the Source: URL from all the spec
</I>><i> >> files?
</I>><i> >
</I>><i> > You can use info.xml.lzma files on mirrors.
</I>><i> >
</I>><i> > With something like this :
</I>><i> > GET <A HREF="http://twiska.zarb.org/mageia/distrib/cauldron/SRPMS/core/release/media_info/info.xml.lzma">http://twiska.zarb.org/mageia/distrib/cauldron/SRPMS/core/release/media_info/info.xml.lzma</A> \
</I>><i> > | unxz | perl -MXML::Simple -e 'print join "\n", map { $_->{"fn"} } grep { $_->{"url"} =~ /\.gnome\.org/ } @{XMLin("-")->{"info"}};'
</I>><i>
</I>><i> Or just urpmf on the src media :)
</I>
Oops, I didn't see the --url option.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011827.html">[Mageia-dev] Automatically determining all "GNOME" packages
</A></li>
<LI>Next message: <A HREF="011817.html">[Mageia-dev] Mageia Beta 1 - 2012/02/21
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11820">[ date ]</a>
<a href="thread.html#11820">[ thread ]</a>
<a href="subject.html#11820">[ subject ]</a>
<a href="author.html#11820">[ 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>
|