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-releases-client.git
The following commit(s) were added to refs/heads/main by this push:
new 26b36e1 Change the order of development actions
26b36e1 is described below
commit 26b36e1b5ef1e6320547150abe837127072b7bb7
Author: Sean B. Palmer <[email protected]>
AuthorDate: Tue Jul 15 15:24:08 2025 +0100
Change the order of development actions
---
Makefile | 31 +++++++++++++++++--------------
pyproject.toml | 4 ++--
src/atrclient/client.py | 5 +++--
uv.lock | 4 ++--
4 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/Makefile b/Makefile
index 334ff14..b834dec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,21 @@
-.PHONY: build bump check commit install sync
+.PHONY: build bump check commit pre-commit update-deps
build:
uv build
-bump: install
- @# We install above to ensure that dev stamp is up to date
+bump:
+ @# This assumes that we have the latest version of "dev stamp"
+ @# If not, run "uv pip install -e ." first
uv run atr dev stamp
+ @# Suppress the warning about ignoring the existing lockfile
rm -f uv.lock
- uv lock
+ @# This writes the new stamp into the uv.lock file and upgrades the
package
+ @# We do not have to use --upgrade as that is only for dependencies
+ uv sync
-check: bump
- @# Always bump to ensure that we check the exact current version
- git add -A
- uv run pre-commit run --all-files
- @# TODO: Move this to .pre-commit-config.yaml?
- @# It always runs on all files, so it's not a good traditional lint
+check: pre-commit bump
+ @# We run lint modifications first, then update the version
+ @# We do not consider the following a lint as it runs all test cases
always
uv run pytest -q
commit:
@@ -23,8 +24,10 @@ commit:
git pull
git push
-install:
- uv pip install -e .
+pre-commit:
+ git add -A
+ uv run pre-commit run --all-files
-sync:
- uv sync --group dev
+update-deps:
+ uv lock --upgrade
+ uv sync
diff --git a/pyproject.toml b/pyproject.toml
index af53adf..499783f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ build-backend = "hatchling.build"
[project]
name = "apache-trusted-releases"
-version = "0.20250714.1944"
+version = "0.20250715.1422"
description = "ATR CLI and Python API"
readme = "README.md"
requires-python = ">=3.13"
@@ -72,4 +72,4 @@ select = [
]
[tool.uv]
-exclude-newer = "2025-07-14T19:44:00Z"
+exclude-newer = "2025-07-15T14:22:00Z"
diff --git a/src/atrclient/client.py b/src/atrclient/client.py
index 889d907..37a1b0e 100755
--- a/src/atrclient/client.py
+++ b/src/atrclient/client.py
@@ -15,8 +15,9 @@
# specific language governing permissions and limitations
# under the License.
-# TODO: Use Pydantic models to validate API responses
-# TODO: Use transcript style script testing
+# TODO: Allow upload and download by calling rsync
+# Or potentially native for downloads, which should be trivial
+# There is also https://github.com/synodriver/pyrsync
from __future__ import annotations
diff --git a/uv.lock b/uv.lock
index 5bf204f..f5209d8 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2,7 +2,7 @@ version = 1
requires-python = ">=3.13"
[options]
-exclude-newer = "2025-07-14T19:44:00Z"
+exclude-newer = "2025-07-15T14:22:00Z"
[[package]]
name = "aiohappyeyeballs"
@@ -83,7 +83,7 @@ wheels = [
[[package]]
name = "apache-trusted-releases"
-version = "0.20250714.1944"
+version = "0.20250715.1422"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]