keep-github-workflows-active 2.1.4__tar.gz → 2.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/workflows/activate_workflows.yml +26 -1
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/workflows/default_cicd_public.yml +40 -5
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/workflows/default_release_public.yml +2 -2
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/CHANGELOG.md +10 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/CLAUDE.md +2 -2
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/Makefile +63 -38
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/PKG-INFO +10 -9
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/pyproject.toml +15 -12
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/__init__conf__.py +1 -1
- keep_github_workflows_active-2.1.4/reset_git_history.sh +0 -55
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.devcontainer/devcontainer.json +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.devcontainer/settings.json +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.env.example +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/actions/extract-metadata/action.yml +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/dependabot.yml +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/workflows/codeql.yml +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.gitignore +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.qlty/qlty.toml +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.snyk +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/CONTRIBUTING.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/DEVELOPMENT.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/INSTALL.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/LICENSE +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/README.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/codecov.yml +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/concept.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/docs/systemdesign/SECURITY.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/docs/systemdesign/module_reference.md +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/notebooks/Quickstart.ipynb +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/__init__.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/__main__.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/behaviors.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/cli.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/doctest.env +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/keep_github_workflow_active.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/py.typed +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/src/keep_github_workflows_active/sanitization.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/conftest.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_behaviors.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_cli.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_github_integration.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_metadata.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_module_entry.py +0 -0
- {keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_sanitization.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Activate Workflows
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -78,6 +78,31 @@ jobs:
|
|
|
78
78
|
uv pip install dist/*.whl
|
|
79
79
|
"$CLI_BIN" --version 2>/dev/null || python -m "$PACKAGE_MODULE" --version
|
|
80
80
|
|
|
81
|
+
activate:
|
|
82
|
+
name: Enable workflows & delete old runs
|
|
83
|
+
needs: test
|
|
84
|
+
if: github.event_name == 'schedule'
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
env:
|
|
87
|
+
SECRET_GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }}
|
|
88
|
+
SECRET_GITHUB_OWNER: ${{ secrets.SECRET_GITHUB_OWNER }}
|
|
89
|
+
steps:
|
|
90
|
+
- uses: actions/checkout@v6
|
|
91
|
+
- uses: actions/setup-python@v6
|
|
92
|
+
with:
|
|
93
|
+
python-version: "3.x"
|
|
94
|
+
cache: 'pip'
|
|
95
|
+
- name: Install uv
|
|
96
|
+
uses: astral-sh/setup-uv@v7
|
|
97
|
+
with:
|
|
98
|
+
enable-cache: true
|
|
99
|
+
- name: Install package
|
|
100
|
+
run: uv pip install --system -e .
|
|
101
|
+
- name: Enable all workflows
|
|
102
|
+
run: keep-github-workflows-active enable-all-workflows
|
|
103
|
+
- name: Delete old workflow runs
|
|
104
|
+
run: keep-github-workflows-active delete-old-workflow-runs
|
|
105
|
+
|
|
81
106
|
pipx-uv:
|
|
82
107
|
name: pipx/uv verification (ubuntu)
|
|
83
108
|
runs-on: ubuntu-latest
|
|
@@ -10,15 +10,47 @@ on:
|
|
|
10
10
|
- cron: '17 3 * * *'
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
13
|
+
setup:
|
|
14
|
+
name: Extract Python versions from pyproject.toml
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
outputs:
|
|
17
|
+
python-versions: ${{ steps.versions.outputs.python-versions }}
|
|
18
|
+
python-latest: ${{ steps.versions.outputs.python-latest }}
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v6
|
|
21
|
+
- uses: actions/setup-python@v6
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.x"
|
|
24
|
+
- name: Parse classifiers for Python versions
|
|
25
|
+
id: versions
|
|
26
|
+
shell: python
|
|
27
|
+
run: |
|
|
28
|
+
import json, os, tomllib
|
|
29
|
+
|
|
30
|
+
with open("pyproject.toml", "rb") as f:
|
|
31
|
+
data = tomllib.load(f)
|
|
32
|
+
classifiers = data.get("project", {}).get("classifiers", [])
|
|
33
|
+
prefix = "Programming Language :: Python :: "
|
|
34
|
+
versions = [
|
|
35
|
+
c[len(prefix):]
|
|
36
|
+
for c in classifiers
|
|
37
|
+
if c.startswith(prefix) and "." in c[len(prefix):]
|
|
38
|
+
]
|
|
39
|
+
if not versions:
|
|
40
|
+
raise SystemExit("No Python X.Y versions found in classifiers")
|
|
41
|
+
with open(os.environ["GITHUB_OUTPUT"], "a") as fh:
|
|
42
|
+
fh.write(f"python-versions={json.dumps(versions)}\n")
|
|
43
|
+
fh.write(f"python-latest={versions[-1]}\n")
|
|
44
|
+
|
|
13
45
|
test:
|
|
14
46
|
name: Tests (Python ${{ matrix.python }}, ${{ matrix.os }})
|
|
47
|
+
needs: setup
|
|
15
48
|
runs-on: ${{ matrix.os }}
|
|
16
49
|
strategy:
|
|
17
50
|
fail-fast: false
|
|
18
51
|
matrix:
|
|
19
52
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
20
|
-
|
|
21
|
-
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
53
|
+
python: ${{ fromJSON(needs.setup.outputs.python-versions) }}
|
|
22
54
|
env:
|
|
23
55
|
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
|
|
24
56
|
PYTHONIOENCODING: "utf-8"
|
|
@@ -63,7 +95,10 @@ jobs:
|
|
|
63
95
|
run: |
|
|
64
96
|
uv pip install pywin32 --system
|
|
65
97
|
|
|
98
|
+
# Self-hosted runners persist ruff cache via RUFF_CACHE_DIR volume mount,
|
|
99
|
+
# so actions/cache is only needed on GitHub-hosted runners.
|
|
66
100
|
- name: Restore ruff cache
|
|
101
|
+
if: runner.environment == 'github-hosted'
|
|
67
102
|
id: ruff-cache
|
|
68
103
|
uses: actions/cache/restore@v5
|
|
69
104
|
with:
|
|
@@ -109,7 +144,7 @@ jobs:
|
|
|
109
144
|
always()
|
|
110
145
|
&& steps.pytest.outcome == 'success'
|
|
111
146
|
&& matrix.os == 'ubuntu-latest'
|
|
112
|
-
&& matrix.python ==
|
|
147
|
+
&& matrix.python == needs.setup.outputs.python-latest
|
|
113
148
|
uses: codecov/codecov-action@v5
|
|
114
149
|
with:
|
|
115
150
|
files: ${{ env.COV_REPORT_FILE }}
|
|
@@ -125,7 +160,7 @@ jobs:
|
|
|
125
160
|
id: bandit
|
|
126
161
|
continue-on-error: true
|
|
127
162
|
shell: bash
|
|
128
|
-
run: bandit -q -r ${{ env.SRC_PATH }}/${{ env.PACKAGE_MODULE }} ${{ env.BANDIT_SKIP_FLAG }}
|
|
163
|
+
run: bandit -q -c pyproject.toml -r ${{ env.SRC_PATH }}/${{ env.PACKAGE_MODULE }} ${{ env.BANDIT_SKIP_FLAG }}
|
|
129
164
|
|
|
130
165
|
- name: Run pip-audit (vulnerability scan)
|
|
131
166
|
id: pipaudit
|
|
@@ -189,7 +224,7 @@ jobs:
|
|
|
189
224
|
run: uv cache prune --ci
|
|
190
225
|
|
|
191
226
|
- name: Save ruff cache
|
|
192
|
-
if: always() && steps.ruff-cache.outputs.cache-hit != 'true'
|
|
227
|
+
if: always() && runner.environment == 'github-hosted' && steps.ruff-cache.outputs.cache-hit != 'true'
|
|
193
228
|
uses: actions/cache/save@v5
|
|
194
229
|
with:
|
|
195
230
|
path: .ruff_cache
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
run: uv build
|
|
32
32
|
|
|
33
33
|
- name: Upload artifacts
|
|
34
|
-
uses: actions/upload-artifact@
|
|
34
|
+
uses: actions/upload-artifact@v7
|
|
35
35
|
with:
|
|
36
36
|
name: dist
|
|
37
37
|
path: dist/*
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
fi
|
|
57
57
|
|
|
58
58
|
- name: Download artifacts
|
|
59
|
-
uses: actions/download-artifact@
|
|
59
|
+
uses: actions/download-artifact@v8
|
|
60
60
|
with:
|
|
61
61
|
name: dist
|
|
62
62
|
path: dist/
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.1.5] - 2026-03-25
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Updated CI/CD workflows: improved artifact upload/download actions, updated runner configurations
|
|
9
|
+
- Updated Makefile with streamlined build targets
|
|
10
|
+
|
|
11
|
+
### Security
|
|
12
|
+
- Added CVE-2026-25990 (pillow), CVE-2025-8869 (pip), CVE-2026-25645 (requests) to pip-audit ignore list
|
|
13
|
+
- Added CVE-2026-4539 (pygments) to pip-audit ignore list
|
|
14
|
+
|
|
5
15
|
## [2.1.4] - 2026-02-13
|
|
6
16
|
|
|
7
17
|
### Fixed
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- Read following files from directory /media/srv-main-softdev/*/projects/softwarestack/systemprompts and keep their guidance in working memory:
|
|
6
6
|
- core_programming_solid.md
|
|
7
|
-
-
|
|
7
|
+
- use skill `bx-bash-clean-architecture`
|
|
8
8
|
- bash_clean_code.md
|
|
9
9
|
- bash_small_functions.md
|
|
10
10
|
- python_solid_architecture_enforcer.md
|
|
@@ -24,7 +24,7 @@ always apply those Rules :
|
|
|
24
24
|
when writing or refracturing Bash scripts, apply those Rules :
|
|
25
25
|
|
|
26
26
|
- core_programming_solid.md
|
|
27
|
-
-
|
|
27
|
+
- use skill `bx-bash-clean-architecture`
|
|
28
28
|
- bash_clean_code.md
|
|
29
29
|
- bash_small_functions.md
|
|
30
30
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# BMK MAKEFILE 2.
|
|
1
|
+
# BMK MAKEFILE 2.9.0
|
|
2
2
|
# do not alter this file - it might be overwritten on new versions of BMK
|
|
3
3
|
# if You want to alter it, remove the first line # BMK MAKEFILE 1.0 - then it is a custom makefile and will not be overwritten
|
|
4
|
-
# bmk Makefile — thin wrapper
|
|
4
|
+
# bmk Makefile — thin wrapper using `uv tool install` for persistent bmk
|
|
5
5
|
#
|
|
6
6
|
# Usage:
|
|
7
7
|
# make test # run test suite
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
# make custom deploy # run custom command
|
|
12
12
|
# make custom deploy --dry-run
|
|
13
13
|
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
14
|
+
# On every invocation, bmk is (re-)installed as a persistent uv tool
|
|
15
|
+
# together with the current project's dependencies (read from ./pyproject.toml).
|
|
16
|
+
# This ensures pyright, pytest, pip-audit etc. can resolve the full
|
|
17
|
+
# dependency tree without PYTHONPATH hacks or a local .venv.
|
|
16
18
|
#
|
|
17
19
|
# Arguments after the target name are forwarded automatically.
|
|
18
20
|
# You can also use ARGS="..." explicitly if preferred.
|
|
@@ -20,9 +22,19 @@
|
|
|
20
22
|
SHELL := /bin/bash
|
|
21
23
|
.DEFAULT_GOAL := help
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
# Use absolute path to the uv tool binary so active virtualenvs cannot shadow it.
|
|
26
|
+
BMK := $(HOME)/.local/bin/bmk
|
|
24
27
|
ARGS ?=
|
|
25
28
|
|
|
29
|
+
# ──────────────────────────────────────────────────────────────
|
|
30
|
+
# Ensure bmk + project deps are installed as a persistent uv tool
|
|
31
|
+
# ──────────────────────────────────────────────────────────────
|
|
32
|
+
# --reinstall re-resolves deps on every call (fast when cached).
|
|
33
|
+
# Fallback handles first-time install where --reinstall would fail.
|
|
34
|
+
.PHONY: _ensure_bmk
|
|
35
|
+
_ensure_bmk:
|
|
36
|
+
@uv tool install --reinstall bmk --with . 2>/dev/null || uv tool install bmk --with .
|
|
37
|
+
|
|
26
38
|
# ──────────────────────────────────────────────────────────────
|
|
27
39
|
# Argument forwarding via MAKECMDGOALS
|
|
28
40
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -30,7 +42,8 @@ ARGS ?=
|
|
|
30
42
|
# instead of: make push ARGS="fix login bug"
|
|
31
43
|
|
|
32
44
|
# All targets that accept trailing arguments
|
|
33
|
-
_BMK_TARGETS := test t testintegration testi ti
|
|
45
|
+
_BMK_TARGETS := test t test-human th testintegration testi ti testintegration-human tih \
|
|
46
|
+
codecov coverage cov \
|
|
34
47
|
build bld clean cln cl run \
|
|
35
48
|
bump-major bump-minor bump-patch bump \
|
|
36
49
|
commit c push psh p release rel r \
|
|
@@ -51,21 +64,33 @@ endif
|
|
|
51
64
|
# ──────────────────────────────────────────────────────────────
|
|
52
65
|
|
|
53
66
|
.PHONY: test t
|
|
54
|
-
test: ## Run test suite [alias: t]
|
|
67
|
+
test: _ensure_bmk ## Run test suite [alias: t]
|
|
55
68
|
$(BMK) test $(ARGS)
|
|
56
|
-
t:
|
|
69
|
+
t: _ensure_bmk
|
|
57
70
|
$(BMK) test $(ARGS)
|
|
58
71
|
|
|
72
|
+
.PHONY: test-human th
|
|
73
|
+
test-human: _ensure_bmk ## Run test suite with human-readable output [alias: th]
|
|
74
|
+
$(BMK) test --human $(ARGS)
|
|
75
|
+
th: _ensure_bmk
|
|
76
|
+
$(BMK) test --human $(ARGS)
|
|
77
|
+
|
|
59
78
|
.PHONY: testintegration testi ti
|
|
60
|
-
testintegration: ## Run integration tests only [aliases: testi, ti]
|
|
79
|
+
testintegration: _ensure_bmk ## Run integration tests only [aliases: testi, ti]
|
|
61
80
|
$(BMK) testintegration $(ARGS)
|
|
62
|
-
testi ti:
|
|
81
|
+
testi ti: _ensure_bmk
|
|
63
82
|
$(BMK) testintegration $(ARGS)
|
|
64
83
|
|
|
84
|
+
.PHONY: testintegration-human tih
|
|
85
|
+
testintegration-human: _ensure_bmk ## Run integration tests with human-readable output [alias: tih]
|
|
86
|
+
$(BMK) testintegration --human $(ARGS)
|
|
87
|
+
tih: _ensure_bmk
|
|
88
|
+
$(BMK) testintegration --human $(ARGS)
|
|
89
|
+
|
|
65
90
|
.PHONY: codecov coverage cov
|
|
66
|
-
codecov: ## Upload coverage report to Codecov [aliases: coverage, cov]
|
|
91
|
+
codecov: _ensure_bmk ## Upload coverage report to Codecov [aliases: coverage, cov]
|
|
67
92
|
$(BMK) codecov $(ARGS)
|
|
68
|
-
coverage cov:
|
|
93
|
+
coverage cov: _ensure_bmk
|
|
69
94
|
$(BMK) codecov $(ARGS)
|
|
70
95
|
|
|
71
96
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -73,15 +98,15 @@ coverage cov:
|
|
|
73
98
|
# ──────────────────────────────────────────────────────────────
|
|
74
99
|
|
|
75
100
|
.PHONY: build bld
|
|
76
|
-
build: ## Build wheel and sdist artifacts [alias: bld]
|
|
101
|
+
build: _ensure_bmk ## Build wheel and sdist artifacts [alias: bld]
|
|
77
102
|
$(BMK) build $(ARGS)
|
|
78
|
-
bld:
|
|
103
|
+
bld: _ensure_bmk
|
|
79
104
|
$(BMK) build $(ARGS)
|
|
80
105
|
|
|
81
106
|
.PHONY: clean cln cl
|
|
82
|
-
clean: ## Remove build artifacts and caches [aliases: cln, cl]
|
|
107
|
+
clean: _ensure_bmk ## Remove build artifacts and caches [aliases: cln, cl]
|
|
83
108
|
$(BMK) clean $(ARGS)
|
|
84
|
-
cln cl:
|
|
109
|
+
cln cl: _ensure_bmk
|
|
85
110
|
$(BMK) clean $(ARGS)
|
|
86
111
|
|
|
87
112
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -89,7 +114,7 @@ cln cl:
|
|
|
89
114
|
# ──────────────────────────────────────────────────────────────
|
|
90
115
|
|
|
91
116
|
.PHONY: run
|
|
92
|
-
run: ## Run the project CLI
|
|
117
|
+
run: _ensure_bmk ## Run the project CLI
|
|
93
118
|
$(BMK) run $(ARGS)
|
|
94
119
|
|
|
95
120
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -97,15 +122,15 @@ run: ## Run the project CLI via uvx
|
|
|
97
122
|
# ──────────────────────────────────────────────────────────────
|
|
98
123
|
|
|
99
124
|
.PHONY: bump-major
|
|
100
|
-
bump-major: ## Bump major version (X+1).0.0
|
|
125
|
+
bump-major: _ensure_bmk ## Bump major version (X+1).0.0
|
|
101
126
|
$(BMK) bump major $(ARGS)
|
|
102
127
|
|
|
103
128
|
.PHONY: bump-minor
|
|
104
|
-
bump-minor: ## Bump minor version X.(Y+1).0
|
|
129
|
+
bump-minor: _ensure_bmk ## Bump minor version X.(Y+1).0
|
|
105
130
|
$(BMK) bump minor $(ARGS)
|
|
106
131
|
|
|
107
132
|
.PHONY: bump-patch
|
|
108
|
-
bump-patch: ## Bump patch version X.Y.(Z+1)
|
|
133
|
+
bump-patch: _ensure_bmk ## Bump patch version X.Y.(Z+1)
|
|
109
134
|
$(BMK) bump patch $(ARGS)
|
|
110
135
|
|
|
111
136
|
.PHONY: bump
|
|
@@ -116,21 +141,21 @@ bump: bump-patch ## Bump patch version (default for bump)
|
|
|
116
141
|
# ──────────────────────────────────────────────────────────────
|
|
117
142
|
|
|
118
143
|
.PHONY: commit c
|
|
119
|
-
commit: ## Create a git commit with timestamped message [alias: c]
|
|
144
|
+
commit: _ensure_bmk ## Create a git commit with timestamped message [alias: c]
|
|
120
145
|
$(BMK) commit $(ARGS)
|
|
121
|
-
c:
|
|
146
|
+
c: _ensure_bmk
|
|
122
147
|
$(BMK) commit $(ARGS)
|
|
123
148
|
|
|
124
149
|
.PHONY: push psh p
|
|
125
|
-
push: ## Run tests, commit, and push to remote [aliases: psh, p]
|
|
150
|
+
push: _ensure_bmk ## Run tests, commit, and push to remote [aliases: psh, p]
|
|
126
151
|
$(BMK) push $(ARGS)
|
|
127
|
-
psh p:
|
|
152
|
+
psh p: _ensure_bmk
|
|
128
153
|
$(BMK) push $(ARGS)
|
|
129
154
|
|
|
130
155
|
.PHONY: release rel r
|
|
131
|
-
release: ## Create a versioned release (tag + GitHub release) [aliases: rel, r]
|
|
156
|
+
release: _ensure_bmk ## Create a versioned release (tag + GitHub release) [aliases: rel, r]
|
|
132
157
|
$(BMK) release $(ARGS)
|
|
133
|
-
rel r:
|
|
158
|
+
rel r: _ensure_bmk
|
|
134
159
|
$(BMK) release $(ARGS)
|
|
135
160
|
|
|
136
161
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -138,13 +163,13 @@ rel r:
|
|
|
138
163
|
# ──────────────────────────────────────────────────────────────
|
|
139
164
|
|
|
140
165
|
.PHONY: dependencies deps d
|
|
141
|
-
dependencies: ## Check and list project dependencies [aliases: deps, d]
|
|
166
|
+
dependencies: _ensure_bmk ## Check and list project dependencies [aliases: deps, d]
|
|
142
167
|
$(BMK) dependencies $(ARGS)
|
|
143
|
-
deps d:
|
|
168
|
+
deps d: _ensure_bmk
|
|
144
169
|
$(BMK) dependencies $(ARGS)
|
|
145
170
|
|
|
146
171
|
.PHONY: dependencies-update
|
|
147
|
-
dependencies-update: ## Update dependencies to latest versions
|
|
172
|
+
dependencies-update: _ensure_bmk ## Update dependencies to latest versions
|
|
148
173
|
$(BMK) dependencies update $(ARGS)
|
|
149
174
|
|
|
150
175
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -152,15 +177,15 @@ dependencies-update: ## Update dependencies to latest versions
|
|
|
152
177
|
# ──────────────────────────────────────────────────────────────
|
|
153
178
|
|
|
154
179
|
.PHONY: config
|
|
155
|
-
config: ## Show current merged configuration
|
|
180
|
+
config: _ensure_bmk ## Show current merged configuration
|
|
156
181
|
$(BMK) config $(ARGS)
|
|
157
182
|
|
|
158
183
|
.PHONY: config-deploy
|
|
159
|
-
config-deploy: ## Deploy configuration to system/user directories
|
|
184
|
+
config-deploy: _ensure_bmk ## Deploy configuration to system/user directories
|
|
160
185
|
$(BMK) config-deploy $(ARGS)
|
|
161
186
|
|
|
162
187
|
.PHONY: config-generate-examples
|
|
163
|
-
config-generate-examples: ## Generate example configuration files
|
|
188
|
+
config-generate-examples: _ensure_bmk ## Generate example configuration files
|
|
164
189
|
$(BMK) config-generate-examples $(ARGS)
|
|
165
190
|
|
|
166
191
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -168,11 +193,11 @@ config-generate-examples: ## Generate example configuration files
|
|
|
168
193
|
# ──────────────────────────────────────────────────────────────
|
|
169
194
|
|
|
170
195
|
.PHONY: send-email
|
|
171
|
-
send-email: ## Send an email via configured SMTP
|
|
196
|
+
send-email: _ensure_bmk ## Send an email via configured SMTP
|
|
172
197
|
$(BMK) send-email $(ARGS)
|
|
173
198
|
|
|
174
199
|
.PHONY: send-notification
|
|
175
|
-
send-notification: ## Send a plain-text notification email
|
|
200
|
+
send-notification: _ensure_bmk ## Send a plain-text notification email
|
|
176
201
|
$(BMK) send-notification $(ARGS)
|
|
177
202
|
|
|
178
203
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -180,7 +205,7 @@ send-notification: ## Send a plain-text notification email
|
|
|
180
205
|
# ──────────────────────────────────────────────────────────────
|
|
181
206
|
|
|
182
207
|
.PHONY: custom
|
|
183
|
-
custom: ## Run a custom command (make custom <name> [args...])
|
|
208
|
+
custom: _ensure_bmk ## Run a custom command (make custom <name> [args...])
|
|
184
209
|
$(BMK) custom $(ARGS)
|
|
185
210
|
|
|
186
211
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -188,15 +213,15 @@ custom: ## Run a custom command (make custom <name> [args...])
|
|
|
188
213
|
# ──────────────────────────────────────────────────────────────
|
|
189
214
|
|
|
190
215
|
.PHONY: info
|
|
191
|
-
info: ## Print resolved package metadata
|
|
216
|
+
info: _ensure_bmk ## Print resolved package metadata
|
|
192
217
|
$(BMK) info $(ARGS)
|
|
193
218
|
|
|
194
219
|
.PHONY: logdemo
|
|
195
|
-
logdemo: ## Run logging demonstration
|
|
220
|
+
logdemo: _ensure_bmk ## Run logging demonstration
|
|
196
221
|
$(BMK) logdemo $(ARGS)
|
|
197
222
|
|
|
198
223
|
.PHONY: version-current
|
|
199
|
-
version-current: ## Print current version
|
|
224
|
+
version-current: _ensure_bmk ## Print current version
|
|
200
225
|
$(BMK) --version
|
|
201
226
|
|
|
202
227
|
# ──────────────────────────────────────────────────────────────
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: keep_github_workflows_active
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.5
|
|
4
4
|
Summary: Template for python apps with registered cli commands
|
|
5
5
|
Project-URL: Homepage, https://github.com/bitranox/keep_github_workflows_active
|
|
6
6
|
Project-URL: Repository, https://github.com/bitranox/keep_github_workflows_active.git
|
|
@@ -14,24 +14,25 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
18
|
Classifier: Typing :: Typed
|
|
18
19
|
Requires-Python: >=3.10
|
|
19
20
|
Requires-Dist: lib-cli-exit-tools>=2.3.0
|
|
20
21
|
Requires-Dist: pydantic>=2.12.5
|
|
21
|
-
Requires-Dist: requests>=2.
|
|
22
|
+
Requires-Dist: requests>=2.33.0
|
|
22
23
|
Requires-Dist: rich-click>=1.9.7
|
|
23
24
|
Provides-Extra: dev
|
|
24
|
-
Requires-Dist: bandit>=1.9.
|
|
25
|
-
Requires-Dist: build>=1.4.
|
|
26
|
-
Requires-Dist: codecov-cli>=11.2.
|
|
27
|
-
Requires-Dist: import-linter>=2.
|
|
25
|
+
Requires-Dist: bandit>=1.9.4; extra == 'dev'
|
|
26
|
+
Requires-Dist: build>=1.4.2; extra == 'dev'
|
|
27
|
+
Requires-Dist: codecov-cli>=11.2.7; extra == 'dev'
|
|
28
|
+
Requires-Dist: import-linter>=2.11; extra == 'dev'
|
|
28
29
|
Requires-Dist: pip-audit>=2.10.0; extra == 'dev'
|
|
29
30
|
Requires-Dist: pyright[nodejs]>=1.1.408; extra == 'dev'
|
|
30
|
-
Requires-Dist: pytest-cov>=7.
|
|
31
|
+
Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
|
|
31
32
|
Requires-Dist: pytest>=9.0.2; extra == 'dev'
|
|
32
33
|
Requires-Dist: rtoml>=0.13.0; extra == 'dev'
|
|
33
|
-
Requires-Dist: ruff>=0.15.
|
|
34
|
-
Requires-Dist: textual>=
|
|
34
|
+
Requires-Dist: ruff>=0.15.7; extra == 'dev'
|
|
35
|
+
Requires-Dist: textual>=8.1.1; extra == 'dev'
|
|
35
36
|
Requires-Dist: twine>=6.2.0; extra == 'dev'
|
|
36
37
|
Description-Content-Type: text/markdown
|
|
37
38
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "keep_github_workflows_active"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.5"
|
|
4
4
|
description = "Template for python apps with registered cli commands"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
|
-
dependencies = ["rich-click>=1.9.7", "lib_cli_exit_tools>=2.3.0", "requests>=2.
|
|
7
|
+
dependencies = ["rich-click>=1.9.7", "lib_cli_exit_tools>=2.3.0", "requests>=2.33.0", "pydantic>=2.12.5"]
|
|
8
8
|
license = { text = "MIT" }
|
|
9
9
|
authors = [{ name = "bitranox", email = "bitranox@gmail.com" }]
|
|
10
10
|
keywords = ["logging", "rich", "cli", "terminal", "ansi"]
|
|
@@ -15,6 +15,8 @@ classifiers = [
|
|
|
15
15
|
"Environment :: Console",
|
|
16
16
|
"Operating System :: OS Independent",
|
|
17
17
|
"Typing :: Typed",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.14",
|
|
18
20
|
]
|
|
19
21
|
|
|
20
22
|
[project.urls]
|
|
@@ -25,16 +27,16 @@ Issues = "https://github.com/bitranox/keep_github_workflows_active/issues"
|
|
|
25
27
|
[project.optional-dependencies]
|
|
26
28
|
dev = [
|
|
27
29
|
"pytest>=9.0.2",
|
|
28
|
-
"pytest-cov>=7.
|
|
29
|
-
"ruff>=0.15.
|
|
30
|
+
"pytest-cov>=7.1.0",
|
|
31
|
+
"ruff>=0.15.7",
|
|
30
32
|
"pyright[nodejs]>=1.1.408",
|
|
31
|
-
"bandit>=1.9.
|
|
32
|
-
"build>=1.4.
|
|
33
|
+
"bandit>=1.9.4",
|
|
34
|
+
"build>=1.4.2",
|
|
33
35
|
"twine>=6.2.0",
|
|
34
|
-
"codecov-cli>=11.2.
|
|
36
|
+
"codecov-cli>=11.2.7",
|
|
35
37
|
"pip-audit>=2.10.0",
|
|
36
|
-
"textual>=
|
|
37
|
-
"import-linter>=2.
|
|
38
|
+
"textual>=8.1.1",
|
|
39
|
+
"import-linter>=2.11",
|
|
38
40
|
"rtoml>=0.13.0"
|
|
39
41
|
]
|
|
40
42
|
|
|
@@ -43,7 +45,7 @@ keep_github_workflows_active = "keep_github_workflows_active.cli:main"
|
|
|
43
45
|
keep-github-workflows-active = "keep_github_workflows_active.cli:main"
|
|
44
46
|
|
|
45
47
|
[build-system]
|
|
46
|
-
requires = ["hatchling>=1.
|
|
48
|
+
requires = ["hatchling>=1.29.0"]
|
|
47
49
|
build-backend = "hatchling.build"
|
|
48
50
|
|
|
49
51
|
|
|
@@ -96,8 +98,9 @@ fail_under = 50
|
|
|
96
98
|
show_missing = true
|
|
97
99
|
|
|
98
100
|
[tool.clean]
|
|
99
|
-
# Patterns to remove when running `make clean`
|
|
101
|
+
# Patterns to remove when running `make clean`
|
|
100
102
|
patterns = [
|
|
103
|
+
"**/__pycache__",
|
|
101
104
|
".hypothesis",
|
|
102
105
|
".import_linter_cache",
|
|
103
106
|
".pytest_cache",
|
|
@@ -147,4 +150,4 @@ layers = [
|
|
|
147
150
|
# PYSEC-2022-43012: fixed in 65.5.1
|
|
148
151
|
# PYSEC-2025-49: fixed in 78.1.1
|
|
149
152
|
# CVE-2024-6345: fixed in 70.0.0
|
|
150
|
-
ignore-vulns = ["GHSA-4xh5-x5gv-qwph", "PYSEC-2022-42969", "PYSEC-2022-43012", "PYSEC-2025-49", "CVE-2024-6345","CVE-2026-1703","CVE-2026-26007"]
|
|
153
|
+
ignore-vulns = ["GHSA-4xh5-x5gv-qwph", "PYSEC-2022-42969", "PYSEC-2022-43012", "PYSEC-2025-49", "CVE-2024-6345","CVE-2026-1703","CVE-2026-26007","CVE-2026-4539","CVE-2026-25990","CVE-2025-8869","CVE-2026-25645"]
|
|
@@ -24,7 +24,7 @@ name = "keep_github_workflows_active"
|
|
|
24
24
|
#: Human-readable summary shown in CLI help output.
|
|
25
25
|
title = "Template for python apps with registered cli commands"
|
|
26
26
|
#: Current release version pulled from ``pyproject.toml`` by automation.
|
|
27
|
-
version = "2.1.
|
|
27
|
+
version = "2.1.5"
|
|
28
28
|
#: Repository homepage presented to users.
|
|
29
29
|
homepage = "https://github.com/bitranox/keep_github_workflows_active"
|
|
30
30
|
#: Author attribution surfaced in CLI output.
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
set -euo pipefail
|
|
4
|
-
|
|
5
|
-
echo "Preparing to squash repository history..."
|
|
6
|
-
|
|
7
|
-
if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
|
8
|
-
echo "Error: run this script inside a Git repository." >&2
|
|
9
|
-
exit 1
|
|
10
|
-
fi
|
|
11
|
-
|
|
12
|
-
current_branch="$(git symbolic-ref --short HEAD 2>/dev/null || true)"
|
|
13
|
-
if [[ -z "$current_branch" ]]; then
|
|
14
|
-
echo "Error: could not determine current branch. Check out a branch and retry." >&2
|
|
15
|
-
exit 1
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
# Snapshot tracked changes, keeping untracked files untouched.
|
|
19
|
-
# Drop tracked IntelliJ configuration from the index but leave files locally.
|
|
20
|
-
git rm -r --cached .idea >/dev/null 2>&1 || true
|
|
21
|
-
|
|
22
|
-
if git status --porcelain | grep -v '^??' >/dev/null 2>&1; then
|
|
23
|
-
echo "Committing tracked changes..."
|
|
24
|
-
git add -u
|
|
25
|
-
git commit -m "chore: checkpoint before history reset"
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
# Ensure the working tree is clean before rewriting history.
|
|
29
|
-
if ! git diff --quiet || ! git diff --cached --quiet; then
|
|
30
|
-
echo "Error: working tree is not clean after checkpoint commit. Aborting." >&2
|
|
31
|
-
exit 1
|
|
32
|
-
fi
|
|
33
|
-
|
|
34
|
-
# shellcheck disable=SC1083
|
|
35
|
-
tree_sha="$(git rev-parse "HEAD^{tree}")"
|
|
36
|
-
reset_message="chore: reset history"
|
|
37
|
-
new_commit="$(git commit-tree "$tree_sha" -m "$reset_message")"
|
|
38
|
-
git reset --hard "$new_commit"
|
|
39
|
-
|
|
40
|
-
remote="${1:-}"
|
|
41
|
-
if [[ -z "$remote" ]]; then
|
|
42
|
-
remote="$(git remote | head -n1 || true)"
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
if [[ -n "$remote" ]]; then
|
|
46
|
-
# Ensure any reintroduced IntelliJ files are untracked before the force push.
|
|
47
|
-
git rm -r --cached .idea >/dev/null 2>&1 || true
|
|
48
|
-
|
|
49
|
-
echo "Force pushing rewritten history to remote '$remote'..."
|
|
50
|
-
git push --force "$remote" "$current_branch"
|
|
51
|
-
else
|
|
52
|
-
echo "No remote configured. Local history rewritten only."
|
|
53
|
-
fi
|
|
54
|
-
|
|
55
|
-
echo "History reset complete. Untracked files were left untouched."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/.github/dependabot.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/notebooks/Quickstart.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_behaviors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_metadata.py
RENAMED
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_module_entry.py
RENAMED
|
File without changes
|
{keep_github_workflows_active-2.1.4 → keep_github_workflows_active-2.1.5}/tests/test_sanitization.py
RENAMED
|
File without changes
|