Commit d04deddb authored by Robin Sonnabend's avatar Robin Sonnabend

More debug output

parent 486475b4
Pipeline #577 failed with stage
in 6 minutes and 48 seconds
......@@ -63,19 +63,21 @@ def build_package(repo_dir, package_dir, name,
"Extracted package {} is not expected package {}".format(
pkg_name, name))
print("Extracted name", pkg_dir, pkg_name)
workdir = os.path.join(tempdir, pkg_dir)
os.chdir(workdir)
print(os.listdir())
print("Content of tempdir:", os.listdir(workdir))
print("Content of workdir:", os.listdir(workdir))
if additional_content is not None:
print("applying additional content")
os.chdir(workdir)
print(os.listdir())
for content in additional_content:
print("applying {}".format(content))
os.chdir(content["target_dir"])
print(os.listdir())
target_dir = content["target_dir"]
print("applying", content, "in", target_dir)
os.listdir(target_dir)
os.chdir(target_dir)
if "patch_dir" in content:
abs_patch_dir = os.path.join(
repo_dir, content["patch_dir"])
......@@ -83,10 +85,11 @@ def build_package(repo_dir, package_dir, name,
elif "git_url" in content:
run_checked(["git", "clone", content["git_url"]])
else:
print(
raise ValueError(
"Unknown kind of additional content: {}".format(
content))
os.chdir(workdir)
command = ["debchange", "--preserve"]
if version is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment