1
0
mirror of https://github.com/j178/prek.git synced 2026-04-03 17:34:03 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Jo
05bf37389d Make sure uv pip install uses the Python from virtualenv (#1108) 2025-11-18 16:17:45 +08:00
Jo
8292d951b8 Prepare for publishing to crates.io (#1088)
* Add descriptions for crates

* Add version

# Conflicts:
#	Cargo.toml

* Add action

* Fix
2025-11-16 17:36:51 +08:00
Jo
0dd2fcc9b2 Replace serde-yaml with serde_saphyr (#1087)
* .

# Conflicts:
#	Cargo.lock
#	Cargo.toml

* .

* .

* Replace `serde-yaml` with `serde_saphyr`

* Fix sanps

* Fix snaps
2025-11-16 15:58:39 +08:00
Jo
7b608841b0 Mention PREK_CONTAINER_RUNTIME in diff.md (#1043) 2025-11-07 17:24:15 +08:00
Steven Taylor
b957e17dd1 Support PREK_CONTAINER_RUNTIME=podman to override container runtime (#1033)
* feat: container runtime selection

use both docker and podman runtimes

1. if only docker on path use docker runtime
2. if only podman on path use podman runtime
3. to specify runtime use PREK_CONTAINER_RUNTIME

Signed-off-by: Steven Taylor <steven@taylormuff.co.uk>

* Tweak detection

---------

Signed-off-by: Steven Taylor <steven@taylormuff.co.uk>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-11-07 17:12:35 +08:00
Jo
e62fffb256 Minor tweaks for parse_boolish (#1035) 2025-11-04 12:25:16 +08:00
Steven Taylor
e4334198f3 Move parse_boolish to EnvVars (#1030)
refactor parse boolish, moved into env_vars and additional convenience
method to read env var and treat as bool

Signed-off-by: Steven Taylor <steven@taylormuff.co.uk>
2025-11-04 03:21:18 +08:00
Copilot
011a0b3ff1 Rename crate lib/constants to crates/prek-consts and rename lib to crates (#1026)
* Initial plan

* Rename crate lib/constants to lib/prek-consts and fix all references

Co-authored-by: j178 <10510431+j178@users.noreply.github.com>

* Rename lib directory to crates and update all references

Co-authored-by: j178 <10510431+j178@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: j178 <10510431+j178@users.noreply.github.com>
2025-11-03 23:16:58 +08:00