Gentoo Archives: gentoo-dev

From: Jonas Stein <jstein@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] [RFC] Addition of a new field <remote-id type="debian"> to metadata.xml
Date: Thu, 01 Jun 2017 21:18:37
Message-Id: d10a81a9-5c7f-743b-7eea-925de2097ab7@gentoo.org
1 Hello,
2
3 this RFC is about the addition of a new field
4 <remote-id type="debian">
5 to metadata.xml
6
7 The field should contain a list of the equivalent debian package names,
8 or a defined string for NONE or UNSET.
9 A feature request ticket was prepared here:
10 https://bugs.gentoo.org/show_bug.cgi?id=619132
11
12
13 1. Motivation
14 =============
15 Gentoo users and users of debian based distributions profit from linked
16 packages:
17
18 * can be used to embed screenshots from https://screenshots.debian.net
19 in https://packages.gentoo.org/
20
21 * when writing/reading documentation which is written for debian like
22 Linux distributions
23
24 * scripts can automatically compare latest versions, critical bugs, from
25 debian-like distributions and alert the interested maintainer or prepare
26 statistics. A greasemonkey script can show a link in bugzilla and the
27 maintainer can see open/solved bugs and the solutions on other
28 distributions.
29
30 * package names hardly differ between *buntu, mint, and debian so we
31 cover a broad spectrum
32
33 * Users who switch from debian like systems to gentoo, or administrate
34 gentoo and debian like systems at the same time can find the
35 corresponding packages quickly
36
37
38 2. Specification
39 ================
40 A space separated list of the corresponding debian packages should be
41 written in the field
42 <remote-id type="debian"> </remote-id>
43
44 It should be NONE, if debian has no corresponding package.
45 UNSET or no field, if the creator of the ebuild did not set the field (yet).
46
47 example:
48 app-arch/tar/metadata.xml
49 <remote-id type="debian">tar</remote-id>
50
51 app-office/libreoffice-bin/metadata.xml
52 <remote-id type="debian">libreoffice libreoffice-base libreoffice-base
53 libreoffice-dev libreoffice-dmaths libreoffice-draw
54 libreoffice-evolution libreoffice-impress</remote-id>
55
56
57 3. Backwards compatibility
58 ==========================
59 Fully compatible, no negative side effects to expect.
60
61
62 4. Comments
63 ===========
64
65 What do you think?
66 Should we exclude translation packages, or just add them all?
67
68 --
69 Best regards,
70 Jonas Stein

Replies