]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
config: rename group_order to group_priority
authorSimon Ruderich <simon@ruderich.org>
Wed, 28 Apr 2021 05:48:18 +0000 (07:48 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 28 Apr 2021 05:53:22 +0000 (07:53 +0200)
commit45f6c93c3d7ef4a300707bb96d4a1e1fce6df55f
treea829fef6ee33934c90cd93f3331e02b5d7319310
parent20686d0d25d7d22f577fc80df31c192b6a88d318
config: rename group_order to group_priority

"Priority" describes the actual function better and it was already used
internally in the code anyway.
32 files changed:
README.adoc
cmd/safcm/config/config.go
cmd/safcm/config/groups.go
cmd/safcm/config/groups_test.go
cmd/safcm/main_sync_test.go
cmd/safcm/sync_sync.go
cmd/safcm/sync_sync_test.go
cmd/safcm/testdata/project-group_order-single/config.yaml [deleted file]
cmd/safcm/testdata/project-group_priority-single/config.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_priority-single/group-a/files/file.txt [moved from cmd/safcm/testdata/project-group_order-single/group-a/files/file.txt with 100% similarity]
cmd/safcm/testdata/project-group_priority-single/group-b/files/file.txt [moved from cmd/safcm/testdata/project-group_order-single/group-b/files/file.txt with 100% similarity]
cmd/safcm/testdata/project-group_priority-single/groups.yaml [moved from cmd/safcm/testdata/project-group_order-single/groups.yaml with 100% similarity]
cmd/safcm/testdata/project-group_priority-single/hosts.yaml [moved from cmd/safcm/testdata/project-group_order-single/hosts.yaml with 100% similarity]
cmd/safcm/testdata/project-group_priority/config.yaml [moved from cmd/safcm/testdata/project-group_order/config.yaml with 66% similarity]
cmd/safcm/testdata/project-group_priority/group-a/files/etc/dir-to-file [moved from cmd/safcm/testdata/project-group_order/group-a/files/etc/dir-to-file with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-a/files/etc/dir-to-link [moved from cmd/safcm/testdata/project-group_order/group-a/files/etc/dir-to-link with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-a/files/etc/file-to-dir/dir/file2 [moved from cmd/safcm/testdata/project-group_order/group-a/files/etc/file-to-dir/dir/file2 with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-a/files/etc/file-to-dir/file [moved from cmd/safcm/testdata/project-group_order/group-a/files/etc/file-to-dir/file with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-a/files/etc/motd [moved from cmd/safcm/testdata/project-group_order/group-a/files/etc/motd with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-a/triggers.yaml [moved from cmd/safcm/testdata/project-group_order/group-a/triggers.yaml with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-file/dir/file2 [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-file/dir/file2 with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-file/file [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-file/file with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-filex [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-filex with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-link/dir-to-file/dir/file2 [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-link/dir-to-file/dir/file2 with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-link/dir-to-file/file [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-link/dir-to-file/file with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/dir-to-linkx [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-linkx with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/file-to-dir [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/file-to-dir with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/files/etc/motd [moved from cmd/safcm/testdata/project-group_order/group-b/files/etc/motd with 100% similarity]
cmd/safcm/testdata/project-group_priority/group-b/triggers.yaml [moved from cmd/safcm/testdata/project-group_order/group-b/triggers.yaml with 100% similarity]
cmd/safcm/testdata/project-group_priority/groups.yaml [moved from cmd/safcm/testdata/project-group_order/groups.yaml with 100% similarity]
cmd/safcm/testdata/project-group_priority/host1.example.org/files/etc/motd [moved from cmd/safcm/testdata/project-group_order/host1.example.org/files/etc/motd with 100% similarity]
cmd/safcm/testdata/project-group_priority/hosts.yaml [moved from cmd/safcm/testdata/project-group_order/hosts.yaml with 100% similarity]