tech-pkg archive

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

Re: The new revbump does not work for Go packages



Hi Benny!

On Sat, Jun 10, 2023 at 02:23:03PM +0200, Benny Siegert wrote:
> It’s good to see that you rewrote pkgtools/revbump in Python. However, this breaks my workflow for recursive bumps of Go packages. Up to now, I used a shell pipeline to find all packages that include either go-package.mk or go-module.mk and gave that to the revbump tool. The new tool only supports buildlink3 dependencies.

Sorry, I had overlooked that use case.

> I see two ways forward:
> 
> - a flag to accept a list of directories from a file, skipping most of the logic
> - special-casing lang/go, the same way as lang/perl5.
> 
> Please let me know what you prefer!

I think it's fine to add a special case for go.
What would be the best criterion - including lang/go/version.mk?

Are you up for adding it or would you prefer me to?
 Thomas


Home | Main Index | Thread Index | Old Index