Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-configure 1-click bug reports to GitHub Issues #25

Closed
atodorov opened this issue Apr 12, 2020 · 0 comments
Closed

Auto-configure 1-click bug reports to GitHub Issues #25

atodorov opened this issue Apr 12, 2020 · 0 comments

Comments

@atodorov
Copy link
Member

atodorov commented Apr 12, 2020

Kiwi TCMS GitHub Issues reporter requires a repository and API token to be configured:
https://kiwitcms.readthedocs.io/en/latest/modules/tcms.issuetracker.types.html#tcms.issuetracker.types.GitHub

This plugin already handles repository payloads so adding a new bug system is easy. However the API token is a personal token, e.g. 1-click bug report will open issues on behalf of the user owning the API token. ATM the application doesn't have permissions to generate this token.

Maybe an inherited issue tracker type that uses the app permissions (the bot) to open bugs will do the trick instead.

atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 8, 2020
- All of them are now listed as dotted class paths under the
  EXTERNAL_BUG_TRACKERS setting
- DB migration will rename existing records
- tcms.issuetracker.types.from_name() is replaced with
  django.utils.module_loading.import_string() which returns the
  class at the end of a dotted path
- update documentation

Refs #1151 - will make overriding bug-tracker integration easier

Refs kiwitcms/github-app#25 - will open
the path to providing a custom GitHub Issues integration for the
GitHub App
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 8, 2020
- All of them are now listed as dotted class paths under the
  EXTERNAL_BUG_TRACKERS setting
- DB migration will rename existing records
- tcms.issuetracker.types.from_name() is replaced with
  django.utils.module_loading.import_string() which returns the
  class at the end of a dotted path
- update documentation

Refs #1151 - will make overriding bug-tracker integration easier

Refs kiwitcms/github-app#25 - will open
the path to providing a custom GitHub Issues integration for the
GitHub App
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
- All of them are now listed as dotted class paths under the
  EXTERNAL_BUG_TRACKERS setting
- DB migration will rename existing records
- tcms.issuetracker.types.from_name() is replaced with
  django.utils.module_loading.import_string() which returns the
  class at the end of a dotted path
- update documentation

Refs #1151 - will make overriding bug-tracker integration easier

Refs kiwitcms/github-app#25 - will open
the path to providing a custom GitHub Issues integration for the
GitHub App
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
Refs kiwitcms/github-app#25 - will need
information about the current user & tenant in order to figure out
the individual GitHub App installation that is going to be used for
RPC requests.
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
Refs kiwitcms/github-app#25 - will need
information about the current user & tenant in order to figure out
the individual GitHub App installation that is going to be used for
RPC requests.
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
Refs kiwitcms/github-app#25 - will need
information about the current user & tenant in order to figure out
the individual GitHub App installation that is going to be used for
RPC requests.
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
Refs kiwitcms/github-app#25 - will need
information about the current user & tenant in order to figure out
the individual GitHub App installation that is going to be used for
RPC requests.
atodorov added a commit to kiwitcms/Kiwi that referenced this issue Jul 9, 2020
Refs kiwitcms/github-app#25 - will need
information about the current user & tenant in order to figure out
the individual GitHub App installation that is going to be used for
RPC requests.
atodorov added a commit that referenced this issue Jul 11, 2020
- Requires the KIWI_GITHUB_APP_ID and KIWI_GITHUB_APP_PRIVATE_KEY
  settings to be defined
- Alters the EXTERNAL_BUG_TRACKERS setting

Authenticates as an app (aka `bot` account) instead of a regular
GitHub user. See for example
kiwitcms/test-github-integration#202
atodorov added a commit that referenced this issue Jul 11, 2020
- Requires the KIWI_GITHUB_APP_ID and KIWI_GITHUB_APP_PRIVATE_KEY
  settings to be defined
- Alters the EXTERNAL_BUG_TRACKERS setting

Authenticates as an app (aka `bot` account) instead of a regular
GitHub user. See for example
kiwitcms/test-github-integration#202
atodorov added a commit that referenced this issue Jul 11, 2020
- Requires the KIWI_GITHUB_APP_ID and KIWI_GITHUB_APP_PRIVATE_KEY
  settings to be defined
- Alters the EXTERNAL_BUG_TRACKERS setting

Authenticates as an app (aka `bot` account) instead of a regular
GitHub user. See for example
kiwitcms/test-github-integration#202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant