Debian Codegraph @

cli/docs/core_tenets.md

raw
1 ## Jujutsu's Core Tenets
2
3 Jujutsu's core tenets are:
4
5 * Separation of logic and UI: It should be easy to create new UIs (CLIs, GUIs,
6 TUIs, servers) without having to duplicate logic.
7 * Easy-to-use APIs: It should be easy to create new commands. For example,
8 each command should not have to worry about concurrency, working-copy state,
9 and rebasing descendants of rewritten commits.
10 * User-friendliness: Making the working copy a commit is simpler. This is
11 how the project started.
12 * The repo is the source of truth: Most commands should operate on the commit
13 graph. The working copy is just one way of editing commits.
14 * Pluggable storage: Must be easy to integrate with different commit storage,
15 virtual file systems and more.
16 * Git-interoperability: Git is everywhere. We need to have good
17 interoperability to be adopted.
18 * All operations must be able to scale to Google-scale repos (lots of commits,
19 lots of files): Laziness is important, must avoid accessing data
20 unnecessarily.
21 * Strive to be modeless: If at all possible commands should work consistently
22 and as the user expects in every situation.
23 * Make it incredibly hard to lose work in your repo.
24 * Concurrent modifications to the repo should be safe.
25 * Allow concurrent edits on any commit, pending or finished.
26 * Make a "stacked diffs" workflow as easy as possible.