Vinyl Cache in Debian

Dridi Boukelmoune dridi at varni.sh
Mon Jun 8 14:28:41 UTC 2026


On Mon, Jun 8, 2026 at 2:18 PM Marco d'Itri <md at linux.it> wrote:
>
> For those who missed the discussions online: Vinyl Cache is not yet in
> the Debian archive proper because the current git tree of Vinyl Cache is
> incompatible with modern Debian packaging workflows since it uses
> a submodule for vtest2.
>
> Possible solutions are:
> a) use a git subtree[1] instead of a submodule

A drawback listed in the article:

> The responsibility of not mixing super and sub-project code in commits lies with you.

It's probably possible to add guard rails with hooks, with at least a
commit hook on the client side.

After a cursory glance, git-subtree looks like a better compromise
than git-submodule.

> b) just incorporate vtest2 again in the Vinyl Cache tree
> c) package vtest2 in Debian as a source-only package
> d) have proper vtest2 upstream releases with a stable ABI, which
>     vinyl-cache and haproxy can build-depend on
>
> I would like some feedback from the maintainers about what they expect
> to do about this, if anything, and when.
> If this will be solved upstream "soon" then maybe I can just make the
> package skip the tests for a while.
>
> Lacking progress on options a or b, then I will have to try option
> c. It would be easy for me but suboptimal, because I fear that sooner or
> later haproxy will want to use a different version of vtest2).
>
> The current situation is:
> - Debian/unstable has Varnish 7.7.3, which I will not update to 8.x
> - Debian/experimental has Vinyl Cache 9.0.1, with tests disabled
> - I tested in the Debian CI infrastructure a branch[2] of Vinyl Cache
>    with vtest2 added back as a patch and it builds
>
> So I am confident that once the vtest2 solution will be solved I will be
> able to immediately upload Vinyl Cache to Debian/unstable (and then
> hopefully make a backport to Debian/stable).
>
>
> [1] https://www.atlassian.com/git/tutorials/git-subtree
> [2] https://salsa.debian.org/varnish-team/vinyl-cache/-/tree/debian/experimental+vtest2
>
> --
> ciao,
> Marco
> _______________________________________________
> vinyl-dev mailing list
> vinyl-dev at vinyl-cache.org
> https://vinyl-cache.org/lists/mailman/listinfo/vinyl-dev


More information about the vinyl-dev mailing list