tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc mktool utility



* On 2024-08-06 at 10:25 BST, Benny Siegert wrote:

While there are definitely some mk targets I am looking to add
replacements for (I added initial support for "checksum" this evening),
I don't think there will be a huge amount, and you only need to run
"cargo install mktool" to get the latest version once support is added.

Can this be "cd pkgtools/mktool && make package-install" instead? That
would be lovely.

I'd rather not at this point. Perhaps in the future when things have stabilised we can look at adding a package for it, but right now "cargo install mktool" gets me the latest version from scratch in about 8 seconds, vs a few days if I wanted to commit an update to pkgsrc, wait for git to sync, push through a macOS bulk build, before finally running "pkgin upgrade". And that's assuming that the bulk build completes (it very often doesn't).

There are a lot of advantages to having some things external to pkgsrc. The recent changes to pbulk scripts reminded me how painful it is, and how long it can take, for simple updates to make their way through to being able to be used. And I'm also still fielding regular bug reports from users who are doing "pkgin upgrade" from older systems who are hitting bugs that I fixed in pkgin over a year ago.

Of course the vast, vast majority of things should be done as usual in pkgsrc, but I'm becoming more and more convinced that there are some things that are better kept external. The user experience is just so much nicer.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index