How do we handle API versioning?
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ó
- 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
- 25/100
Hướng nghiên cứu
Start by reading the discussion in this issue and the related issue #309, then trace where CollectOSS makes GitHub and GitLab API calls. The issue raises open design questions about version detection, comparison, and storage but names no files or tests. Done means agreeing on a versioning approach for supported platforms and defining how it handles instances that update.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In looking at #309 recently I was playing with gitlab API calls such as https://gitlab.com/api/v4/groups/redhat%2fOSAIPO
And that /v4 in the url made me realize that we will likely need to handle several different versions of the gitlab API because we have less control over what version any particular instance may be running on a forge someone wants to use.
i assume all versioning schemes have some notion of "earlier than" and "later than" when comparing any two versions, so at least we should be able to have logic in CollectOSS that can work differently based on the version
Github docs: https://docs.github.com/en/rest/about-the-rest-api/api-versions
gitlab: https://docs.gitlab.com/api/rest/#versioning-and-deprecations
Is this also going to put us on the endless treadmill of cat and mouse games that is keeping up with the changes that github and gitlab make to their APIs?
Things to account for:
- different platforms use different version signals (
v4vs a date) so we need to handle this in a way that accepts all known/reasonable methods of doing versioning - do we need to store the version an api is using? how do we detect/avoid the need to store this and/or update this dynamically as the instance updates?
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 33
- Merge trung bình
- 2 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của chaoss/CollectOSS
-
CLI: connectivity check prints diagnostics to stdout, breaking piped outputCó thể làm lại được @Nimisha987 đã nhận 10 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
chaoss/CollectOSS#548 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Ensure privacy policy fields are filled out by CollectOSS maintainers for the default forgesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#521 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
devops
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#406 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump codeql SARIF upload Ci dependency to v4Có thể đã có người làm @Dipro-cyber đã nhận 181 ngày trước. Đang mởdependencies devops good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#349 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#307 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của chaoss/CollectOSS
Issue tương tự
-
[Resource]: SpaicelyĐang mởresource-submission validation-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
hesreallyhim/awesome-claude-code#3875 · 1 bình luận ·
-
[Bug]: Ajax Pro login issueĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
bvis/aegis-hass#725 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xCó thể đã có người làm @NimaVaziri đã nhận hôm nay. Đang mởPytorch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainer thường phản hồi trong vòng 1 ngày