GitHub App integration for Kiwi TCMS
Project description
Introduction
This package provides the GitHub App integration for Kiwi TCMS and is designed to work only for multi-tenant environments. You don’t need this add-on in order to run Kiwi TCMS without extended GitHub integration!
Communication from GitHub to this add-on is via webhooks.
Add-on behavior:
Auto-configure which tenant to use for database operations, either ‘public’ or a single private tenant to which user has access.
If unable to auto-configure display warning and redirect to configuration page once the GitHub account who installed this integration onto their GitHub repository logs into Kiwi TCMS
Existing & newly created repositories are added as products in Kiwi TCMS. Fork repositories are skipped
Newly created git tags are added as product versions in Kiwi TCMS
1-click bug reports to GitHub Issues
Vote for other ideas:
When TE is updated then post status to pull request. See Issue #9
When opening PR then create a new TR. See Issue #10
When opening PR then auto-scan with kiwitcms-bot. See Issue #11
When new Tag/Release then perform artifact testing. See Issue #12
Auto-configure bug tracker for new product/repository. See Issue #15
Installation
pip install kiwitcms-github-app
inside Kiwi TCMS’s docker image and make sure the following settings are configured:
MIDDLEWARE.append('tcms_github_app.middleware.CheckGitHubAppMiddleware') PUBLIC_VIEWS.append('tcms_github_app.views.WebHook') AUTHENTICATION_BACKENDS = [ 'tcms_github_app.backend.GithubAppAuth', ... ]
everything else will be taken care for by Kiwi TCMS plugin loading code!
GitHub App configuration
User authorization callback URL: https://public.tenant.kiwitcms.org/complete/github-app/
Request user authorization (OAuth) during installation - True
Webhook URL - https://public.tenant.kiwitcms.org/kiwitcms_github_app/webhook/
Permissions:
Contents: Read-only
Metadata: Read-only
Email addresses: Read-only
Subscribe to events:
Meta
Create
Repository
Changelog
v0.0.5 (19 Feb 2020)
Address GitHub API deprecation not yet fixed in social-auth-core
v0.0.4 (25 Dec 2019)
Do not fail if product already exists
Do not fail if repository doesn’t have description
Search UserSocialAuth by uid and provider
v0.0.1 (24 Dec 2019)
initial release
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
Built Distribution
Hashes for kiwitcms-github-app-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c8570fc5defc736ab0072ae4631e2677ca4869f9e882c309baefaa3399f608 |
|
MD5 | 1509fd4ae4f5fdbb0ddaba7dd0d8876f |
|
BLAKE2b-256 | d418c4c09499de4878d3a8a8dbdec558373a073b35b375ce3f6ed3d0ec9ab894 |
Hashes for kiwitcms_github_app-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7322d8604960bedbf07bb1baa0b821019d29e1131b24fe31b798483ef648c4 |
|
MD5 | 2204b6922388294214d6e20a6646c85b |
|
BLAKE2b-256 | 32beaf726f8084f6381773bc572f1730f4b7fcb9677d8d11f33c30743c9f3d96 |