Project will be renamed during the fork. New name & path template is
"centos_<namespace>_<project>" instead of <project>.
Signed-off-by: Ondrej Nosek <onosek@redhat.com>
Adds new command 'fork' that calls API method which forks active
repository for the given (or active) user and creates a remote record
(named after user) in git configuration.
GitLab Personal Access Token have to be added to the config for
proper functionality.
Signed-off-by: Ondrej Nosek <onosek@redhat.com>
Add executable centpkg-sig which allows user to interact with CentOS
Linux dist-git and CentOS Linux koji instance.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This file is ready by setup.py, and in turn used to determine the
automatic requirements for the RPM package. There are existing imports
for pycurl, OpenSSL, and six, but I can't find any imports for rpm.
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>