Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Archive osgithub by moving required code into Reports and Actions Registry

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

Bắt đầu bằng cách xác định các bên sử dụng osgithub hiện tại trong Reports và Actions Registry, đồng thời ghi lại chức năng mà mỗi ứng dụng yêu cầu. Chuyển mã cần thiết vào cả hai ứng dụng, loại bỏ dependency, sau đó xác minh rằng các repository và package PyPI có thể được lưu trữ theo như checklist đã chỉ rõ.

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

Mô tả

Description

osgithub was originally intended to provide a generic shared interface for interacting with the GitHub API. But in reality, we've had very different use cases each time we've wanted to get something from GitHub. Consequently, we've only used the osgithub library in two places - Reports and Actions Registry. Maintaining osgithub as a separate library now creates overhead that may not be justified by its limited reuse.

We should investigate and migrate the required osgithub functionality directly into the two applications that currently depend on it, and then archive the osgithub repository.

Related slack discussion.

How will we know when it's done?

  • Identify all current consumers of osgithub.
  • Move the required code into Reports.
  • Move the required code into Actions Registry.
  • Remove osgithub as a dependency from both applications.
  • Archive osgithub repository on GitHub
  • Archive osgithub package on PyPI
Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
9

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 opensafely-core/osgithub

Tất cả issue của opensafely-core/osgithub

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.