mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
acb6ef98c9
Go over all go.mod files in the source and check if the minimum Go version specified matches the minimum version specified in BDEPEND/DEPEND. I employ a very basic heuristic to extract the minimum Go version from the ebuild, so this might have somne edge cases where it doesn't work, but it should be good enough for most cases and is better than nothing. For EAPI>=9, we make it a hard error if the ebuild doesn't specify the correct minimum Go version, to enforce that the ebuild gets updated. All EAPI=9 ebuilds where checked. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>