1 |
commit: 105b6807d50a7cb2fc1b984790529cbbcdbd7a24 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 20:07:26 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 20:07:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=105b6807 |
7 |
|
8 |
ebuild-test/badheader-id: New test for stale CVS keywords in ebuild header. |
9 |
|
10 |
The "# $Id$" line has been abolished. This test corresponds to the |
11 |
following repoman commit: |
12 |
https://gitweb.gentoo.org/proj/portage.git/commit/?id=44d6f11f37970a60ac2e4d7252180d96793e02d3 |
13 |
|
14 |
ebuild-test/badheader-id/badheader-id-0.ebuild | 12 ++++++++++++ |
15 |
ebuild-test/badheader-id/metadata.xml | 26 ++++++++++++++++++++++++++ |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/ebuild-test/badheader-id/badheader-id-0.ebuild b/ebuild-test/badheader-id/badheader-id-0.ebuild |
19 |
new file mode 100644 |
20 |
index 0000000..2b88d88 |
21 |
--- /dev/null |
22 |
+++ b/ebuild-test/badheader-id/badheader-id-0.ebuild |
23 |
@@ -0,0 +1,12 @@ |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Id$ |
27 |
+ |
28 |
+EAPI=6 |
29 |
+ |
30 |
+DESCRIPTION="Stale $Id$ line in header" |
31 |
+HOMEPAGE="http://example.com/" |
32 |
+ |
33 |
+LICENSE="ISC" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64" |
36 |
|
37 |
diff --git a/ebuild-test/badheader-id/metadata.xml b/ebuild-test/badheader-id/metadata.xml |
38 |
new file mode 100644 |
39 |
index 0000000..da7c4a8 |
40 |
--- /dev/null |
41 |
+++ b/ebuild-test/badheader-id/metadata.xml |
42 |
@@ -0,0 +1,26 @@ |
43 |
+<?xml version="1.0" encoding="UTF-8"?> |
44 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
45 |
+<!-- |
46 |
+# $Id$ |
47 |
+ |
48 |
+This is the example metadata file. |
49 |
+The root element of this file is <pkgmetadata>. Within this element a |
50 |
+number of subelements are allowed, the most common being maintainer. |
51 |
+ |
52 |
+For a full description look at: |
53 |
+https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/ |
54 |
+ |
55 |
+Before committing, please remove the comments from this file. They are |
56 |
+not relevant for general metadata.xml files. |
57 |
+--> |
58 |
+<pkgmetadata> |
59 |
+<maintainer type="person"> |
60 |
+ <email>exampledev@g.o</email> |
61 |
+ <description>Primary maintainer</description> |
62 |
+</maintainer> |
63 |
+<maintainer type="project"> |
64 |
+ <email>exampleproject@g.o</email> |
65 |
+ <name>Gentoo Example Project</name> |
66 |
+</maintainer> |
67 |
+<longdescription>Test for ???</longdescription> |
68 |
+</pkgmetadata> |