git-stack-cli 0.3.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -54
- package/dist/__fixtures__/metadata.js +399 -475
- package/dist/app/App copy.js +30 -0
- package/dist/app/App.js +9 -3
- package/dist/app/AutoUpdate.js +147 -0
- package/dist/app/Debug.js +4 -4
- package/dist/app/FormatText.js +9 -0
- package/dist/app/GatherMetadata copy.js +33 -29
- package/dist/app/GatherMetadata.js +30 -39
- package/dist/app/Input.js +15 -0
- package/dist/app/LocalCommitStatus.js +42 -0
- package/dist/app/LocalMergeRebase.js +113 -0
- package/dist/app/ManualRebase copy.js +127 -0
- package/dist/app/ManualRebase.js +23 -12
- package/dist/app/MultiSelect.js +2 -2
- package/dist/app/NPMAutoUpdate.js +34 -0
- package/dist/app/Parens copy.js +1 -1
- package/dist/app/PreLocalMergeRebase.js +21 -0
- package/dist/app/PreSelectCommitRanges copy.js +15 -23
- package/dist/app/PreSelectCommitRanges.js +10 -0
- package/dist/app/Providers.js +5 -0
- package/dist/app/SelectCommitRanges.js +95 -82
- package/dist/app/Status.js +18 -3
- package/dist/app/StatusTable.js +35 -26
- package/dist/app/Store.js +32 -6
- package/dist/app/TextInput.js +37 -0
- package/dist/app/YesNoPrompt.js +19 -5
- package/dist/app/main.js +6 -0
- package/dist/command.js +15 -34
- package/dist/core/CommitMetadata.js +19 -5
- package/dist/core/Metadata.js +4 -3
- package/dist/core/cli.js +4 -0
- package/dist/core/github.js +26 -18
- package/dist/core/id.js +61 -0
- package/dist/core/readJson.js +3 -0
- package/dist/core/read_json.js +12 -0
- package/dist/core/safe_quote.js +9 -0
- package/dist/core/short_id.js +60 -0
- package/dist/core/sleep copy.js +3 -0
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# git-stack-cli
|
|
2
2
|
|
|
3
|
+
> create stacked diffs (PRs) on Github from a single branch by grouping commits
|
|
4
|
+
|
|
3
5
|
## install
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
8
|
npm i -g git-stack-cli
|
|
7
9
|
|
|
8
10
|
git stack
|
|
9
|
-
git multi-diff
|
|
10
11
|
```
|
|
11
12
|
|
|
12
13
|
## development
|
|
@@ -16,57 +17,4 @@ npm run dev
|
|
|
16
17
|
npm link
|
|
17
18
|
|
|
18
19
|
git stack --debug
|
|
19
|
-
git multi-diff --debug
|
|
20
20
|
```
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## TODO
|
|
24
|
-
|
|
25
|
-
- point value for querying all pr for user vs individual pr status (current)?
|
|
26
|
-
|
|
27
|
-
- select commit ranges
|
|
28
|
-
- capture PR title when creating new group
|
|
29
|
-
|
|
30
|
-
- display PR status table (new, outdated, etc.) after sync
|
|
31
|
-
|
|
32
|
-
- ManualRebase
|
|
33
|
-
- set nice PR title and summary (diff stack table)
|
|
34
|
-
|
|
35
|
-
- build table of stacked PRs to add to each PR as comment
|
|
36
|
-
- order based on local sha ordering (i.e. group_list, which reflects PR order)
|
|
37
|
-
- delete and update comment in pr if necessary (use regex)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- interactive PR status table
|
|
41
|
-
- ▶ Unassigned (8 commits)
|
|
42
|
-
- ▶ #764 Title B (2/3 commits) https://github.com/...
|
|
43
|
-
- ▶ #742 Title A (5/5 commits) https://github.com/...
|
|
44
|
-
|
|
45
|
-
- `folder: { on: '▼', off: '▶' },`
|
|
46
|
-
- the first local row shows new commits not synced to any PR
|
|
47
|
-
- (2/3 commits) means 3 commits locally and 2 commits in remote (mismatch)
|
|
48
|
-
- focus + enter toggles the list open to view each commit
|
|
49
|
-
- when expanded
|
|
50
|
-
- each commit should also show status, e.g. new commits should show with NEW
|
|
51
|
-
- show actions, e.g. Shift+D -> Delete
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- multiselect with more items than terminal rows needs pagination
|
|
55
|
-
- maybe default to window size of about 10 and display a scrollbar to indicate more items in either direction?
|
|
56
|
-
- allow typing to filder the list based on regex match?
|
|
57
|
-
- quicksearch may be similar or at least inspo
|
|
58
|
-
- https://github.com/Eximchain/ink-quicksearch-input
|
|
59
|
-
|
|
60
|
-
## names
|
|
61
|
-
|
|
62
|
-
- stack
|
|
63
|
-
- prs
|
|
64
|
-
- batch
|
|
65
|
-
- cake
|
|
66
|
-
- pancake
|
|
67
|
-
- bake
|
|
68
|
-
- pile
|
|
69
|
-
- ladder
|
|
70
|
-
- steps
|
|
71
|
-
- stairs
|
|
72
|
-
- chain
|