Skip to content

[stable-9.1] drop the enable_vips build flag - #3985

Merged
v-scharf merged 1 commit into
stable-9.1from
backport/stable-9.1/drop-enable-vips
Nov 13, 2026
Merged

v-scharf merged 1 commit into
stable-9.1from
backport/stable-9.1/drop-enable-vips

Conversation

@v-scharf

@v-scharf v-scharf commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #3925 to stable-9.1.

The thumbnails service now always resizes in pure Go. Deployments that
want more formats, webp output or an attention crop run a real imagor
and point WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in service
stays as a minimal fallback that keeps working when imagor or libvips
have to be taken out, for example during a security issue.

Without cgo dependencies the docker images link statically again and no
longer need the vips packages. The vips parity run in CI goes away, the
regular test run already covers the pure Go build.

The preview fixtures of the acceptance tests were rendered by libvips,
so they are regenerated with the pure Go build. Text previews now lose
their left edge: the 640x480 text canvas is filled into a square box
and the pure Go build crops the centre, where libvips' attention crop
kept the left side with the text.

part of #3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 0d969c3)
@v-scharf v-scharf added Type:Maintenance E.g. technical debt, packaging, etc. Status:Needs-Review labels Nov 13, 2026
@v-scharf v-scharf self-assigned this Nov 13, 2026
@v-scharf
v-scharf requested a review from butonic November 13, 2026 11:45
@codacy-production

codacy-production Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

🟢 Coverage 100.00% diff coverage · -0.02% coverage variation

Metric Results
Coverage variation ✅ -0.02% coverage variation (-1.00%)
Diff coverage ✅ 100.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (58561d7) 93692 27125 28.95%
Head commit (d3124c5) 93691 (-1) 27110 (-15) 28.94% (-0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3985) 3 3 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@v-scharf
v-scharf requested a review from aduffeck November 13, 2026 11:45
@v-scharf
v-scharf requested a review from micbar November 13, 2026 12:14
@v-scharf
v-scharf enabled auto-merge (squash) November 13, 2026 12:16
@v-scharf
v-scharf merged commit 4200d52 into stable-9.1 Nov 13, 2026
62 checks passed
@v-scharf
v-scharf deleted the backport/stable-9.1/drop-enable-vips branch November 13, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status:Needs-Review Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants