Django app which automates the issue creation on Git for broken links.
Project description
=====
DJANGO GIT BROKENLINK TRACKING
=====
DJANGO GIT BROKENLINK TRACKING is a Django app which provides a middleware which can be used to generate Git Issue whenever the application encounters 404 page.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "git_brokenlink_track" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'git_brokenlink_track',
]
2. Include "git_brokenlink_track.middleware.GitIssueTrackMiddleware" in the MIDDLEWARE_CLASSES like this::
MIDDLEWARE_CLASSES = [
...
'git_brokenlink_track.middleware.GitIssueTrackMiddleware',
]
3. Add DJANGO GIT BROKENLINK TRACKING settings in your settings file:
GBT_DEBUG_MODE = True # If set to true issues will be logged in debug mode as well, default False
GBT_REPO_OWNER = 'repo_owner'
GBT_REPO_NAME = 'repo_name'
GBT_ACCESS_TOKEN = 'user_access_token'
GBT_ISSUE_LABEL = [] # multiple labels can be specified in an array ['broken-link', '404']
4. Restart your development server
DJANGO GIT BROKENLINK TRACKING
=====
DJANGO GIT BROKENLINK TRACKING is a Django app which provides a middleware which can be used to generate Git Issue whenever the application encounters 404 page.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "git_brokenlink_track" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'git_brokenlink_track',
]
2. Include "git_brokenlink_track.middleware.GitIssueTrackMiddleware" in the MIDDLEWARE_CLASSES like this::
MIDDLEWARE_CLASSES = [
...
'git_brokenlink_track.middleware.GitIssueTrackMiddleware',
]
3. Add DJANGO GIT BROKENLINK TRACKING settings in your settings file:
GBT_DEBUG_MODE = True # If set to true issues will be logged in debug mode as well, default False
GBT_REPO_OWNER = 'repo_owner'
GBT_REPO_NAME = 'repo_name'
GBT_ACCESS_TOKEN = 'user_access_token'
GBT_ISSUE_LABEL = [] # multiple labels can be specified in an array ['broken-link', '404']
4. Restart your development server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django_git_brokenlink_track-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c325f37de53dc90b57c55155de983f94c9c04e40e1ea6a2381774e49ac05aad |
|
MD5 | a25eff3f9849498ffcc3dcedc3c52f8e |
|
BLAKE2b-256 | 0bded237e73b69b4d92df9bd1494bf01d83af93154c79fc6a1fda0c6861a8a0d |