From 388d8d5f8772d0659bf6219cc11ae8a91e8294d4 Mon Sep 17 00:00:00 2001 From: Clemens Rabe Date: Tue, 30 Jun 2026 21:07:54 +0200 Subject: [PATCH 1/3] feature: New release v1.0.34 --- CHANGELOG.md | 8 +++++--- README.md | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8039fc..be77f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,12 @@ ## Upcoming version -- Feature: Add optional detail and summary log files controlled by `GITCACHE_DETAIL_LOG` and `GITCACHE_SUMMARY_LOG` for CI-friendly invocation tracing. -- Feature: Add environment variable `GITCACHE_DISABLE` to disable gitcache wrapping and always forward commands to the real `git` executable (`1`, `true`, `yes`, `on`). Useful for CI environments to externally disable gitcache e.g. by setting a global variable. +## v1.0.34 + +- Feature: Add optional detail and summary log files controlled by `GITCACHE_DETAIL_LOG` and `GITCACHE_SUMMARY_LOG` for CI-friendly invocation tracing. (thanks to ditschi) +- Feature: Add environment variable `GITCACHE_DISABLE` to disable gitcache wrapping and always forward commands to the real `git` executable (`1`, `true`, `yes`, `on`). Useful for CI environments to externally disable gitcache e.g. by setting a global variable. (thanks to ditschi) - Bugfix: Normalize explicit `lfs.url` for HTTP(S)/FTP(S) remotes to the canonical `.git/info/lfs` endpoint. - This fixes broken LFS auth flows when clone URLs omit `.git` (seen on GHES) while keeping SSH/SCP/file-style remotes unchanged. + This fixes broken LFS auth flows when clone URLs omit `.git` (seen on GHES) while keeping SSH/SCP/file-style remotes unchanged. (thanks to ditschi) ## v1.0.33 diff --git a/README.md b/README.md index 3185423..36bc688 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,8 @@ gitcache is distributed as a single executable packaged using [pyInstaller]. So all you have to do is to download the latest executable and copy it to a location of your choice, for example `~/bin`: - wget https://github.com/seeraven/gitcache/releases/download/v1.0.33/gitcache_v1.0.33_Ubuntu22.04_x86_64 - mv gitcache_v1.0.33_Ubuntu22.04_x86_64 ~/bin/gitcache + wget https://github.com/seeraven/gitcache/releases/download/v1.0.34/gitcache_v1.0.34_Ubuntu22.04_x86_64 + mv gitcache_v1.0.34_Ubuntu22.04_x86_64 ~/bin/gitcache chmod +x ~/bin/gitcache gitcache can be used as a stand-alone command, but it is much easier to use @@ -115,9 +115,9 @@ gitcache is distributed as a tar-ball (`*.tgz` file). Download the archive and extract it at your desired target location (the archive contains a subfolder): cd /my/target/destination - tar xfz gitcache_v1.0.33_Darwin_arm64.tgz - xattr -cr gitcache_v1.0.33_Darwin_arm64 - ls gitcache_v1.0.33_Darwin_arm64 + tar xfz gitcache_v1.0.34_Darwin_arm64.tgz + xattr -cr gitcache_v1.0.34_Darwin_arm64 + ls gitcache_v1.0.34_Darwin_arm64 To use the `gitcache` command, the final installation directory should be put into your `PATH` variable. To use it as a wrapper to the `git` command, you @@ -399,7 +399,7 @@ is pushed to the repository. This changes the release process a little bit: `src/git_cache/git_cache_command.py` and `doc/source/installation.rst` and replace the version number: - sed -i 's/1.0.33/1.0.34/g' Makefile pyproject.toml src/git_cache/git_cache_command.py doc/source/installation.rst + sed -i 's/1.0.34/1.0.35/g' Makefile pyproject.toml src/git_cache/git_cache_command.py doc/source/installation.rst ## Notes on Building a Pip-Package From 181149971bb85effb6649314ee6fe3e4786b04d0 Mon Sep 17 00:00:00 2001 From: Clemens Rabe Date: Tue, 30 Jun 2026 21:44:57 +0200 Subject: [PATCH 2/3] bugfix: Fix github release pipelines. --- .github/workflows/create_release.yaml | 3 +++ .github/workflows/on_push.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml index b6d8e8f..640703b 100644 --- a/.github/workflows/create_release.yaml +++ b/.github/workflows/create_release.yaml @@ -11,6 +11,9 @@ on: push: tags: 'v*' +env: + IN_GITHUB_ACTION: 1 + jobs: build-wheel: runs-on: ubuntu-latest diff --git a/.github/workflows/on_push.yaml b/.github/workflows/on_push.yaml index c6293d9..a54eb56 100644 --- a/.github/workflows/on_push.yaml +++ b/.github/workflows/on_push.yaml @@ -5,6 +5,9 @@ permissions: on: [push] +env: + IN_GITHUB_ACTION: 1 + # A list of available runners is available on # https://docs.github.com/de/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners From 9201a21446b3773e760d16beb8f6456e8bff20dd Mon Sep 17 00:00:00 2001 From: Clemens Rabe Date: Tue, 30 Jun 2026 22:02:08 +0200 Subject: [PATCH 3/3] feature: Prepare for next release. --- Makefile | 2 +- doc/source/installation.rst | 4 ++-- pyproject.toml | 2 +- src/git_cache/git_cache_command.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a08ae10..d007c39 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # SETTINGS # ---------------------------------------------------------------------------- APP_NAME := gitcache -APP_VERSION := 1.0.34 +APP_VERSION := 1.0.35 ALL_TARGET := check-style.venv SCRIPT := src/gitcache diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 2cd8910..a8db022 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -14,8 +14,8 @@ So all you have to do is to download the latest executable from the release page |release_url| and copy it to a location of your choice, for example :code:`/usr/local/bin`. - $ wget https://github.com/seeraven/gitcache/releases/download/v1.0.34/gitcache_v1.0.34_Ubuntu22.04_amd64 - $ mv gitcache_v1.0.34_Ubuntu22.04_amd64 /usr/local/bin/gitcache + $ wget https://github.com/seeraven/gitcache/releases/download/v1.0.35/gitcache_v1.0.35_Ubuntu22.04_amd64 + $ mv gitcache_v1.0.35_Ubuntu22.04_amd64 /usr/local/bin/gitcache $ chmod +x /usr/local/bin/gitcache $ ln -s /usr/local/bin/gitcache /usr/local/bin/git diff --git a/pyproject.toml b/pyproject.toml index aefe0b5..fe4b625 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = 'setuptools.build_meta' [project] name = "gitcache" -version = "1.0.34" +version = "1.0.35" authors = [{name = "Clemens Rabe", email = "clemens.rabe@clemensrabe.de"}] description = "Local cache for git repositories to speed up working with large repositories and multiple clones." readme = "README.md" diff --git a/src/git_cache/git_cache_command.py b/src/git_cache/git_cache_command.py index c0761a4..62fec58 100644 --- a/src/git_cache/git_cache_command.py +++ b/src/git_cache/git_cache_command.py @@ -53,7 +53,7 @@ it acts as a wrapper for the git command and intercepts the commands required for the mirror handling. """ -GITCACHE_VERSION = "1.0.34" +GITCACHE_VERSION = "1.0.35" # -----------------------------------------------------------------------------