freebsd / kyua

Port/Package build and test system
https://github.com/freebsd/kyua/wiki
BSD 3-Clause "New" or "Revised" License
149 stars 42 forks source link

No more MacOS/brew packages due to unmaintained upstream status. #232

Open kevemueller opened 3 days ago

kevemueller commented 3 days ago

Brew project has disabled building kyua as it deems it unmaintained upstream. See https://github.com/Homebrew/homebrew-core/blob/master/Formula/k/kyua.rb

Background is that the latest release was published 10y ago. As there is recent activity in the log, pushing a release would support argumentation of reactivating kyua built by brew on MacOS.

emaste commented 1 day ago

We use this repository for importing as snapshots into FreeBSD, see e.g. https://cgit.freebsd.org/src/log/contrib/kyua.

It would be interesting to hear about use cases for kyua on other than FreeBSD.

kevemueller commented 1 day ago

Hi Ed, the kyua brew package is the easiest way to get to a kyua executable on MacOS. You need kyua if you develop on MacOS with FreeBSD sources that use kyua as the unit test framework. E.g. pkg. Without this brew package, using kyua on MacOS becomes quite a hassle (I abandoned compiling HEAD after 3 hours trying). An example usage is the GitHub CI build that I added to pkg recently, which builds and tests pkg using kyua natively on MacOS. https://github.com/freebsd/pkg/commit/fcc8461dfeaecf8cc6ffc86d25add5490d794552

Brew kicked out (inactivated) the kyua formula due to inactivity. As per Brew guidelines https://docs.brew.sh/Acceptable-Formulae#stable-versions brew formulae should point to a stable version: (8<)

Stable versions

Formulae in the core repository must have a stable version tagged by the upstream project. Tarballs are preferred to Git checkouts, and tarballs should include the version in the filename whenever possible. (>8)

Now neither the freebsd-src git, nor the freebsd/kyua github repository seem to have tags marking releases for ``kyua```, i.e. they don't qualify for inclusion into Brew. The problem is not git, the problem is not having a (recent) tag or a tarball to point at.

Importing kyua into freebsd-src makes the situation even more interesting. Is freebsd-src now the official upstream of kyua? Debian builds from https://salsa.debian.org/debian/kyua and keeps track of its own snapshot tags.

To put is short, to move forward on this, we would need to:

I could take care of reworking the brew formula and ask for re-activation.

emaste commented 1 day ago

I understand the value of having it in homebrew, I just wasn't aware of anyone using kyua outside of FreeBSD.

Upstream is https://github.com/freebsd/kyua. When we incorporate software into the FreeBSD base system we incorporate it under contrib/ in our repo.

If it's just a matter of tagging a release that should be pretty straightforward. CC @ngie-eign