From 166e649095df07e34bc8a6b77b7e29b2190956de Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Jul 31 2023 15:58:46 +0000 Subject: Update list of dependencies required `click` and `python-bugzilla` also need to be installed Also add a `Pipfile` with these requirements added, since the `README.md` recommends using `pipenv shell` and that is the preferred dependency format over `requirements.txt`, and add `Pipfile.lock` and `__pycache__` to `.gitignore`. Signed-off-by: Michel Alexandre Salim --- diff --git a/.gitignore b/.gitignore index 397b4a7..b87706b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +Pipfile.lock +__pycache__/ *.log diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..d81a5bb --- /dev/null +++ b/Pipfile @@ -0,0 +1,10 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +click = "*" +fasjson-client = "*" +python-bugzilla = "*" + diff --git a/README.md b/README.md index df88f43..2fa7af8 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Use the '--privacy' flag to not print emails in the log. To run the script you'll need: -- fasjson_client to be installed +- click, fasjson_client, and python-bugzilla to be installed - an active kerberos ticket to login to fasjson.fedoraproject.org - a bugzilla API key for bugzilla.redhat.com in your ~/.bugzillarc config file @@ -38,7 +38,7 @@ open and manage an issue ticket for each detected inactive packager. ``` $ pipenv shell ... -$ pip install fasjson-client +$ pipenv install ... $ sudo dnf install fedora-packager-kerberos ...