commit: f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Fri Sep 8 08:01:59 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Sep 8 12:12:42 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=f86b2f65
pkgdev_bugs: add warning about using --api-key, document ~/.bugz_token Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> Closes: https://github.com/pkgcore/pkgdev/pull/159 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> src/pkgdev/scripts/pkgdev_bugs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pkgdev/scripts/pkgdev_bugs.py b/src/pkgdev/scripts/pkgdev_bugs.py index 0a63077..48eb13d 100644 --- a/src/pkgdev/scripts/pkgdev_bugs.py +++ b/src/pkgdev/scripts/pkgdev_bugs.py @@ -42,7 +42,9 @@ bugs.add_argument( metavar="KEY", help="Bugzilla API key", docs=""" - The Bugzilla API key to use for authentication. + The Bugzilla API key to use for authentication. WARNING: using this + option will expose your API key to other users of the same system. + Consider instead saving your API key in a file named ~/.bugz_token. """, ) bugs.add_argument(
