22 Commits

Author SHA1 Message Date
renovate-bot 1b0b007bf1 Update debian Docker tag to trixie-20260713 (#6012)
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| debian | stage | patch | `trixie-20260623` → `13` |

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjkuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #6012
Reviewed-by: delliott <420+delliott@fsfe.org>
Co-authored-by: Renovate Bot <admin@fsfe.org>
Co-committed-by: Renovate Bot <admin@fsfe.org>
2026-07-21 09:36:29 +00:00
renovate-bot d73a66b76c Update debian Docker tag to trixie-20260623 (#5965)
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| debian | stage | patch | `trixie-20260610` → `trixie-20260623` |

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #5965
Co-authored-by: Renovate Bot <admin@fsfe.org>
Co-committed-by: Renovate Bot <admin@fsfe.org>
2026-06-29 04:42:40 +00:00
renovate-bot 0dd1588dc8 Update debian Docker tag to trixie-20260610 (#5926)
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| debian | stage | patch | `trixie-20260518` → `trixie-20260610` |

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjIuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIyMi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #5926
Co-authored-by: Renovate Bot <admin@fsfe.org>
Co-committed-by: Renovate Bot <admin@fsfe.org>
2026-06-15 08:20:03 +00:00
renovate-bot e23a634b2b Update debian Docker tag to trixie-20260518 (#5922)
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| debian | stage | patch | `trixie-20260316` → `trixie-20260518` | `trixie-20260610` |

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #5922
Co-authored-by: Renovate Bot <admin@fsfe.org>
Co-committed-by: Renovate Bot <admin@fsfe.org>
2026-06-12 04:30:20 +00:00
delliott bb71af1288 feat: optionally play notification+sound on completion (#5657)
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
dependency not installed by default, very opt in

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5657
Reviewed-by: tobiasd <tobiasd@fsfe.org>
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2026-04-14 12:18:18 +00:00
renovate-bot 2fc17bcf08 Update debian Docker tag to trixie-20260316 (#5763)
continuous-integration/drone/push Build is failing
2026-03-20 00:16:09 +00:00
delliott 6e595e8b60 fix: install file in precommit (#5730)
continuous-integration/drone/push Build is passing
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5730
2026-02-26 13:06:19 +00:00
delliott baf96e4d11 feat/python-checks (#5651)
continuous-integration/drone/push Build is passing
port the bash precommit hooks to python in a nice extensible way.

It should have feature parity and be much easier to read and maintain. It also allows for reducing the number of dependencies in the pre commit docker image.

I have tested that the checks can both pass and fail correctly, but it is somewhat possible there might be some edge cases and bugs I have missed. So for a short while after merging if failing ci look at it a little more carefully, in case the checks need some tuning.

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5651
Reviewed-by: tobiasd <tobiasd@fsfe.org>
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2026-02-26 12:40:54 +00:00
fkobi 2a96a13fb8 pre-commit.Dockerfile: add all files in a single COPY (#5562)
continuous-integration/drone/push Build is passing
also removed comment as it is no longer relevant

Signed-off-by: Filip Kobierski <fkobi@fsfe.org>

I recommend side-by-side diff for reviewing the changes

Reviewed-on: #5562
Reviewed-by: delliott <delliott@fsfe.org>
Co-authored-by: Filip Kobierski <fkobi@fsfe.org>
Co-committed-by: Filip Kobierski <fkobi@fsfe.org>
2025-12-16 18:38:12 +00:00
fkobi 462a7f78a2 pre-commit.Dockerfile: do not specify a shell in the entrypoint
Signed-off-by: Filip Kobierski <fkobi@fsfe.org>
2025-12-15 10:37:41 +01:00
fkobi d7f5faf3e5 pre-commit.Dockerfile: remove explicit :latest tag (#5561)
continuous-integration/drone/push Build is passing
it's implicit and without it it's easier to read

Reviewed-on: #5561
Reviewed-by: delliott <delliott@fsfe.org>
Co-authored-by: Filip Kobierski <fkobi@fsfe.org>
Co-committed-by: Filip Kobierski <fkobi@fsfe.org>
2025-12-14 12:00:59 +00:00
fkobi 09b117d306 Migrate pre-commit.entrypoint.sh to POSIX sh (#5540)
continuous-integration/drone/push Build is passing
The script was basically posix with a bashism.
POSIX sh is lighter and thus better.

Reviewed-on: #5540
Reviewed-by: delliott <delliott@fsfe.org>
2025-12-11 09:06:57 +00:00
tobiasd b1e2458b71 remove trailing whitespaces
continuous-integration/drone/push Build is passing
initially removed by fkobi in #5547
2025-12-05 06:33:47 +01:00
fkobi 5605a7853b pre-commit.Dockerfile: do not reinstall essential packages (#5545)
continuous-integration/drone/push Build is passing
Gentoo calls them @system, Debian calls them essential.
These provide the basic system functionality and it can be assumed that they are always present.

Removing them from here keeps the dockerfile cleaner & the build process faster.

I've left perl-base in there as it's pretty heavy and Gentoo and Alpine do not install it by default

Signed-off-by: Filip Kobierski <fkobi@fsfe.org>

Reviewed-on: #5545
Reviewed-by: delliott <delliott@fsfe.org>
Co-authored-by: Filip Kobierski <fkobi@fsfe.org>
Co-committed-by: Filip Kobierski <fkobi@fsfe.org>
2025-12-04 16:08:48 +00:00
delliott fdbc88a850 fix/caching (#5494)
continuous-integration/drone/push Build is passing
fix some stuff not being cached, and add test to catch caching regressions.

Test takes quite a while to run, not sure it is a good idea?

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5494
2025-11-13 18:13:59 +00:00
delliott b9caf021a4 fix/paragraphs (#5431)
continuous-integration/drone/push Build is passing
Currently implements both a format hook to remove white-space paragraphs, and a check to make their existence a critical failure.

In the end may implement only one or none of these, subject to major design changes.

Solves #5409

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5431
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-10-30 12:34:42 +00:00
delliott 072130a077 feat/caching (#5333)
continuous-integration/drone/push Build is passing
Enable the building and pushing of docker containers on master, and then using them as a cache base in prs.

This should massively reduce the build times, and the load we are placing on other projects servers.

Depends on #5330

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5333
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-10-08 13:30:56 +00:00
delliott 9adbac5f6c feat: mount source code instead of copying into images (#5330)
continuous-integration/drone/push Build is passing
This should mean we can used cached docker images properly in future.

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5330
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-10-08 11:27:30 +00:00
delliott b390c5472e feat/php-linter (#5321)
continuous-integration/drone/push Build is passing
At least helps with #5297

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5321
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-09-24 18:13:46 +00:00
delliott c4074733ca ci: use at least a pinned major debian version, so we do not get caugt by silnet major version changes (#5290)
continuous-integration/drone/push Build is passing
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5290
2025-09-03 15:33:36 +00:00
delliott f04655b113 build: streamline and update python deps (#5264)
continuous-integration/drone/push Build is passing
- Update deps to latest versions
- stop using tight constraints and instead just use loose ones and commit the uv lockfile
- Greater reproducibility, and much easier to bump deps in future.

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5264
2025-08-29 12:16:12 +00:00
delliott 1a05dee2f6 build: use lefthook for pre-commit (#5248)
continuous-integration/drone/push Build is passing
update docs
update nix-shell to auto install
rework custom pre-commit hooks to integrate better
add dockerfile for lefthook and integrate into drone
add some more hooks for formatting and linting some files

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5248
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-08-27 15:22:06 +00:00