From 78ef0bd3185853b9e103b3e15b958d59ed41fc41 Mon Sep 17 00:00:00 2001 From: USER_NAME Date: Sun, 19 Jul 2026 11:56:13 +0200 Subject: [PATCH] revision and optmizations --- .github/workflows/manual.yml | 6 +- .github/workflows/schedule.yml | 6 +- AGENTS.md | 137 ------------------ core/shells/bash/.bash_profile | 1 + core/shells/bash/.bashrc | 1 + core/shells/bash/aliases/.aliases | 131 +++++------------ core/shells/bash/profiles/.appearance | 1 + core/shells/bash/profiles/.completion | 1 + core/shells/bash/profiles/.git-configs | 1 + core/shells/bash/profiles/.history | 1 + core/shells/bash/profiles/.path | 1 + core/shells/bash/profiles/.pwsh | 1 + core/shells/bash/profiles/.software | 1 + modules/AGENTS.md | 68 --------- modules/docker/alpine/alpine.bash | 4 +- modules/docker/dock/dockpush.bash | 18 --- modules/docker/dock/dockpush_k8s.bash | 18 --- modules/docker/dock/dockrm.bash | 6 +- .../docker/jira-software/jira-software.bash | 4 +- modules/docker/maven/maven.bash | 4 +- modules/docker/mongodb/mongodb.bash | 4 +- modules/docker/mysql5/mysql5.bash | 4 +- modules/docker/mysql8/mysql8.bash | 4 +- modules/docker/nexus/nexus.bash | 4 +- modules/docker/nginx/nginx.bash | 4 +- modules/docker/nodejs/nodejs.bash | 4 +- modules/docker/tomcat9/tomcat9.bash | 4 +- modules/docker/vtiger/entrypoint.bash | 2 + modules/help/docker/docker.bash | 2 +- modules/john/dictionary/dictionary.bash | 2 +- modules/john/dictionary/functions.bash | 14 +- modules/john/unshadow/unshadow.bash | 2 +- modules/john/zip/functions.bash | 2 +- modules/john/zip/zip.bash | 2 +- .../utils/git/repo-undo-local-changes.bash | 2 +- modules/yt-dlp/yt-dlp.bash | 2 +- tests/validate.bash | 58 +++++++- 37 files changed, 141 insertions(+), 386 deletions(-) delete mode 100644 AGENTS.md delete mode 100644 modules/AGENTS.md delete mode 100644 modules/docker/dock/dockpush.bash delete mode 100644 modules/docker/dock/dockpush_k8s.bash diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index e68d9d7..a650aa4 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index bb28a2a..1fbff8e 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 # Ensure the code is checked out + uses: actions/checkout@v4 # Ensure the code is checked out # Docker login step - name: Log in to Docker Hub diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 6ec5f41..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,137 +0,0 @@ -# myshell — agent guide (repo root) - -myshell is a personal bash framework: a `.bashrc` loader that sources functions, aliases -and profiles from this repo, plus self-contained "modules" (mostly docker compose stacks) -launched through aliases. Everything is bash; there is no build step. - -**Before editing under `core/shells/bash/`, read `core/shells/bash/AGENTS.md`. -Before editing under `modules/`, read `modules/AGENTS.md`.** - -## How the framework loads (the one chain that explains everything) - -``` -~/.bash_profile (machine file, NOT in repo) - └─ exports project_path=$HOME/Documents/myshell - └─ sources core/shells/bash/.bashrc, which: - 1. runs core/shells/bash/jobs/public_ip.bash in background - 2. sources core/shells/bash/functions/*.bash (explicit if-blocks, one per file) - 3. sources EVERY file in core/shells/bash/aliases/ (glob loop) - 4. sources core/shells/bash/profiles/.* (explicit if-blocks, one per file) -``` - -Module scripts are executed as `bash