You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/07/31 14:02:22 UTC
(tooling-trusted-releases) branch sbp updated (886eb2ea -> ef5d32e3)
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a change to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
from 886eb2ea Explain the advice about moving files in SVN, and fix some typos
add 662d7447 #1449 - add interstitial page if metadata missing
add c1b43590 #1469 - reorganise catalog URLs for better PURL support
add 3c3ef532 Fix key bug where UID is missing
new ef5d32e3 Add a runtime dir interface
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
atr/catalog_site.py | 58 ++++++---------------
atr/get/projects.py | 14 +----
atr/get/start.py | 60 +++++++++++++++++++++-
atr/paths.py | 4 ++
atr/post/start.py | 36 +++++++++++++
atr/server.py | 14 ++++-
atr/shared/projects.py | 37 +++++++++++++
atr/shared/start.py | 20 ++++++++
atr/templates/catalog_site/_project_back_link.html | 2 +-
atr/templates/catalog_site/incubator.html | 2 +-
atr/templates/catalog_site/index.html | 2 +-
atr/templates/catalog_site/project.html | 4 +-
atr/templates/committee-view.html | 2 +-
tests/unit/test_release_manager_writer_surface.py | 8 +--
14 files changed, 196 insertions(+), 67 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org
(tooling-trusted-releases) 01/01: Add a runtime dir interface
Posted by sb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit ef5d32e346b80f22410476a3bc425e0aa286a614
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Jul 31 15:01:57 2026 +0100
Add a runtime dir interface
---
atr/paths.py | 4 ++++
atr/server.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/atr/paths.py b/atr/paths.py
index c8d7b03d..2eda40d3 100644
--- a/atr/paths.py
+++ b/atr/paths.py
@@ -92,6 +92,10 @@ def get_quarantined_dir() -> safe.StatePath:
return safe.StatePath(pathlib.Path(config.get().STATE_DIR) / "quarantined")
+def get_runtime_dir() -> safe.StatePath:
+ return safe.StatePath(pathlib.Path(config.get().STATE_DIR) / "runtime")
+
+
def get_tmp_dir() -> safe.StatePath:
# This must be on the same filesystem as the other state subdirectories
return safe.StatePath(pathlib.Path(config.get().STATE_DIR) / "temporary")
diff --git a/atr/server.py b/atr/server.py
index f6d0b754..616056e9 100644
--- a/atr/server.py
+++ b/atr/server.py
@@ -183,7 +183,6 @@ def _app_dirs_setup(state_dir_str: str, hot_reload: bool) -> None:
pathlib.Path(state_dir_str) / "hypercorn" / "logs",
pathlib.Path(state_dir_str) / "hypercorn" / "secrets",
pathlib.Path(state_dir_str) / "logs",
- pathlib.Path(state_dir_str) / "runtime",
pathlib.Path(state_dir_str) / "secrets" / "cached",
pathlib.Path(state_dir_str) / "secrets" / "curated",
pathlib.Path(state_dir_str) / "secrets" / "generated",
@@ -191,6 +190,7 @@ def _app_dirs_setup(state_dir_str: str, hot_reload: bool) -> None:
pathlib.Path(paths.get_catalog_site_dir()),
pathlib.Path(paths.get_finished_dir()),
pathlib.Path(paths.get_quarantined_dir()),
+ pathlib.Path(paths.get_runtime_dir()),
pathlib.Path(paths.get_tmp_dir()),
pathlib.Path(paths.get_unfinished_dir()),
]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org