I did the git pull and got a new error

[centos@sf src]$ ./zuul_rpm_build.py --project scl/zuul
Traceback (most recent call last):
  File "./zuul_rpm_build.py", line 337, in <module>
  File "/home/centos/src/software-factory/sfinfo/zuul_koji_lib.py", line 125, in __init__
  File "./zuul_rpm_build.py", line 327, in main
    if self.build(project):
  File "./zuul_rpm_build.py", line 219, in build
    os.makedirs(os.path.dirname(distgit), exist_ok=True)
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'
[centos@sf src]$

On 3/5/2018 10:39 PM, Tristan Cacqueray wrote:
On March 6, 2018 1:48 am, Kent S. Gordon wrote:

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.


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):
TypeError: execv() arg 2 must contain only strings
[centos@sf src]$

This exception is happening because the distgit is not present on your
system and the sfinfo scripts was still using zuul-cloner to fetch
missing repository.

I've updated the zuul_rpm_build.py script[1], please use "git pull"
to update your sfinfo copy.

Thanks for the feedback,

[0] the doc fix: https://softwarefactory-project.io/r/11470
[1] https://softwarefactory-project.io/r/11471

Kent S. Gordon

Softwarefactory-dev mailing list

Reply via email to