[Test] Add an RStudio Git-pane commit/push scenario, validated against live Workbench

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python, r
領域
testing-qa

調査の方向性

PR #363 のターミナルベースの Git シナリオ、削除された RStudioGitPane ページオブジェクト、および rstudio_eval エントリポイントから始めます。参照されている稼働中の Workbench に対して RStudio Git-pane セレクターを検証し、セッション内で作業ディレクトリを設定し、GUI の commit/push シナリオが正常に実行された時点で完了します。

索引モデルが issue の本文から書いたものです。

説明

team: workbench

Context

PR #363 (Git operations from Workbench sessions, closes #306) originally included a "Commit and push using the RStudio Git pane" scenario plus a RStudioGitPane page object. It was dropped before merge because:

  1. The selectors in RStudioGitPane were never validated against a live Workbench instance (the code carried a TODO note to that effect).
  2. The working-directory setup used Rscript -e 'setwd(...)' run in the terminal, which spawns a separate R process and does not change the already-running RStudio session's working directory — so the Git pane would never discover the cloned repo.

The terminal-based Git scenarios (RStudio/VSCode/Positron clone + branch/commit/push) shipped in #363 and work.

What's needed

  • Re-add the RStudio Git-pane GUI scenario, with selectors verified against a live Workbench (e.g. ganso01-staging).
  • Set the session working directory via rstudio_eval(page, 'setwd(...)') (in-session), not a terminal Rscript subprocess.
  • Re-introduce a validated RStudioGitPane page object.

References

  • PR #363
  • Original feature issue #306
主要言語
Python
スター
9
フォーク
1
平均マージ
15時間 31分
マージ済み PR(30日)
44

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

posit-dev/vip のほかの issue

posit-dev/vip の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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