Skip to main content

Library containing a shared API for various bug trackers.

Project description

webkitbugspy

Provides a shared API for various bug trackers.

Requirements

  • webkitcorepy

Usage

The webkitbugspy library implements a generic issue tracker API compatible with multiple bug and issue trackers. To interact with an Issue, first instantiate a tracker:

from webkitbugspy import github

tracker = github.Tracker('https://github.com/WebKit/WebKit')
issue = tracker.issue(1)

You should register all trackers your project interacts with so that an Issue in one tracker can cross-reference issues in other trackers:

from webkitbugspy import bugzilla, github

Tracker.register(bugzilla.Tracker('https://bugs.webkit.org', res=[
    re.compile(r'\Ahttps?://webkit.org/b/(?P<id>\d+)\Z'),
    re.compile(r'\Awebkit.org/b/(?P<id>\d+)\Z'),
]))
Tracker.register(github.Tracker('https://github.com/WebKit/WebKit'))

print(Tracker.from_string('https://github.com/WebKit/WebKit/issues/47').references)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webkitbugspy-0.15.1.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

webkitbugspy-0.15.1-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

Details for the file webkitbugspy-0.15.1.tar.gz.

File metadata

  • Download URL: webkitbugspy-0.15.1.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for webkitbugspy-0.15.1.tar.gz
Algorithm Hash digest
SHA256 250ebb933d82bb8a1730fefe11271b69e3ae1860fb8634960c97dbeb36970a1a
MD5 f65afc5d8e9e77f027fc49b53ac42212
BLAKE2b-256 56ce8779cab7622afb036689e4153965e93c8e6426f7718a4cb26bbaf3f59c89

See more details on using hashes here.

File details

Details for the file webkitbugspy-0.15.1-py3-none-any.whl.

File metadata

File hashes

Hashes for webkitbugspy-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 139b091daa76c80548384405de2ab9f055501a274c8df84f1107333cd5c23a9e
MD5 06f5b7b3bb94594524ccb148f85a50ff
BLAKE2b-256 7895fa284ddf33afe46804d2e3373b737668e7e596381a279d93bda775b1a26c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page