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.2.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webkitbugspy-0.15.2-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for webkitbugspy-0.15.2.tar.gz
Algorithm Hash digest
SHA256 5bc83f7925093353323fb467664b02941f2af81e821d89d9fdbccd3f24d8a973
MD5 c6ba02f3fb38f58f77bab2cfe235ea96
BLAKE2b-256 6dde314611a4ef7b1485a38341e0cce8a4ad1dad5454f9444ea4591ef16fd16c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: webkitbugspy-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for webkitbugspy-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef1913a6730919630b1871071c3133b390f9a606197483a6d00a7b4d03cda747
MD5 3f7c105f7ad2abdbe63ed0ccdf2643d0
BLAKE2b-256 cf7537c503fa9909916a2a742207f79a58b622c61851eac6041ca7a21a484585

See more details on using hashes here.

Supported by

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