Giter Club home page Giter Club logo

bztools's Introduction

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

bztools's People

Contributors

ronniel1 avatar celebdor avatar mkowalski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.