How to filter out a repository that is not obtained when using Jekyll Github Metadata to retrieve GitHub repositories
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Ruby
- スター
- 309
- フォーク
- 159
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jekyll/github-metadata のほかの issue
-
jekyll-github-metadata calls Pages API for private repos with Pages disabled, causing fatal 403オープン
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
jekyll/github-metadata#302 ·
-
Pageオープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
jekyll/github-metadata#294 ·
-
Limit and/or Cache API requests to avoid: 403 - API rate limit exceeded for installation ID ___オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
jekyll/github-metadata#266 · コメント 6 件 · リアクション 4 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
jekyll/github-metadata#264 · コメント 1 件 · リアクション 3 件 ·
-
pinned
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
jekyll/github-metadata#130 · コメント 5 件 · リアクション 6 件 ·
jekyll/github-metadata の issue をすべて見る
似ている issue
-
instrumentation-sidekiq
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
open-telemetry/opentelemetry-ruby-contrib#2735 ·
メンテナーはふだん 2 日以内に返信
-
SecureRandom.alphanumeric can silently return an empty or wrong-length secret instead of raisingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ruby/securerandom#92 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
we-promise/sure#5902 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信