This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new a24789d Detect development hosts used in containers
a24789d is described below
commit a24789d39fffbdd879ecd2e2fbc6334c867fceb3
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Dec 31 16:22:24 2025 +0000
Detect development hosts used in containers
---
atr/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/util.py b/atr/util.py
index c3bc707..6176c2a 100644
--- a/atr/util.py
+++ b/atr/util.py
@@ -538,7 +538,7 @@ async def has_files(release: sql.Release) -> bool:
def is_dev_environment() -> bool:
conf = config.get()
- for development_host in ("127.0.0.1", "localhost.apache.org"):
+ for development_host in ("127.0.0.1", "atr", "atr-dev",
"localhost.apache.org"):
if (conf.APP_HOST == development_host) or
conf.APP_HOST.startswith(f"{development_host}:"):
return True
return False
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]