On Wed, Jul 25, 2018 at 01:48:58PM +0200, Vít Ondruch wrote:
Dne 24.7.2018 v 22:24 Gerald B. Cox napsal(a):
> On Tue, Jul 24, 2018 at 10:07 AM, Artur Iwicki <suve(a)fedoraproject.org
> <mailto:suve@fedoraproject.org>> wrote:
>
> That section of the guide is a bit poorly worded. You should *not*
> use "git add" on source tarballs. These should be added only via
> means of "fedpkg new-sources $FILES; git add ./sources".
>
"new-sources" should not be mentioned in basic documentation. These
should be added via means of "fedpkg import package.srpm".
The workflow for new package is then:
~~~
$ fedpkg import mypackage.srpm
$ git commit -m "initial import"
~~~
and for updated package:
~~~
$ git add -u
$ fedpkg clog
$ git commit -F clog
$ fedpkg import updated.srpm
$ git commit --am
~~~
Why make two separate commits here?
Zbyszek