Skip to content

ricardobranco777/bugme

Repository files navigation

Build Status

bugme

Show bug and issue status for:

NOTE: Git forges also support Pull/Merge Requests.

Docker image available at ghcr.io/ricardobranco777/bugme:latest

List of soft-failures for os-autoinst-distri-opensuse available at:

https://ricardobranco777.github.io/bugme/

Usage

usage: bugme.py [-h] [-c CREDS] [-f FIELDS]
                [-l {none,debug,info,warning,error,critical}]
                [-o {text,html,json}] [-r]
                [-s {tag,url,status,created,updated,assignee,creator}]
                [-S STATUS] [-t TIME_FORMAT] [--version]
                [url ...]

positional arguments:
  url

options:
  -h, --help            show this help message and exit
  -c CREDS, --creds CREDS
                        path to credentials file (default: ~/creds.json)
  -f FIELDS, --fields FIELDS
                        output fields (default: tag,status,updated,title)
  -l {none,debug,info,warning,error,critical}, --log {none,debug,info,warning,error,critical}
                        log level (default: warning)
  -o {text,html,json}, --output {text,html,json}
                        output type (default: text)
  -r, --reverse         reverse sort (default: False)
  -s {tag,url,status,created,updated,assignee,creator}, --sort {tag,url,status,created,updated,assignee,creator}
                        sort key (default: None)
  -S STATUS, --status STATUS
                        filter by status (may be specified multiple times) (default: None)
  -t TIME_FORMAT, --time TIME_FORMAT
  --user                get user issues (default: False)
  --version             show program's version number and exit

output fields for --fields: tag url status created updated title assignee creator

Example

Copy creds-example.json to ~/creds.json and run:

$ podman run --rm -v ~/creds.json:/root/creds.json:ro ghcr.io/ricardobranco777/bugme -f url,status,updated,title bsc#1213811 gh#containers/podman#19529 poo#133910 gl#gitlab-org/gitlab#424503  jsc#SCL-8 soo#rbranco/test#1 coo#rbranco/test#1
URL                                                   STATUS       UPDATED       TITLE
https://bugzilla.suse.com/show_bug.cgi?id=1213811     NEW          27 days ago   podman network unreachable after starting docker
https://github.com/containers/podman/issues/19529     CLOSED       2 months ago  Unexpected error with --volumes-from
https://progress.opensuse.org/issues/133910           RESOLVED     1 month ago   We need a suite of tests to check volume operations in container runtimes
https://gitlab.com/gitlab-org/gitlab/-/issues/424503  CLOSED       24 days ago   Prepare UI/UX when monetisation transition period ends (cut-off)
https://jira.suse.com/browse/SCL-8                    IN_PROGRESS  1 year ago    Documentation
https://src.opensuse.org/rbranco/test/issues/1        OPEN         4 days ago    test
https://code.opensuse.org/rbranco/test/issue/1        OPEN         4 days ago    test

To scan a repository:

$ podman run --rm -v ~/creds.json:/root/creds.json:ro -v ~/suse/os-autoinst-distri-opensuse:/bugme:ro ghcr.io/ricardobranco777/bugme

Supported tags

Requirements

  • Docker or Podman to run the Docker image.
  • Python 3.11+ and requirements to run stand-alone.