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
93bba62c
Commit
93bba62c
authored
Dec 01, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitask: add find, show, ls, quota
parent
ceeed440
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
gitask
bin/gitask
+25
-1
No files found.
bin/gitask
View file @
93bba62c
...
...
@@ -11,7 +11,8 @@ set_girar_host $1 && shift
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gitask ssh gear.alt task wrapper"
echo
"Use: gitask [task|show]"
echo
"Use: gitask [GIRAR] [task|show]"
echo
"
$HELP_GIRAR
"
echo
" --help - help"
docmd ssh
$GEARHOST
task
help
exit
0
...
...
@@ -19,13 +20,36 @@ fi
# TODO: acl
if
[
"
$1
"
=
"find"
]
;
then
shift
#showcmd "$GEARHOST>" find-packages "$@"
docmd ssh
$GITHOST
find-package
"
$@
"
exit
fi
if
[
"
$1
"
=
"show"
]
;
then
shift
# TODO: show last task without args
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
GIT_ALT
=
$GEARHOST
girar-show
"
$@
"
exit
fi
if
[
"
$1
"
=
"ls"
]
;
then
shift
# TODO: with arg(s) — subtask
# TODO: add support ls -a (with subtasks)
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
GIT_ALT
=
$GEARHOST
girar-show
"
$@
"
exit
fi
if
[
"
$1
"
=
"quota"
]
;
then
docmd ssh
$GEARHOST
quota
exit
fi
if
[
"
$1
"
=
"task"
]
;
then
# by default
shift
...
...
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