Gentoo Archives: gentoo-dev

From: "Göktürk Yüksek" <gokturk@××××××××××.edu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 05/16] ebuild-writing/misc-files: replace the code for cvs commit with git #558642
Date: Sun, 17 Jan 2016 22:23:06
Message-Id: 569C143E.7030909@binghamton.edu
In Reply to: Re: [gentoo-dev] [PATCH 05/16] ebuild-writing/misc-files: replace the code for cvs commit with git #558642 by "Manuel Rüger"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Manuel Rüger:
5 > On 17.01.2016 08:55, Gokturk Yuksek wrote:
6 >> Replace "cvs commit" with the equivalent "git add && git commit"
7 >> version.
8 >>
9 >> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558642
10 >> Signed-off-by: Gokturk Yuksek <gokturk@××××××××××.edu>
11 >>
12 >> diff --git a/ebuild-writing/misc-files/metadata/text.xml
13 >> b/ebuild-writing/misc-files/metadata/text.xml index
14 >> e506b1c..a8beacc 100644 ---
15 >> a/ebuild-writing/misc-files/metadata/text.xml +++
16 >> b/ebuild-writing/misc-files/metadata/text.xml @@ -532,7 +532,8 @@
17 >> is currently: <pre> xmllint --noout --valid metadata.xml
18 >> glep31check metadata.xml -cvs commit -m "Adding category
19 >> metadata.xml for my-category" metadata.xml +git add metadata.xml
20 >> +git commit --gpg-sign -m "Adding category metadata.xml for
21 >> my-category" </pre>
22 >>
23 >> </body>
24 >>
25 >
26 > Can we discourage to use "-m" and prefer to open up an editor
27 > instead?
28 >
29 I think the purpose of "-m" is only to illustrate the example of
30 adding a category with a proper message rather than suggesting a
31 workflow. Note that the section for committing packages suggests
32 "repoman commit" which opens up an editor by default.
33
34 Is there a particular reason why we should discourage the use of "-m"?
35
36 > Cheers,
37 >
38 > Manuel
39 >
40
41 - --
42 gokturk
43
44 -----BEGIN PGP SIGNATURE-----
45
46 iQEcBAEBCgAGBQJWnBQ3AAoJEIT4AuXAiM4zkeUH/AuswPQV3Fw+aeuI08l8xjpx
47 q+BVZ8c7/5RNqgsQGF/0uKnkZI70WwbkLQwsk2nlHKXjuL5qUWmQ16YBC+fF03SG
48 JD5eiFhqnzUK79Y5i2Rnfoc2o6DlcLzBSXHXMjtVldg4ufsq+v7mP+Jw901MyJu+
49 VBY6gkjmkqsahXeaPqmuoXslcr3yQtDHKVU4m9YOptZ/0jTDg4asnvhpv6ERwdNL
50 uSrO4hzdbh314/o/R/4TWhGV56wlRVUaelzaVwDaBt2wxY5gYyKWhRizN5Exu8/w
51 BlWSDqwfpKbvHMS2ArrDh0PvvWqEZAMhNuXX2hateO2wQIJlrWZ5KSId5ioW0fw=
52 =s7Dj
53 -----END PGP SIGNATURE-----

Replies