Remove the Jira integration

オープン
#469 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start with openedx_webhooks/tasks/jira_work.py and the jira: label handling in pr_tracking.py, then trace the Jira helpers in info.py, auth.py and utils.py. Check tests/fake_jira.py and the Jira test cases before deleting anything. Done means the Jira code, templates, setting and docs are gone and the test suite passes. This is a maintainer decision still open for discussion, so confirm the removal plan before starting.

索引モデルが issue の本文から書いたものです。

説明

The bot can create and update Jira issues for pull requests: a jira:<nick> label on a PR looks up a server by nickname in the private jira-info registry, creates an issue there using the repo's .github/jira-mapping.yaml, and records the issue id in the bot's comment. That path hasn't been used in some time, and it's a fair amount of code and config to keep working for nothing: openedx_webhooks/tasks/jira_work.py, the Jira steps in pr_tracking.py, the Jira helpers in info.py, bot_comments.py, auth.py and utils.py, the JIRA_INFO_FILE setting, the no_jira_* and jira_issue_comment templates, the Jira output of the rescan views, and tests/fake_jira.py with everything that uses it.

I think we should remove it rather than keep maintaining it. Rough plan:

  • Stop acting on jira: labels and drop the Jira steps from PrTrackingFixer.
  • Delete jira_work.py, the Jira session in auth.py, jira_paginated_get and get_jira_issue in utils.py, and the Jira templates.
  • Remove the JIRA_INFO_FILE setting from the Heroku apps and the docs (docs/install.rst, docs/details.rst, README.rst).
  • Delete tests/fake_jira.py and the Jira cases in the tests.
  • Close #189, #192 and #285 as won't do.

Wanted to call this out before doing it in-case anyone is still relying on it.

主要言語
Python
スター
13
フォーク
22
平均マージ
1日 6時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openedx/openedx-webhooks のほかの issue

openedx/openedx-webhooks の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。