Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

-x workdir#4444

Open
gquintard wants to merge 3 commits intovarnishcache:masterfrom
gquintard:x_workdir
Open

-x workdir#4444
gquintard wants to merge 3 commits intovarnishcache:masterfrom
gquintard:x_workdir

Conversation

@gquintard
Copy link
Member

Non-C VSM readers need to be able to discover the default workdir. This introduces a new -x workdir argument to do just that.

Non-C VSM readers need to be able to discover the default workdir. This
introduces a new `-x workdir` argument to do just that.
@bsdphk
Copy link
Contributor

bsdphk commented Feb 9, 2026

To me it feels wrong to launch varnishd for this, and I think it would much more sense to let varnishadm grow a "-x workdir" option ?

@gquintard
Copy link
Member Author

gquintard commented Feb 9, 2026

varnishd already has a -x argument for default values, it felt natural to extend it, but I don't have a strong opinion.

I'll draft this PR and come back with a change in varnishadm

@gquintard gquintard marked this pull request as draft February 9, 2026 18:43
gquintard and others added 2 commits February 9, 2026 16:28
Non-C VSM readers need to be able to discover the default workdir. This
introduces a new `-x workdir` argument to do just that.

Co-authored-by: GitHub Copilot <copilot@github.com>
@gquintard gquintard marked this pull request as ready for review February 10, 2026 15:30
@gquintard
Copy link
Member Author

gquintard commented Feb 10, 2026

reverted the first commit to avoid force-pushing, so 1bc39af is the meat of it

Just to stir the pot, I did ask copilot to write the code as a test and it's in the commit message for transparency, but the bag of mostly water here has reviewed and heavily edited what was produced

@gquintard gquintard marked this pull request as draft February 10, 2026 15:36
@gquintard gquintard marked this pull request as ready for review February 10, 2026 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants