]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
safcm: add experimental support to sync from Windows hosts
authorSimon Ruderich <simon@ruderich.org>
Thu, 13 May 2021 11:55:47 +0000 (13:55 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 13 May 2021 11:55:47 +0000 (13:55 +0200)
commit6a40d84afc959f404f243b1c00ab95dc9dd9c721
tree8c29b55d0c08a41ba353ba0d27535a414a07267b
parentafb7e8e2c886c9907f9aee8f9c32baabcbbcf997
safcm: add experimental support to sync from Windows hosts

This is _very_ experimental. The testsuite doesn't yet run on Windows
and only a few manual tests were run. Basically this is only present
because it was used to verify our changes to always use slash-separated
paths in the configuration on a real system. It seemed a waste to just
throw it away.

To build the binary for windows use (empty GOFLAGS to disable -race):

    make GOOS=windows GOFLAGS=
cmd/safcm-remote/sync/files.go
cmd/safcm-remote/sync/files_windows.go [new file with mode: 0644]
cmd/safcm/config/files.go
cmd/safcm/sync.go