Skip to content

Commit ef982aa

Browse files
committed
list-hub/refresh-hub/oneliner
new config: OVE_HUB_URL_LIST
1 parent ef30897 commit ef982aa

File tree

8 files changed

+248
-30
lines changed

8 files changed

+248
-30
lines changed

distrocheck

+1-1
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ EOF
10271027
"${container_name}${_home}/SETUP"
10281028
container_exec "bash ${_home}/SETUP"
10291029
else
1030-
container_exec "bash -c '$(ove-setup)'"
1030+
container_exec "bash -c '$(ove-oneliner)'"
10311031
fi
10321032
ws_name=$(container_exec "bash -c 'find -mindepth 2 -maxdepth 2 -name .owel' | cut -d/ -f2")
10331033
ws_name=${ws_name//[$'\t\r\n']/}

doc/ove-cmd-list.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
| help | [pattern] | OVE help | CORE |
7171
| hooks | [disable\|enable\|install\|remove [hook]\|list] | manage hooks | CORE |
7272
| ide | [close\|reopen] | launch one or more 'loop'-commands specified by OVE_IDE_LOOP_ARGS (tmux only) | UTIL |
73-
| image-refresh | | refresh list of available Linux distributions (incus\|LXD only) | UTIL |
7473
| import | file | import project(s), see export | CORE |
7574
| import-submodules | [git] | append submodule(s) to 'revtab' and run fetch for all/specified git repositories | CORE |
7675
| init | \|[dir]\|[dir name] | scan directories and look for git repositories, if found create/update a OVE workspace | CORE |
@@ -93,6 +92,7 @@
9392
| list-git-command-options | | list git command options (d=default, o=override) | CORE |
9493
| list-heads | [git...] | git log for all/specified git repositories | CORE |
9594
| list-hooks | [enabled\|disabled] | list installed hooks | CORE |
95+
| list-hub | | list hub | CORE |
9696
| list-missing-projects | [project...\|tag...] | list any missing project(s) | CORE |
9797
| list-modified-files | | list modified files | CORE |
9898
| list-modified-files-basename | | list modified files (basename) | CORE |
@@ -119,16 +119,20 @@
119119
| mrproper | [y] | remove untracked repository files, '${OVE_STAGE_DIR}/*' and '${OVE_ARCHIVE_DIR}/*', USE WITH CARE | BUILD |
120120
| news | [git...] | list upstream changes for all/specified repositories | CORE |
121121
| nop | | do nothing | DEBUG |
122+
| oneliner | [dir] | print or execute ${OVE_OWEL_DIR}/SETUP | CORE |
122123
| patch-repo | [git...] | patch all/specified repositories with $OVE_OWEL_DIR/patches/[<git>/]{*.diff,*.patch} (override OVE_PATCH_REPOS) | CORE |
123124
| post-push | | run OVE unittests within a few Linux distributions specified by ${OVE_DIR}/tests/distrocheck.list (incus\|LXD only) | INTERNAL |
124125
| post-push-parallel | | post-push in parallel (tmux and incus\|LXD only) | INTERNAL |
125126
| pre-push | | shell-check+unittest+generate-doc combo | INTERNAL |
126127
| proj2val | project...\|tag... key | print project(s) value based on key | CORE |
127128
| pull | [git...] | git pull for all/specified repositories | CORE |
129+
| purge-hub | | purge hub | CORE |
128130
| readme | [git...] | display README files for all/specified git repositories | UTIL |
129131
| rebase-autosquash | [git...] | run 'git rebase -i HEAD~N --autosquash' where N is the number of local commits not yet published | CORE |
130132
| rec | [0\|1] | toggle or set screen recording |
131133
| refresh | [pattern...] | refresh OVE workspaces on this host | UTIL |
134+
| refresh-hub | | refresh hub | CORE |
135+
| refresh-image | | refresh list of available Linux distributions (incus\|LXD only) | UTIL |
132136
| remote | [git...] | git remote -v for all/specified git repositories | CORE |
133137
| remote-check | | sanity check that all remotes are online | CORE |
134138
| remote-set-url | url [git...] | change the URL of 'origin' remote for all/specified repositories | CORE |
@@ -147,7 +151,7 @@
147151
| rm-logs | [days [y]] | remove OVE logs older than 30\|days days. days=0 => all logs | LOG |
148152
| run | \|t c | run one command 'c' in terminal/tmux with timeout 't' (0=no timeout) | UTIL |
149153
| run-parallel | t0 c0 [t1 c1 t2 c2...] | run commands in parallel (tmux only) | UTIL |
150-
| setup | [dir] | print or execute ${OVE_OWEL_DIR}/SETUP | CORE |
154+
| setup | [dir url [rev]] | setup OVE workspace | CORE |
151155
| shell-check | | run shellcheck on OVE | INTERNAL |
152156
| shortlog-owel | <rev> <rev> | shortlog two OWEL revisions | CORE |
153157
| show | [rev...] | ove list-heads or search for 'rev' within all git repositories. If found run 'git show rev' | CORE |

doc/ove-config-list.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
| OVE_HASH_SIZE_THRESHOLD_IN_BYTES | int | | all | do not run md5sum on large files | 104857600 |
3535
| OVE_HEADS2REVTAB_MODE | int | 0\|1 | heads2revtab | include detached repos (=0), exclude detached repos (=1) | 0 |
3636
| OVE_HOOKS_APPEND_TO_LASTLOG | int | 0-1 | all | append output from hooks to lastlog | 1 |
37+
| OVE_HUB_URL_LIST | string | | list-hub refresh-hub setup | semi-colon separated list of hub URLs | |
3738
| OVE_IDE_LOOP_ARGS | string | | ide | semi-colon separated list of arguments to 'ove-loop' to launch | 3600 0 0 fetch;60 1 0 ahead;3600 0 0 news |
3839
| OVE_IDE_SLEEP_BETWEEN_COMMANDS | float | | ide | sleep between each command | 0.5 |
3940
| OVE_IMPORT_PROJECTS | int | 0-2 | add-repo | skip (=0), import (=1) or prompt user (=2) | 2 |

doc/ove-externals-list.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
| Command | Usage |
22
| --- | --- |
33
| ag | 3 |
4-
| awk | 55 |
4+
| awk | 56 |
55
| basename | 1 |
66
| bash | 18 |
7-
| cat | 52 |
7+
| cat | 54 |
88
| chmod | 7 |
9-
| column | 27 |
9+
| column | 28 |
1010
| comm | 15 |
1111
| convert | 1 |
1212
| cp | 6 |
@@ -25,10 +25,10 @@
2525
| fold | 2 |
2626
| fzf | 5 |
2727
| getconf | 2 |
28-
| git | 82 |
28+
| git | 84 |
2929
| graph-easy | 2 |
30-
| grep | 181 |
31-
| head | 21 |
30+
| grep | 182 |
31+
| head | 22 |
3232
| incus | 0 |
3333
| inotifywait | 3 |
3434
| jp2a | 1 |
@@ -50,25 +50,25 @@
5050
| recordmydesktop | 1 |
5151
| rev | 4 |
5252
| rg | 1 |
53-
| rm | 53 |
53+
| rm | 54 |
5454
| rmdir | 3 |
5555
| scp | 3 |
5656
| script | 4 |
5757
| scriptreplay | 1 |
58-
| sed | 88 |
58+
| sed | 89 |
5959
| seq | 11 |
6060
| setsid | 1 |
6161
| shellcheck | 1 |
6262
| sleep | 16 |
63-
| sort | 116 |
63+
| sort | 117 |
6464
| ssh | 7 |
6565
| stat | 8 |
6666
| stty | 1 |
6767
| su | 1 |
6868
| sudo | 8 |
6969
| sync | 1 |
7070
| tac | 3 |
71-
| tail | 11 |
71+
| tail | 12 |
7272
| tar | 8 |
7373
| task | 2 |
7474
| tee | 11 |
@@ -87,4 +87,4 @@
8787
| xargs | 35 |
8888
| xdotool | 1 |
8989
| yamllint | 1 |
90-
| __sum__ | __1290__ |
90+
| __sum__ | __1302__ |

0 commit comments

Comments
 (0)