1827cf2e3e
WIP: updated log level on some log entries and added environment variable expansion for command line and its arguments
2025-05-26 17:17:20 +10:00
61d735bbad
WIP: unit test done, need further test
2025-05-25 09:12:39 +10:00
6e84adbf16
WIP: environment variable manipulation
2025-05-24 22:32:06 +10:00
bcb6435b4a
fix no config panic & wingmate.yaml doc
2024-09-22 10:51:24 +10:00
b83c3acc30
cleaned up wingmate: unify version mechanism on all binaries
2024-09-19 19:17:09 +10:00
fe31698724
tested version flag and subcmd on exec and pidproxy; some clean up
2024-09-19 17:34:56 +10:00
dc6d575fae
switch workstation
2024-09-19 15:58:58 +10:00
6092629cb4
fix(version): command line flag
2024-03-30 00:37:51 +00:00
3bdca8c540
fix(task/cron): use the correct pointer to build structure
...
feat(init): included enviroment variable and working directory
test(cron): wip
2024-03-29 11:30:36 +00:00
f2bfd6e60b
fix(init): removed unnecessary error message when waiting for child process; race with wait all
...
fix(exec): fallback to os.Args when no delimiter found
fix(pidproxy): fallback to os.Args when no delimiter found
fix(splitargs): return full selfArgs
fix(experiment/starter): replaced bool no-wait with count
test(docker/bookworm-newconfig): added test for background process + pid proxy
2024-03-28 22:21:57 +11:00
a0134fa400
feat(experiment/bg): added bg utility to help pid proxy testing
...
feat(experiment/starter): added option to skip waiting for child process
2024-03-28 00:20:45 +00:00
7db6f6f8f3
fix(splitargs): wrong code, check should be outside of loop
...
feat(config): added WMPidProxyCheckVersion and WMExecCheckVersion to the interface; mutex for accessing viper
fixed(docker/bookworm-newconfig): golang version and config path
feat(UtilDepCheck): added utility dependency check before running the task
2024-03-27 23:04:30 +11:00
a63646aab2
wip: prepareCommand for service completed; next cron
2024-03-24 12:54:37 +00:00
8f68c4ace9
wip: created example files with new config and implementing new config in init
2024-03-24 13:24:47 +11:00
6032b6c0c1
wip: using pflag and viper; remove go routine for exec file search
2024-03-21 11:26:11 +11:00
a1d0360d46
wip: feat(FindUtils): find wmexec and wmpidproxy + get version
2024-01-25 19:40:50 +11:00
2c9bc8b56d
wip: feat(wingmate): convert from new config to task
2024-01-12 11:33:06 +11:00
1926598c0f
wip: feat(task): defined concrete type for user group
...
wip: feat(version): added placeholder file + update gitignore
wip: chore: removed unnecessary files
2024-01-11 13:13:33 +11:00
6a68209629
wip: version cmd/flag use common functions
2024-01-11 11:47:50 +11:00
fe465ad031
wip: fix placeholder file
2024-01-11 09:09:32 +11:00
3dbac84f36
wip: add version command to exec
2024-01-11 09:06:11 +11:00
006f8278d7
wip: feat(cron in new config): added parser
...
wip: fix: remove unreachable code
wip: test cron
2024-01-04 22:55:16 +00:00
6dd0a8007c
wip: refactor(config): yaml parsed
...
wip: chore(makefile): prepare version info
2024-01-02 23:11:58 +11:00
5bae155b3b
wip: refactor(config): fix pointer type
2023-12-31 15:00:25 +11:00
22fee125bc
wip: refactor for new config format
2023-12-31 13:51:17 +11:00
7785b3ec48
fix(pidproxy): replace Timer with Ticker
...
tested: ssh-docker
2023-12-26 09:53:37 +11:00
b15066b513
fix(pidproxy): handle new line
...
example: sshd
2023-12-26 09:20:42 +11:00
c043c91f0e
chore(Makefiles): to simplify Dockerfile
...
fix(wmexec): setgid before setuid
test(wmexec): tested
2023-12-17 23:45:03 +00:00
15a804aa7d
feat(exec): cgo call to getpwnam and getgrnam
2023-12-17 05:23:26 +00:00
653b4ff158
feat(exec): initial
2023-12-17 03:36:47 +00:00
9c74296c27
chore(pidproxy): remove binary from git and update .gitignore
2023-12-12 01:25:31 +00:00
8a85ad5107
feat(pidproxy): added signal handler
2023-12-12 00:29:32 +00:00
ad8499daa5
feat(pidproxy): read startsecs from env
...
chore: centralize env prefix
2023-12-10 22:23:43 +11:00
dbe9dbba9c
test: prep pidproxy
2023-12-10 09:37:55 +00:00
4ec5750cd5
feat: pidproxy and Makefile
2023-12-10 05:39:37 +00:00
2eae19f64c
fix: env binding in oneshot and less output from dummy
2023-12-09 09:58:49 +00:00
dd66cb9f1e
test: prepare
2023-12-09 08:40:07 +00:00
d5eb872b13
fix: mismatch WaitGroup
2023-12-09 04:29:38 +00:00
9128503da1
wip: pipe stdout & stderr
2023-12-09 02:44:06 +00:00
2971f5c709
wip: ready for initial test
2023-12-08 15:15:35 +11:00
a4ba011b36
wip: start simple
2023-12-08 15:15:35 +11:00