diff options
author | 2023-09-08 10:01:59 +0200 | |
---|---|---|
committer | 2023-09-08 15:12:42 +0300 | |
commit | f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d (patch) | |
tree | e115d6ff8a0be5165ed36e887c1694577ad77631 | |
parent | pkgdev_bugs: remove outdated --api-key description (diff) | |
download | pkgdev-f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d.tar.gz pkgdev-f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d.tar.bz2 pkgdev-f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d.zip |
pkgdev_bugs: add warning about using --api-key, document ~/.bugz_token
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Closes: https://github.com/pkgcore/pkgdev/pull/159
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgdev/scripts/pkgdev_bugs.py | 4 |
1 files changed, 3 insertions, 1 deletions
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( |