Re: [RFC PATCH] Use script to test build configurations

Alejandro Colomar via Mutt-dev <[email protected]> Sun, 31 May 2026 18:06:44 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <ahxcH-YdXs3wsIjo@devuan>
Hi Kevin,

On 2026-05-31T15:57:30+0800, Kevin J. McCarthy wrote:
> On Sun, May 31, 2026 at 07:57:43AM +0200, Rene Kita wrote:
> > I implemented this for w3m a few days ago and was wondering if this
> > might be of interest for mutt. The idea is that all build configurations
> > live in a shell script rather then being split over multiple build
> > manifests. This allows to test all configurations locally by just
> > calling the script. It also avoid having to write the same config over
> > and over again for every manifest.
> 
> This sounds reasonable.
> 
> > Note that this currently breaks the CI as I found out, that the
> > 'original' task was different depending on the image we were building
> > on. E.g. on Alpine we use --with-sasl while on OpenBSD we used
> > --without-sasl.
> 
> Is this something you need help resolving? i.e., Do we just need to
> update the required packages, or is there a bug to resolve?
> 
> > Please bikeshed the script name 'build' and if it should be placed in
> > the root directory. I kept the name from w3m, but there it is placed
> > in the test directory which makes it more obvious what the intend is.
> 
> :D.  I don't want to dictate, since you've put the effort in.  My only
> comment is that "build" sounds like something an ordinary user might try
> running after checking out the git repos.  So I would vote for moving the
> script somewhere (under .builds if that is legal), and/or renaming it to
> something less tempting to run, such as ci-build.

I would like to avoid hidden dirs.  Could we use something like
scripts/?


Have a lovely day!
Alex

> 
> > If there is interest I will continue to fix the build problems and unify
> > the build configurations.
> 
> Absolutely, from my point of view.  I appreciate your work on this!
> 
> -- 
> Kevin J. McCarthy
> GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA



-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmocXI4ACgkQ64mZXMKQ
wqmRng/8DFYcRC7SU2Be2nVP3Y/BXXh2ncLGHgx4PgUHO3PECB7tcOQx/x8BGsyh
i+NJaav0ghNXkpAhT8Plf+DTs6FVse+EhUwNRFfPJsvepgUeA5VhBPeqq2SRBJdR
Z0Q11N4FKXTVkS/sMXs7k2ZOiCagRklxfirgSq0p84ixUyEEOEzKu/Wi7+KVE071
y1xbfk4zShkOIqG2p60c7RwUB4ZLhvdn/UAr0vp1yvHzBiSMSnPO4blRf+WJjDIF
iASVSmdkvmio3IXrpldzBaW3cEmHCSxlIwBA+StSPYbNaIf+dGepRFGSF/et8x/u
LSlWr/tdyTkFFH4AocHyOnVpZLkytr6XJPZ3c/8e0P2Q4WpZc7G8bs+oPLTd48zI
HdxV+YvfuCrFygBFFdE8ILlsqH6bEZX/JsLosfNNae2xa6itdrLk+CMMZXootH0w
lqEE1ovJUPriY1WvHME31+uYvoekJeuD8ZqQwsaQJcFiWbkdhpWFTfs/OibYnwhE
yhcVKy5iuQR8sPDvZfDifFQnaEOMqcPh0n+a1yMcLREaALIFOYL0Wxi9Tn5N+PfV
wCF/B88o8E4HitlbB4d5kQNwPbQZqnxWC+80oWtl4kgNr/RYyqhTnZABVkNK+s71
g8QWHGL7mTvzj40j34hJh3C5bPBpNe/VDU6JyXJ6udB+7nOGgIA=
=Td2H
-----END PGP SIGNATURE-----