Re: [RFC PATCH] Use script to test build configurations
Alejandro Colomar via Mutt-dev <[email protected]> Mon, 1 Jun 2026 11:35:06 +0200
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <ah1R7aI3bMvM2ggR@devuan> |
Hi Rene, Kevin, On 2026-06-01T06:46:47+0200, Rene Kita wrote: > On Mon, Jun 01, 2026 at 08:39:13AM +0800, Kevin J. McCarthy wrote: > > On Sun, May 31, 2026 at 06:06:44PM +0200, Alejandro Colomar via Mutt-dev wrote: > > > On 2026-05-31T15:57:30+0800, Kevin J. McCarthy wrote: > > > > On Sun, May 31, 2026 at 07:57:43AM +0200, Rene Kita wrote: > > > > > 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/? > > > > The .builds directory is dictated by the sr.ht CI system. (Rene, please > > correct me if I'm wrong). Since we have the .yml files there already, it > > didn't seem too odd to have the "build" script which they all use there too. > > It's dictated, indeed. I also did think a bit about this while I > couldn't sleep and I'm also not really happy with using .builds/build. > On the one hand it makes totally sense to have it there as all the build > manifests use it. On the other hand this script is intended to be used > by developers to test all relevant build configurations locally and > discoverability in a hidden directory is not that great. That's why I > placed it in the tests directory in w3m, it's a helper to test the > build. Ahhh, okay, sorry. I didn't know it was required by sr.ht, nor that we were already using it. Then, I'm fine. Thanks! Have a lovely day! Alex > Unfortunately mutt does not have a test directory. Unless we start > adding tests, hence adding a directory for them, I think .builds is the > best choice. I would add a note to doc/devel-notes.txt to make devs > aware of the script. -- <https://www.alejandro-colomar.es>
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmodUkQACgkQ64mZXMKQ wqmf7xAAkgp1l+bqA3GuLBol0iG0UzsTAvpYxTNpgtyiRytxaBi2nybnG+MPhgvN OjcYaM7YS9MgT3ITSMpnaEPBt5kgO3zXy+wSzQKe+Rk5uKWJKlVjguVMRiySz0/o gYENznzDFX3hQOXVTzM3Lc8S5ZTGBuCOYnIQKupeRtMWuBnwOMaDHpODKOkrdXia op4pX5lxe4RKXGnkEdjH6Cr/5uw8Hbd2FQCH5UldMpAIsI1tOCJf+PxZAlYo5Vqj L0zsTNiprC1B6aW4MEE9ooiHk1YE8UFjVpNp8Kx59edWjfgaCrokdUOvtY6ndSrB uuGEahblixdGfnGLRbyoxo2N+ailSpEqwTNLkqmY5TlnwmzZv7jLCul7aGW4NTa7 ew6USVDdOuNhRNiGAFfFhf8R6RPPx0JUcwITQsVHFwdS4qv3jLcXK7yaGRjhPSqn HmTLBw5GQ1WBP6XhgcW/9VbUPnnq4bmWEE7ohFPQZ5y8npjLVf+KALGiIcT8BaAG wge78WEcNF2icw2/zlx6eOeAIHnr6QxqeRy1Wksx4oVxkYamsNRdbpcF3y8xEp8F 6x1i3cZet3s9/TxEi7IGEqowZ4Zhf5XamDSQWl3J4bJag4bWKNILY8ITIXWgoWAf 6MwhUmiVtt262VHZ5rUL06yBzvKkTdiTp1+WuFRfPfSqbV/LG0Q= =mX7X -----END PGP SIGNATURE-----