How to filter out a repository that is not obtained when using Jekyll Github Metadata to retrieve GitHub repositories
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with the handling of site.github.public_repositories and the GitHub API request triggered from _layouts/page.html. Reproduce the 403 for the disabled repository, then determine whether repository exclusion is supported or needs a configuration change; done should prevent the blocked repository from breaking retrieval and include coverage or documentation for the behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When a repository is disabled, there is a problem using jekyll github metadata to retrieve all public repositories, resulting in the following error:
Liquid Exception: GET https://api.github.com/repos/longfeizheng/GLaDOS-checkin/releases?per_page=100: 403 - Repository access blocked in /_layouts/page.html
error code
{% if site.github.public_repositories != null %}
repository url:https://github.com/longfeizheng/GLaDOS-checkin/settings
So I need to filter out certain repositories when requesting, is there any configuration or other method? Thank you
- Ngôn ngữ chính
- Ruby
- Star
- 309
- Fork
- 159
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 jekyll/github-metadata
-
jekyll-github-metadata calls Pages API for private repos with Pages disabled, causing fatal 403Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
jekyll/github-metadata#302 ·
-
PageĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
jekyll/github-metadata#294 ·
-
Limit and/or Cache API requests to avoid: 403 - API rate limit exceeded for installation ID ___Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
jekyll/github-metadata#266 · 6 bình luận · 4 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
jekyll/github-metadata#264 · 1 bình luận · 3 reaction ·
-
Latest Commit Date for FileĐang mởpinned
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
jekyll/github-metadata#130 · 5 bình luận · 6 reaction ·
Tất cả issue của jekyll/github-metadata
Issue tương tự
-
Remove sidekiq trace filteringĐang mởinstrumentation-sidekiq
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
open-telemetry/opentelemetry-ruby-contrib#2735 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
SecureRandom.alphanumeric can silently return an empty or wrong-length secret instead of raisingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
ruby/securerandom#92 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
we-promise/sure#5902 ·
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 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
avo-hq/avo#5065 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày