How to filter out a repository that is not obtained when using Jekyll Github Metadata to retrieve GitHub repositories

オープン
#290 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github, ruby
領域
api, backend

調査の方向性

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jekyll/github-metadata のほかの issue

jekyll/github-metadata の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。