71 Commits

Author SHA1 Message Date
438e48c6fe WIP: added fallback env 2025-05-26 21:05:12 +10:00
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
2474d3cddf updated Dockerfile to match golang version in the go.mod file. 2025-05-25 13:29:03 +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
630e4c2248 updated dependencies v0.2.0 2024-09-22 11:40:35 +10:00
bcb6435b4a fix no config panic & wingmate.yaml doc 2024-09-22 10:51:24 +10:00
3c0816f5f3 chore: rearranged docker contents 2024-09-20 12:11:25 +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
a0dad29950 doc: updating wingmate.yaml.md 2024-05-01 20:51:14 +10:00
97d637ef2c doc: updating README.md and start writing wingmate.yaml.md 2024-05-01 20:31:36 +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
cdc66a2c22 wip: feat(task): added missing information and rearrange 2024-01-11 11:56:18 +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
db251da5f6 wip: refactor(config): completed task structure 2024-01-10 22:29:30 +11:00
99436e54cd wip: task structure 2024-01-07 08:49:21 +00:00
a2f7dbca82 wip: new config unit test 2024-01-06 23:09:34 +00: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
6a40403434 wip: refactor(config): added new structures
wip: feat(task): renamed structure
2024-01-01 22:45:02 +11:00
98d57cda84 wip: feat(task): added AutoStart and AutoRestart on ServiceTask 2024-01-01 11:35:18 +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
b2668287ae Merge pull request 'README.md + Example + Docker build args + wmpidproxy fix' (#1) from readme into main
Reviewed-on: #1
v0.1.0
2023-12-26 20:57:04 +00:00
08a040ac72 doc: getting-started 2023-12-27 07:51:31 +11:00
6df8ba2810 fix doc: dir reference 2023-12-26 10:00:04 +11:00
7785b3ec48 fix(pidproxy): replace Timer with Ticker
tested: ssh-docker
2023-12-26 09:53:37 +11:00
70a4d132c3 Merge branch 'main' into readme 2023-12-26 09:21:09 +11:00
b15066b513 fix(pidproxy): handle new line
example: sshd
2023-12-26 09:20:42 +11:00
e2275ef05e wip doc: merge getting started to README.md 2023-12-26 08:23:34 +11:00
541228bf68 wip: writing documentation 2023-12-25 13:38:18 +11:00
a87c568335 wip: config unit test 2023-12-25 13:13:03 +11:00
574d3deb56 wip: getting started 2023-12-19 15:54:28 +11:00
5679faecdb chore: exclude test binary on default build 2023-12-18 12:28:14 +00:00
2a4629c017 wip: README.md 2023-12-18 22:45:19 +11:00
c043c91f0e chore(Makefiles): to simplify Dockerfile
fix(wmexec): setgid before setuid
test(wmexec): tested
2023-12-17 23:45:03 +00:00