feat(build): Invoke pkgctl offload server subcommand over ssh
Use a client-server script invocation instead of piping complex shell
commands as pure strings to the remote. Now we call a server use only
component on the remote server to execute the desired build.
This change allows for properly developing the remote command without
golfind around shell strings and while having appropriate completion,
syntax highlight and LSP support. As a side-effect we are now not
depending on a POSIX compliant login shell anymore, as we simply invike
a pkgctl subcommand schema.
Component: pkgctl build
Signed-off-by:
Levente Polyak <anthraxx@archlinux.org>
parent
8af7a50c
Branches feature/offload-command
No related tags found
Showing
- contrib/completion/bash/devtools.in 0 additions, 16 deletionscontrib/completion/bash/devtools.in
- contrib/completion/zsh/_devtools.in 1 addition, 8 deletionscontrib/completion/zsh/_devtools.in
- doc/man/devtools.7.asciidoc 0 additions, 3 deletionsdoc/man/devtools.7.asciidoc
- doc/man/offload-build.1.asciidoc 0 additions, 52 deletionsdoc/man/offload-build.1.asciidoc
- src/lib/build/build.sh 6 additions, 1 deletionsrc/lib/build/build.sh
- src/lib/build/offload.sh 228 additions, 0 deletionssrc/lib/build/offload.sh
- src/offload-build.in 0 additions, 162 deletionssrc/offload-build.in
- src/pkgctl.in 8 additions, 0 deletionssrc/pkgctl.in
doc/man/offload-build.1.asciidoc
deleted
100644 → 0
src/lib/build/offload.sh
0 → 100644
src/offload-build.in
deleted
100644 → 0
Please register or sign in to comment