The move to git!

Andrea Musuruane musuruan at gmail.com
Sat Jul 31 09:49:07 UTC 2010


Hi all,
    I do not know anything about GIT and I tried to follow this thread
and the Using_Fedora_GIT in the wiki to make my first commit

The workflow was more or less the following:
$ fedpkg clone zaz
$ cd zaz/
$ cp -a ~/rpmbuild/SOURCES/zaz-0.8.0.tar.bz2 .
$ cp -a ~/rpmbuild/SPECS/zaz.spec .
$ fedpkg new-sources zaz-0.8.0.tar.bz2
$ git diff
$ git config --global --add push.default tracking
$ fedpkg clog
$ fedpkg commit -F clog -p

I tried to use federa-packager available from updates. "fedpkg commit
-F clog -p" did not succeed.

Then I installed the latest federa-packager from updates-testing and
"fedpkg commit -F clog -p" now crashes. It even crashes with "fedpkg
clog". The error is the same.

$ fedpkg clog
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 390, in clog
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line
744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line
694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range

Help is really appreciated.

Thanks!

Andrea.


More information about the devel mailing list