On 3/5/2018 7:29 PM, Tristan Cacqueray wrote:
On March 6, 2018 1:09 am, Kent S. Gordon wrote:

I tried to setup a development environment following  the instructions on https://softwarefactory-project.io/docs/contributor/index.html#how-can-i-help

When I try to rebuild packages the command does not work.

Below is the output.

[centos@sf src]$ ./zuul_rpm_build.py --project software-factory/zuul
WARNI [zuulkoji.ZuulRpmBuild] software-factory/zuul: project not found in info yaml

I have script output of all the command that I entered to create the environment.


Hi,

this is hapening because the documentation is referring to a deprecated
example: "software-factory/zuul" was for Zuul(v2) which is no longer
supported. The Zuul(v3) package is "scl/zuul" instead.

New command does not work
Output below

[centos@sf src]$ ls
distro.yaml  software-factory  zuul-rpm-build  zuul_rpm_build.py
[centos@sf src]$ ./zuul_rpm_build.py --project scl/zuul
Traceback (most recent call last):
  File "./zuul_rpm_build.py", line 331, in <module>
    ZuulRpmBuild()
  File "/home/centos/src/software-factory/sfinfo/zuul_koji_lib.py", line 125, in __init__
    self.main(args)
  File "./zuul_rpm_build.py", line 321, in main
    if self.build(project):
  File "./zuul_rpm_build.py", line 218, in build
    self.execute(["zuul-cloner", self.args.source, distgit])
  File "/home/centos/src/software-factory/sfinfo/zuul_koji_lib.py", line 37, in execute
    s = subprocess.Popen(argv, stdout=stdout, cwd=cwd)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings
[centos@sf src]$



FTR, here is the doc fix: https://softwarefactory-project.io/r/11470

Thanks,
-Tristan

--
Kent S. Gordon
[email protected]

_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to