Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
8428077f
Commit
8428077f
authored
Aug 28, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitask: add ls -w [N] to watch the list
parent
15f85d16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
gitask
bin/gitask
+7
-1
No files found.
bin/gitask
View file @
8428077f
...
@@ -17,7 +17,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
...
@@ -17,7 +17,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
docmd ssh
$GEARHOST
task
help
|
sed
-e
"s|abort|cancel|g"
docmd ssh
$GEARHOST
task
help
|
sed
-e
"s|abort|cancel|g"
echo
echo
echo
"Examples:"
echo
"Examples:"
echo
" ls [-a|--all]
- list tasks (--all for all user
s)"
echo
" ls [-a|--all]
[-w [N]] - list tasks (--all for all users) (-w [N] for update every N second
s)"
echo
" new [branch] - create new task on branch (Sisyphus by default)"
echo
" new [branch] - create new task on branch (Sisyphus by default)"
echo
" run [--test-only] [NNNN] [NNNN2] [-m <message>] - run task NNNN"
echo
" run [--test-only] [NNNN] [NNNN2] [-m <message>] - run task NNNN"
echo
" commit [NNNN] [NNNN2] [-m <message>] - commit task(s) NNNN, [NNNN2]"
echo
" commit [NNNN] [NNNN2] [-m <message>] - commit task(s) NNNN, [NNNN2]"
...
@@ -171,6 +171,12 @@ if [ "$1" = "ls" ] ; then
...
@@ -171,6 +171,12 @@ if [ "$1" = "ls" ] ; then
docmd ssh
$GEARHOST
task
ls
--user
=
ALL
--state
=
ALL
docmd ssh
$GEARHOST
task
ls
--user
=
ALL
--state
=
ALL
exit
exit
fi
fi
if
[
"
$1
"
=
"-w"
]
;
then
WN
=
"
$2
"
[
-n
"
$WN
"
]
&&
WN
=
10
watch
-c
-n
$WN
$0
ls
exit
fi
# TODO: with arg(s) — subtask
# TODO: with arg(s) — subtask
# TODO: add support ls -a (with subtasks)
# TODO: add support ls -a (with subtasks)
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment