8000 GitHub - ronniel1/bztools: Tools for working with Bugzilla
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ronniel1/bztools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bztools

Tools for working with Bugzilla make sure to install pip package python-bugzilla

Installation

You can install it by running:

pip install git+https://github.com/ronniel1/bztools

If you do not want to manage the virtualenv, you can use pipx:

sudo dnf install pipx

Then, you can run it with or without installation. Without:

pipx run --no-cache --spec git+https://github.com/ronniel1/bztools.git bzclone --help

With installation:

pipx install git+https://github.com/ronniel1/bztools.git
bzclone --help

Configuration

You can run bztools with either your username & password as well with your bugzilla API key. netrc formatted file.

netrc apikey file example:

machine bugzilla.redhat.com login apikey password otZjhy1U4nYRlaGUJ2IVR5AIdJCiAy1z6yuGWApr

netrc username password file example:

machine bugzilla.redhat.com login ronniel1 password my-very-secret-pw

Usage

usage: bzclone [-h] [--netrc NETRC | -bup BUGZILLA_USER_PASSWORD] -i BZ_ID
login options:
  --netrc NETRC         netrc file
  -bup BUGZILLA_USER_PASSWORD, --bugzilla-user-password BUGZILLA_USER_PASSWORD
                        Bugzilla username and password in the format of user:pass

usage: e2e-auto-verified [-h]
    [--netrc NETRC | -bup BUGZILLA_USER_PASSWORD | -jup JIRA_USER_PASSWORD]
    -u URLQUERY
    [-r {assisted-installer,assisted-service,assisted-installer-agent} [{assisted-installer,assisted-service,assisted-installer-agent} ...]]
    -t TO_COMMITS [TO_COMMITS ...] [-f FROM_RELATIVE_DATE]
    [-d] [-i INITIAL_STATUS] [-c CHANGE_STATUS]
    [-b BZ_OVERRIDE [BZ_OVERRIDE ...]]

Development

git clone https://github.com/ronniel1/bztools
cd bztools
pipenv install --dev
pipenv run pre-commit install -t pre-commit
pipenv run pre-commit install -t pre-push

About

Tools for working with Bugzilla

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages

0