Non-default branches are copies instead of diffs
まだ誰も着手していません。
評価
調査の方向性
main と 1 コミット先行したソリューションブランチを含むテンプレートを使って課題作成フローを再現し、"Copy the default branch only" のチェックを外した場合の挙動を比較します。ブランチのコピー処理のエントリポイントを追跡し、結果として作成されるソリューションブランチが祖先関係を保持していることを確認して、学生が意図した diff を表示できるようにします。
索引モデルが issue の本文から書いたものです。
説明
In my class, I create assignments from repository templates that have a main branch and a solution branch. The solution branch is one commit ahead of the main branch so that students can click on solution's commit to see a diff of the solution. At least, that is how it worked last year.
This year, GitHub Classroom changed such that there's a new option "Copy the default branch only". When this option is unchecked, the solution branch is copied as if it were an entirely new branch (parallel to main). As a result, the diff is lost! This makes it very difficult for students to see the parts of the code that are added/removed/changed in the solution.
(P.S. Is there another (better) approach to providing solutions to assignments?)
- 主要言語
- Go
- スター
- 126
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-classroom のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
github/gh-classroom#95 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/gh-classroom#21 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
github/gh-classroom#116 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
github/gh-classroom#110 ·
-
Sanitize Team name オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
github/gh-classroom#109 ·
github/gh-classroom の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
googleapis/librarian#7670 · コメント 2 件 ·