Desktop: Jujutsu (jj) workspaces as an alternative to git worktrees

Offen
#59 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
32/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
git, rust, tauri

Rechercherichtung

Find the existing git-worktree lifecycle behind the “New worktree” action and the Changes tab; that path is the model to mirror. Read how a worktree is created, diffed and deleted, then add a jj path that detects a colocated repo and shells out to jj workspace add, jj workspace list and jj workspace forget. Done means the three acceptance criteria hold: the new workspace appears in jj workspace list, deletion forgets it and removes the folder, and plain git repos behave as today.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: desktop status: needs-triage type: feature

Problem

jj users get parallel isolated checkouts through jj workspace add and prefer it over git worktrees; Atlas assumes git worktrees only.

Evidence

From research on parallel-agent desktops and worktree tools, this is a recurring user request:

A recurring request across agent-workspace and parallel-agent tools, with high upvote counts in their public trackers.

Proposed behavior

  • Detect a colocated jj repo; New worktree then uses jj workspace add and records the workspace.
  • Changes tab diffs the working-copy commit; delete uses jj workspace forget + folder removal.
  • Everything else (port offset, setup, agents) unchanged.

Acceptance criteria

  • In a jj repo, a new worktree is a jj workspace visible in jj workspace list.
  • Deleting it forgets the workspace and removes the folder.
  • Plain git repos behave exactly as today.
Vorherrschende Sprache
Rust
Sterne
3
Forks
1
Ø Merge
9 Std. 51 Min.
Gemergte PRs (30 T.)
310

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/atlas

Alle Issues in codeatlasdev/atlas

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.