Remove the Jira integration

Đang mở
#469 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
13
Fork
22
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openedx/openedx-webhooks

Tất cả issue của openedx/openedx-webhooks

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.