You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2026/10/19 11:12:33 UTC

(juneau) branch juneau-release-manager updated: Re-vendor bootstrap.py: --console none loads juneau-run so child output stays off the terminal

This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch juneau-release-manager
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/juneau-release-manager by this push:
     new 30499a7efe Re-vendor bootstrap.py: --console none loads juneau-run so child output stays off the terminal
30499a7efe is described below

commit 30499a7efe8e3dff3cfec73118df46aeb3005a21
Author: James Bognar <ja...@apache.org>
AuthorDate: Mon Oct 19 07:12:28 2026 -0400

    Re-vendor bootstrap.py: --console none loads juneau-run so child output stays off the terminal
---
 scripts/bootstrap.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py
index f2a7589f2b..3303e898e0 100644
--- a/scripts/bootstrap.py
+++ b/scripts/bootstrap.py
@@ -26,7 +26,7 @@ Where the toolkit comes from, in order:
   3. ~/.m2/repository/org/apache/juneau/juneau-run/<v>/juneau-run-<v>.{py,zip}, in place when both are there;
      otherwise `mvn dependency:copy` of both into cache_dir (a SNAPSHOT once per process, a release when missing).
 
-juneau_run is loaded only when run=True, or when run is None and RUN_MARKERS=1 or JUNEAU_RUN_CONSOLE=condensed.
+juneau_run is loaded only when run=True, or when run is None and RUN_MARKERS=1 or JUNEAU_RUN_CONSOLE=condensed or none.
 """
 
 import importlib
@@ -49,8 +49,9 @@ class BootstrapError(Exception):
 
 
 def run_requested():
-    """True when the environment asks for juneau_run: RUN_MARKERS=1 or JUNEAU_RUN_CONSOLE=condensed."""
-    return os.environ.get("RUN_MARKERS") == "1" or os.environ.get("JUNEAU_RUN_CONSOLE") == "condensed"
+    """True when the environment asks for juneau_run: RUN_MARKERS=1 or JUNEAU_RUN_CONSOLE=condensed or none.  Under
+    none juneau_run is loaded so a tool's output goes to the sinks and not the terminal."""
+    return os.environ.get("RUN_MARKERS") == "1" or os.environ.get("JUNEAU_RUN_CONSOLE") in ("condensed", "none")
 
 
 def _pom_version(pom):