Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
push:
tags: 'v*'

env:
IN_GITHUB_ACTION: 1

jobs:
build-wheel:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<repo>.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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/git_cache/git_cache_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


# -----------------------------------------------------------------------------
Expand Down
Loading