No description
Find a file
Pavel Šimerda 2cfa04e75d accomodate latest rpkg git master
Avoid the following traceback.

    Could not execute clone: __init__() got an unexpected keyword argument 'distgit_namespaced'
    Traceback (most recent call last):
      File "/usr/lib/python-exec/python3.4/centpkg", line 19, in <module>
        main()
      File "/home/pavlix/src/centpkg/src/centpkg/__main__.py", line 70, in main
        sys.exit(client.args.command())
      File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 1029, in clone
        self.cmd.clone(self.args.module[0],
      File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 87, in cmd
        self.load_cmd()
      File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 117, in load_cmd
        distgit_namespaced=dg_namespaced
    TypeError: __init__() got an unexpected keyword argument 'distgit_namespaced'

Signed-off-by: Pavel Šimerda <pavlix@pavlix.net>
2016-11-28 13:54:59 -06:00
src accomodate latest rpkg git master 2016-11-28 13:54:59 -06:00
tests moving the mixins to their own module to hide them in stackframes 2015-07-20 16:51:20 -05:00
.gitignore ignore pyc files 2014-06-13 21:56:17 -05:00
centpkg.spec fix the anongiturl property so generating the SCM commit url works properly 2015-02-06 12:27:32 -06:00
COPYING add a license and a README 2014-06-14 01:31:24 -05:00
README.md update readme for current workflow 2014-12-14 20:22:09 +00:00
setup.py setup: use the __version__ attribute to set the version in setup.py 2016-04-27 21:22:00 -05:00

Centpkg

Centpkg is a wrapper for rpkg which interacts with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides some convenience methods/commands for local builds via mock or rpmbuild, for interacting with koji, and for generating patches.

Centpkg is in pre-alpha state, as of now this is a proof of concept.

For now only a very small subset of rpkg commands are enabled.

Exception handling at the top level has been disabled for now to get better tracebacks during development.

Current workflow

For a sig working on a package in git.centos.org, the following workflow is recommended:

# In this example a member of the virt sig would like to scratch-build a2ps on EL6
$ centpkg clone -b virt6 a2ps
$ cd a2ps
$ centpkg build --srpm --scratch 

# Tagged builds can be done also 
$ centpkg build --srpm

License

Unless otherwise specified, all files are licensed under GPLv2+. See COPYING for more license information