This instance will be upgraded to Heptapod 0.25.0 (final) on 2021-09-22 at 15:00 UTC+2 (a few minutes of down time)

Commit a0cb8b4f authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: nicer user feedback in Hgitaly install

The most notable thing is that pip outputs most of its
message to stderr, which wreaked the ordering with out
prints.

--HG--
branch : heptapod-stable
parent 9b301d49f5ee
Pipeline #14145 skipped with stages
......@@ -89,8 +89,8 @@ PYTHON_COMPONENTS = {
for slug, target in PYTHON_COMPONENTS.items():
if os.path.exists(target):
print("Updating %s clone at %s" % (slug, target))
subprocess.check_call(HG_CMD + ('-R', target, 'pull'))
subprocess.check_call(HG_CMD + ('-R', target, 'update',
subprocess.check_call(HG_CMD + ('-R', target, 'pull', '-q'))
subprocess.check_call(HG_CMD + ('-R', target, 'update', '-q',
'-C', PYDEPS_BRANCH))
else:
print("Cloning %s into %s" % (slug, target))
......@@ -108,7 +108,7 @@ for target in PYTHON_COMPONENTS.values():
pip_cmd.extend(('-e', target))
print("Installing Python Heptapod components: %r" % pip_cmd)
subprocess.check_call(pip_cmd)
subprocess.check_call(pip_cmd, stderr=sys.stdout)
write_config(os.path.join(PY_HEPTAPOD_CLONE_PATH,
'heptapod', 'required.hgrc'))
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