git-pr / feat: improve documentation #21

accepted · opened on 2024-08-29T14:09:39Z by in0rdr
Help
# add changes to patch request
git format-patch main --stdout | ssh pr.pico.sh pr add 21
# add review to patch request
git format-patch main --stdout | ssh pr.pico.sh pr add --review 21
# remove patchset
ssh pr.pico.sh ps rm ps-x
# checkout all patches
ssh pr.pico.sh pr print 21 | git am -3
# print a diff between the last two patches in a patch request
ssh pr.pico.sh pr diff 21
# accept PR
ssh pr.pico.sh pr accept 21
# close PR
ssh pr.pico.sh pr close 21

Logs

in0rdr created pr with ps-37 on 2024-08-29T14:09:39Z
erockmKua changed status on 2024-09-16T02:57:43Z {"status":"accepted"}

Patchsets

Diff ↕

feat: improve documentation

Andreas Gruhler <andreas.gruhler@adfinis.com>
This improves documentation by stating the admin list needs to be
populated with ssh pubkeys and that the config file repos can be
configured with a default_branch name to show in the help text.
 git-pr.toml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 1From da5fad52c9c8fa8deb1b52ece7b98bb337ec67b8 Mon Sep 17 00:00:00 2001
 2From: Andreas Gruhler <andreas.gruhler@adfinis.com>
 3Date: Thu, 29 Aug 2024 00:37:42 +0200
 4Subject: [PATCH] feat: improve documentation
 5
 6This improves documentation by stating the admin list needs to be
 7populated with ssh pubkeys and that the config file repos can be
 8configured with a default_branch name to show in the help text.
 9---
10 git-pr.toml | 4 +++-
11 1 file changed, 3 insertions(+), 1 deletion(-)
12
13diff --git a/git-pr.toml b/git-pr.toml
14index 1f81883..5546e6d 100644
15--- a/git-pr.toml
16+++ b/git-pr.toml
17@@ -2,7 +2,8 @@
18 url = "localhost"
19 # where we store the sqlite db, this toml file, git repos, and ssh host keys
20 data_dir = "./data"
21-# this gives users the ability to submit reviews and other admin permissions
22+# list of admin ssh pubkeys, authorized to submit review and other admin
23+# permissions
24 admins = []
25 # set datetime format for our clients
26 time_format = "2006-01-02"
27@@ -10,5 +11,6 @@ time_format = "2006-01-02"
28 # add as many repos as you want
29 [[repo]]
30 id = "test"
31+default_branch = "main"
32 clone_addr = "https://github.com/picosh/test.git"
33 desc = "Test repo"
34-- 
352.44.1
36
ps-37 by in0rdr on 2024-08-29T14:09:39Z

feat: improve documentation

Andreas Gruhler <andreas.gruhler@adfinis.com> 2024-08-28T22:37:42Z
This improves documentation by stating the admin list needs to be
populated with ssh pubkeys and that the config file repos can be
configured with a default_branch name to show in the help text.
 git-pr.toml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 1From da5fad52c9c8fa8deb1b52ece7b98bb337ec67b8 Mon Sep 17 00:00:00 2001
 2From: Andreas Gruhler <andreas.gruhler@adfinis.com>
 3Date: Thu, 29 Aug 2024 00:37:42 +0200
 4Subject: [PATCH] feat: improve documentation
 5
 6This improves documentation by stating the admin list needs to be
 7populated with ssh pubkeys and that the config file repos can be
 8configured with a default_branch name to show in the help text.
 9---
10 git-pr.toml | 4 +++-
11 1 file changed, 3 insertions(+), 1 deletion(-)
12
13diff --git a/git-pr.toml b/git-pr.toml
14index 1f81883..5546e6d 100644
15--- a/git-pr.toml
16+++ b/git-pr.toml
17@@ -2,7 +2,8 @@
18 url = "localhost"
19 # where we store the sqlite db, this toml file, git repos, and ssh host keys
20 data_dir = "./data"
21-# this gives users the ability to submit reviews and other admin permissions
22+# list of admin ssh pubkeys, authorized to submit review and other admin
23+# permissions
24 admins = []
25 # set datetime format for our clients
26 time_format = "2006-01-02"
27@@ -10,5 +11,6 @@ time_format = "2006-01-02"
28 # add as many repos as you want
29 [[repo]]
30 id = "test"
31+default_branch = "main"
32 clone_addr = "https://github.com/picosh/test.git"
33 desc = "Test repo"
34-- 
352.44.1
36