]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
Move implementation of cmd/safcm-remote/ to remote/
authorSimon Ruderich <simon@ruderich.org>
Tue, 18 May 2021 10:29:48 +0000 (12:29 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 18 May 2021 10:29:48 +0000 (12:29 +0200)
commit9269fa3c94e700afc0be823f58ea473a2db8f3dc
treed175601e81cd8b27285abb0ce3fdcafc2d49fece
parentfd97e8019e2ab166d9475ed59782c86247d8430b
Move implementation of cmd/safcm-remote/ to remote/

This permits users of the safcm library to easily "implement"
`safcm-remote` simply by calling safcm/remote.Main(). They cannot use
the existing cmd/safcm-remote/ because the source tree is not directly
available when importing the library.
27 files changed:
cmd/safcm-remote/main.go
cmd/safcm/config/files_test.go
cmd/safcm/fixperms.go
cmd/safcm/main_sync_test.go
remote/ainsl/ainsl.go [moved from cmd/safcm-remote/ainsl/ainsl.go with 98% similarity]
remote/ainsl/ainsl_test.go [moved from cmd/safcm-remote/ainsl/ainsl_test.go with 98% similarity]
remote/info/info.go [moved from cmd/safcm-remote/info/info.go with 93% similarity]
remote/log/logger.go [moved from cmd/safcm-remote/log/logger.go with 100% similarity]
remote/main.go [new file with mode: 0644]
remote/run/cmd.go [moved from cmd/safcm-remote/run/cmd.go with 98% similarity]
remote/run/runner.go [moved from cmd/safcm-remote/run/runner.go with 100% similarity]
remote/sync/commands.go [moved from cmd/safcm-remote/sync/commands.go with 98% similarity]
remote/sync/commands_test.go [moved from cmd/safcm-remote/sync/commands_test.go with 100% similarity]
remote/sync/files.go [moved from cmd/safcm-remote/sync/files.go with 100% similarity]
remote/sync/files_test.go [moved from cmd/safcm-remote/sync/files_test.go with 99% similarity]
remote/sync/files_windows.go [moved from cmd/safcm-remote/sync/files_windows.go with 100% similarity]
remote/sync/filetest/filetest.go [moved from cmd/safcm-remote/sync/filetest/filetest.go with 100% similarity]
remote/sync/packages.go [moved from cmd/safcm-remote/sync/packages.go with 100% similarity]
remote/sync/packages_debian.go [moved from cmd/safcm-remote/sync/packages_debian.go with 100% similarity]
remote/sync/packages_debian_test.go [moved from cmd/safcm-remote/sync/packages_debian_test.go with 100% similarity]
remote/sync/services.go [moved from cmd/safcm-remote/sync/services.go with 100% similarity]
remote/sync/services_systemd.go [moved from cmd/safcm-remote/sync/services_systemd.go with 100% similarity]
remote/sync/services_systemd_test.go [moved from cmd/safcm-remote/sync/services_systemd_test.go with 100% similarity]
remote/sync/sync.go [moved from cmd/safcm-remote/sync/sync.go with 95% similarity]
remote/sync/sync_test.go [moved from cmd/safcm-remote/sync/sync_test.go with 97% similarity]
remote/sync/triggers.go [moved from cmd/safcm-remote/sync/triggers.go with 100% similarity]
remote/sync/triggers_test.go [moved from cmd/safcm-remote/sync/triggers_test.go with 100% similarity]