dev: run a populated QuickFeed instance locally without GitHub
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Read doc/dev.md, main.go, scm.NewSCMClient, and newSCMAppClient, then inspect the shared fixtures and existing database setup. Define a fail-closed fake-provider-only flow to seed the database and sign in as a fixture user, and document how to seed, start, log in, and understand offline limitations. Done means the populated instance works locally without GitHub and the bypass cannot be reached with the GitHub provider.
索引モデルが issue の本文から書いたものです。
説明
Part of #1638. Depends on #1639 and #1640.
A developer cannot currently click around a populated QuickFeed without a real
GitHub organization, a GitHub App, and a webhook tunnel. The pieces for an
offline instance mostly exist: QUICKFEED_SCM_PROVIDER=fake is honoured by both
scm.NewSCMClient and newSCMAppClient, and the mock serves the GitHub routes.
What is missing is data in the database and a way to be logged in.
This is the subissue that makes the whole effort pay off for day-to-day work,
and it is what genuinely replaces #40.
Scope
- A way to create a development database seeded from the shared fixtures. A flag
on the binary, amaketarget, or a small command undercmd/are all
plausible; the flag surface ofmain.gois deliberately small, so adding to
it needs an argument. - A way to be signed in as a fixture user when the provider is
fake, since the
GitHub OAuth callback cannot run. Whatever form this takes, it must be
impossible to reach when the provider isgithub. - Documentation in
doc/dev.mdcovering the whole loop: seed, start, log in,
what works and what does not.
Worth being explicit about
What is genuinely unavailable offline, so nobody debugs a missing feature that
was never mocked. Running tests in Docker against a real student repository is
the obvious example.
Safety
A seeded database and a login bypass are a bad combination to ship by accident.
Whatever gate is chosen, it should fail closed: keyed on the provider being
fake, and refusing to start rather than falling back if the configuration is
ambiguous.
- 主要言語
- Go
- スター
- 27
- フォーク
- 21
- 平均マージ
- 5日 19時間
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quickfeed/quickfeed のほかの issue
-
bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 3 日以内に返信
-
enhancement frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信
-
backend enhancement frontend
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 3 日以内に返信
-
cleanup frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 3 日以内に返信
-
feat: support assignments with both tests and criteria in Results view対応中かも @JosteinLindhom が 5 日前に担当しました。 オープンbackend bug enhancement frontend
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
quickfeed/quickfeed#1672 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
quickfeed/quickfeed の issue をすべて見る
似ている issue
-
area/security kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
agent-substrate/substrate#2935 ·
メンテナーはふだん 1 日以内に返信
-
automation models
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Guardian health server binds :8080 and collides with the Voltron proxy対応中かも @denislemire が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
projectcalico/calico#14341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
blinklabs-io/dingo#5368 ·
メンテナーはふだん 1 日以内に返信
-
OpenAI compat: assistant tool_calls attached to previous message when content is an empty array対応中かも @ShryukGrandhi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信