6 Commits

Author SHA1 Message Date
argoyle 6fe0371ec6 Merge branch 'next-release' into 'main'
chore(release): prepare for v0.3.9

See merge request unboundsoftware/pre-commit!104
2025-12-03 08:23:29 +01:00
Unbound Release 396ec8da30 chore(release): prepare for v0.3.9 2025-12-03 08:23:29 +01:00
argoyle 2dcf213eed Merge branch 'fix-libffi-package-dockerfile' into 'main'
fix: update libffi package in Dockerfile installation

See merge request unboundsoftware/pre-commit!102
2025-12-03 08:17:14 +01:00
argoyle 3838746a11 Merge branch 'add-CLAUDE-md-documentation' into 'main'
docs: add CLAUDE.md for project guidance and setup

See merge request unboundsoftware/pre-commit!103
2025-12-03 08:16:20 +01:00
argoyle ade32112cc docs: add CLAUDE.md for project guidance and setup
Add CLAUDE.md to provide detailed guidance for using the 
repository. Include project overview, build commands, release 
process, and conventional commits. This enhances documentation 
and aids developers in understanding and contributing to the 
project efficiently.
2025-12-03 08:15:10 +01:00
argoyle d3a799e614 fix: update libffi package in Dockerfile installation
Update the Dockerfile to install the correct version of the libffi package 
from libffi8 to libffi-dev. This change resolves compatibility issues during 
the build process and ensures that all necessary dependencies for the 
Docker image are correctly configured.
2025-12-03 08:14:46 +01:00
4 changed files with 42 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
{"version":"v0.3.8"} {"version":"v0.3.9"}
+10
View File
@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.3.9] - 2025-12-03
### 🐛 Bug Fixes
- Update libffi package in Dockerfile installation
### 📚 Documentation
- Add CLAUDE.md for project guidance and setup
## [0.3.8] - 2025-12-03 ## [0.3.8] - 2025-12-03
### 🐛 Bug Fixes ### 🐛 Bug Fixes
+30
View File
@@ -0,0 +1,30 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
This repository builds a Docker image for running pre-commit hooks in CI/CD pipelines. The image is based on Go and includes Python (via pipx), Ruby, and common development tools like goimports and go-pre-commit.
## Build Commands
The project uses GitLab CI with custom templates:
- Build and push are handled by the `build` and `push` commands from the `buildtool/build-tools` image
- No local Makefile; builds run in CI pipeline
## Release Process
Releases use git-cliff for changelog generation:
```bash
git cliff -o CHANGELOG.md
```
Version is stored in `.version` as JSON: `{"version":"vX.Y.Z"}`
## Conventional Commits
This project uses conventional commits. Commit types:
- `feat`: New features
- `fix`: Bug fixes
- `chore`: Maintenance tasks (deps, CI)
- `docs`, `perf`, `refactor`, `style`, `test`: As standard
+1 -1
View File
@@ -3,7 +3,7 @@ FROM amd64/golang:1.25.5@sha256:ff44d519dbd3f622224d3433f319ae0b046abe081dda5b3d
ENV PATH=${PATH}:/root/.local/bin ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \ RUN apt update && \
apt install -y python3 python3-pip ruby ruby-dev git pipx libffi8 && \ apt install -y python3 python3-pip ruby ruby-dev git pipx libffi-dev && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
go install github.com/lietu/go-pre-commit@latest && \ go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \ go install golang.org/x/tools/cmd/goimports@latest && \