[WIP] Keeping Git branches in sync with job-server workspaces
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- git, github
調査の方向性
この issue のワークフローとリンクされたテクニカルサポートとのやり取りから始め、その後、Git ブランチ、job-server ワークスペース、研究者のワークフローを扱っているドキュメントを確認します。ブランチとワークスペースを同期した状態に保つべきかどうかを判断し、プライマリワークスペースとセカンダリワークスペースの場合について推奨事項を文書化します。改訂された分析が要求された後に研究者が何をすべきかを、完成したガイダンスが説明していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In the Bristol-Cambridge-Oxford meeting on May 2, 2024 @venexia asked a question about keeping Git branches in sync with job-server workspaces. The question was prompted by an exchange with tech support.^1
We should recognize that it may not be desirable to keep Git branches in sync with job-server workspaces. Nevertheless, this issue captures the question and the exchange with tech support. Ultimately, the intention is to improve the documentation, by making recommendations to researchers.
In the following workflow, the primary branch is GitHub's default branch. It is often called main. The terms primary branch, primary workspace, secondary branch, and secondary workspace have no meaning beyond this issue. HEAD is Git-speak for "the current branch's latest commit".
- Researcher creates repo from opensafely/research-template
- Researcher commits to primary branch
- Researcher creates primary workspace associated with primary branch
- Researcher runs jobs in primary workspace
- Primary workspace directories are created on L3 and L4 filesystems
- Files are written to primary workspace directories
- Researcher writes paper based on primary branch
HEADand files in primary workspace directories - Researcher submits paper 🎉
At this point, the paper is based on primary branch HEAD and files in primary workspace directories.
The paper is reviewed; further analysis is requested, which necessitates modifications to the dataset definition. The researcher doesn't want to overwrite files in primary workspace directories, because modifications to the dataset definition could result in a different dataset. 🙁
- Researcher branches from primary branch, giving secondary branch
- Researcher commits to secondary branch
- Researcher creates secondary workspace associated with secondary branch
- Researcher runs jobs in secondary workspace
- Secondary workspace directories are created on L3 and L4 filesystems
- Files are written to secondary workspace directories
- Researcher updates paper based on secondary branch
HEADand files in secondary workspace directories - Researcher merges secondary branch into primary branch
- Secondary branch is deleted (by researcher, by GitHub, etc.)
- Researcher submits paper 🎉
At this point, the paper is based on primary branch HEAD and files in secondary workspace directories.
The paper is reviewed; further analysis is requested 🙁
-
Should the researcher commit to primary branch? Files in primary workspace directories are behind files in secondary workspace directories. The researcher would need to run jobs in primary workspace.
-
Should the researcher branch from primary branch, giving new secondary branch with same name as old secondary branch, and commit to new secondary branch? The researcher would not need to run jobs in secondary workspace.
- 主要言語
- Python
- スター
- 48
- フォーク
- 10
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opensafely/documentation のほかの issue
-
bug improve content
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensafely/documentation#2102 ·
メンテナーはふだん 1 日以内に返信
-
initiative:retire-actions-registry
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensafely/documentation#2035 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensafely/documentation#2017 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
Unpin `click`オープン
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
opensafely/documentation#2006 ·
メンテナーはふだん 1 日以内に返信
-
job-ux
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensafely/documentation#2000 ·
メンテナーはふだん 1 日以内に返信
opensafely/documentation の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
raman325/lock_code_manager#1864 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
521xueweihan/HelloGitHub#4636 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ida-arbeitszeit/workers-control#1607 ·
メンテナーはふだん 1 日以内に返信