pre-upload: eapi: recommend people move to EAPI=7
BUG=None
TEST=upload unittests pass
Change-Id: Iaace669ed7f5f19827a1da4ea1e35cd9e2c2b20b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/repohooks/+/2203549
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/pre-upload.py b/pre-upload.py
index 7330aec..6807c48 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -971,12 +971,12 @@
if bad_ebuilds:
# pylint: disable=C0301
- url = 'http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/upgrade-ebuild-eapis'
+ url = 'https://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/upgrade-ebuild-eapis'
# pylint: enable=C0301
return HookFailure(
'These ebuilds are using old EAPIs. If these are imported from\n'
'Gentoo, then you may ignore and upload once with the --no-verify\n'
- 'flag. Otherwise, please update to 5 or newer.\n'
+ 'flag. Otherwise, please update to 7 or newer.\n'
'\t%s\n'
'See this guide for more details:\n%s\n' %
('\n\t'.join(['%s: EAPI=%s' % x for x in bad_ebuilds]), url))