Skip to main content

external-issue-checker

License MIT Project Status: Active tests Python Version PyPI

Lists commits in a Git repository that refer to external issues / pull requests and reports their status.

This tool is useful for tracking issues and pull requests (that are not managed within the repository itself and for which a workaround may have been implemented in the codebase) and reporting their status (open or closed).

For example sometimes you refer to an issue of another package in a commit (e.g. “Apply some workaround while waiting for https://github.com/orga/repository/issues/12 to be fixed”). In the meantime, maybe the issue has been resolved (and maybe you've redone a commit like "Remove the workaround now that https://github.com/orga/repository/issues/12 is fixed", or not).

It's time to check with external-issue-checker!

Currently, it supports GitHub and GitLab issues and pull (or merge) requests, but it might be extended to support other platforms (such as Bitbucket, Codeberg, etc.) in the future.

Demo

Demo showing terminal being recorded

Usage instructions

To use the tool, you need to have Python 3.10 or later installed on your system.

One of the easiest ways to install and run global Python CLI tools is either to use:

# Install external-issue-checker globally
pipx install external-issue-checker

# Run the CLI tool
external-issue-checker --help
# Install external-issue-checker globally if you don't have it yet
# and run the CLI tool (uvx is an alias for uv tool run)
uvx external-issue-checker --help

Otherwise, you can install it in a virtual environment using either:

  • pip
mkdir some-directory
cd some-directory
python3 -m venv .venv
source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
pip install external-issue-checker

external-issue-checker --help
poetry new --src some-directory
cd some-directory
poetry add external-issue-checker

poetry run external-issue-checker --help

Instructions for developers

Clone the repository:

git clone https://github.com/mthh/external-issue-checker
cd external-issue-checker

Install the dependencies:

poetry install

Activate the virtual environment:

poetry env activate

Run the test suite:

poetry run pytest

Install pre-commit hooks:

poetry run pre-commit install

Run the CLI tool:

poetry run external-issue-checker --help

Motivation

This tool was created to help developers keep track of external issues and pull requests that may affect their codebase. It allows you to quickly identify commits that reference external issues, making it easier to manage dependencies and workarounds.

From a personal point of view, this is an opportunity to:

  • play with poetry to stay up to date with how it works and how to store project metadata in the pyproject.toml file,
  • see how great rich and typer are for creating CLI tools.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for external-issue-checker 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for external-issue-checker 0.1.0
File Size Uploaded Provenance Actions
external_issue_checker-0.1.0.tar.gz 5.9 kB Without provenance Details for external_issue_checker-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for external-issue-checker 0.1.0
File Interpreter ABI Platform Actions
external_issue_checker-0.1.0-py3-none-any.whl Python 3 none any Details for external_issue_checker-0.1.0-py3-none-any.whl

Total release size: 14.7 kB

Release files / external_issue_checker-0.1.0.tar.gz

Download URL external_issue_checker-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aad7771ef9a68d7019c9e13b1be26fccb6fe5b743d374e975e14d45dcb3cabb1
BLAKE2b-256 checksum
How to use checksums
b80e7082e5bed662b5a88d6b621ecf7e66510b034414058ea79cd8991037d593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / external_issue_checker-0.1.0-py3-none-any.whl

Download URL external_issue_checker-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1c6b02d2ea2fd7912c6dcf382a74214bfa38d103a41422a97dfee81eae9fae5
BLAKE2b-256 checksum
How to use checksums
7482de736c384186d09be1b8f68b2c7f99f20736e94788f64eb33e508d731c91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Security for external-issue-checker 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page