Gentoo Archives: gentoo-dev

From: Gokturk Yuksek <gokturk@××××××××××.edu>
To: devmanual@g.o
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH v2 05/19] ebuild-writing/misc-files: replace the code for cvs commit with git #558642
Date: Sun, 24 Jan 2016 08:49:33
Message-Id: 1453625173-9505-6-git-send-email-gokturk@binghamton.edu
In Reply to: [gentoo-dev] [PATCH v2 00/19] devmanual: update the docs for post git-migration by Gokturk Yuksek
1 Replace "cvs commit" with the equivalent "git add && git commit" version.
2
3 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558642
4 Signed-off-by: Gokturk Yuksek <gokturk@××××××××××.edu>
5 ---
6 ebuild-writing/misc-files/metadata/text.xml | 16 +++++++++++++++-
7 1 file changed, 15 insertions(+), 1 deletion(-)
8
9 diff --git a/ebuild-writing/misc-files/metadata/text.xml b/ebuild-writing/misc-files/metadata/text.xml
10 index e506b1c..2de3cf5 100644
11 --- a/ebuild-writing/misc-files/metadata/text.xml
12 +++ b/ebuild-writing/misc-files/metadata/text.xml
13 @@ -532,7 +532,21 @@ is currently:
14 <pre>
15 xmllint --noout --valid metadata.xml
16 glep31check metadata.xml
17 -cvs commit -m "Adding category metadata.xml for my-category" metadata.xml
18 +git add metadata.xml
19 +git commit --gpg-sign
20 +</pre>
21 +
22 +<p>
23 +The commit message should be formatted properly.
24 +A sample commit is shown below:
25 +</p>
26 +
27 +<pre>
28 +commit db359439bcd52f5a7f20d2332ab62feb16657504
29 +Author: Alexis Ballier &lt;aballier@g.o&gt;
30 +Date: Tue Sep 22 10:47:49 2015 +0200
31 +
32 + dev-ros: Add metadata.xml for the category.
33 </pre>
34
35 </body>
36 --
37 2.4.10