Re: mockremote with RHEL??

2017-01-31 Thread Pavel Raiskup
or branch[:2] == "el": > os = "epel" > version = branch[-1:] > +elif branch[:4] == "rhel" or branch[:2] == "rh": > +os = "rhel" > +version = branch[-1:] > elif branch[:6] == "c

Re: mockremote with RHEL??

2017-01-31 Thread Martin Juhl
ersion = branch[-1:] +elif branch[:4] == "rhel" or branch[:2] == "rh": +os = "rhel" +version = branch[-1:] elif branch[:6] == "custom": os = "custom" version = branch[-1:] - Original meddelelse - F

Re: mockremote with RHEL??

2017-01-31 Thread Michal Novotny
96] File "/usr/share/copr/coprs_frontend/coprs/views/misc.py", > line 293, in decorated_function > [Tue Jan 31 12:52:33.164648 2017] [:error] [pid 1029] [remote > 127.0.0.1:196] return f(*args, **kwargs) > [Tue Jan 31 12:52:33.164650 2017] [:error] [pid 1029] [remote > 12

Re: mockremote with RHEL??

2017-01-31 Thread Martin Juhl
ror] [pid 1029] [remote 127.0.0.1:196] build = build_chroots[0].build [Tue Jan 31 12:52:33.164653 2017] [:error] [pid 1029] [remote 127.0.0.1:196] IndexError: list index out of range Do I somehow need to add the repo to dist-git? or somewhere in the database??? Btw, still running 1.

Re: mockremote with RHEL??

2017-01-31 Thread Pavel Raiskup
ng ansible now but using python-paramiko directly). This probably requires you to specify the: [ssh] identity_file=/path/to/your/ssh_private_key (in backend's config) Pavel > - Original meddelelse - > Fra: "Miroslav Suchý" > Til: "copr-devel"

Re: mockremote with RHEL??

2017-01-31 Thread Martin Juhl
riginal meddelelse - Fra: "Miroslav Suchý" Til: "copr-devel" Sendt: tirsdag, 31. januar 2017 11:08:29 Emne: Re: mockremote with RHEL?? Dne 24.1.2017 v 11:31 Martin Juhl napsal(a): > Does anyone know howto use this with copr and mockremote??? > > Right now I have cre

Re: mockremote with RHEL??

2017-01-31 Thread Miroslav Suchý
Dne 24.1.2017 v 11:31 Martin Juhl napsal(a): > Does anyone know howto use this with copr and mockremote??? > > Right now I have created a /etc/mock/rhel-7-x86_64.cfg, and added the profile > with the manage.py script... Add it with manage.py to copr db is one step, but you must make sure the con

mockremote with RHEL??

2017-01-24 Thread Martin Juhl
Hi guys I have standard mock building packages for RHEL with the following configuration: --- config_opts['root'] = 'rhel-7-x86_64' config_opts['target_arch'] = 'x86_64' config_opts['legal_host_arches'] = ('x86_64',) config_opts['chroot_setup_cmd'] = 'install bash bzip2 cpio diff