confctl 1.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.editorconfig +1 -1
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +30 -1
- data/README.md +4 -9
- data/confctl.gemspec +14 -14
- data/docs/carrier.md +150 -0
- data/lib/confctl/cli/app.rb +19 -0
- data/lib/confctl/cli/cluster.rb +214 -49
- data/lib/confctl/cli/configuration.rb +7 -2
- data/lib/confctl/cli/gen_data.rb +19 -1
- data/lib/confctl/cli/generation.rb +47 -16
- data/lib/confctl/generation/build.rb +42 -1
- data/lib/confctl/generation/build_list.rb +10 -0
- data/lib/confctl/generation/host.rb +9 -5
- data/lib/confctl/generation/host_list.rb +22 -7
- data/lib/confctl/generation/unified.rb +5 -0
- data/lib/confctl/generation/unified_list.rb +10 -0
- data/lib/confctl/git_repo_mirror.rb +2 -2
- data/lib/confctl/machine.rb +105 -11
- data/lib/confctl/machine_control.rb +10 -2
- data/lib/confctl/machine_list.rb +18 -1
- data/lib/confctl/machine_status.rb +51 -4
- data/lib/confctl/nix.rb +90 -22
- data/lib/confctl/nix_copy.rb +5 -5
- data/lib/confctl/null_logger.rb +7 -0
- data/lib/confctl/swpins/specs/git.rb +1 -1
- data/lib/confctl/swpins/specs/git_rev.rb +1 -1
- data/lib/confctl/system_command.rb +3 -2
- data/lib/confctl/version.rb +1 -1
- data/libexec/auto-rollback.rb +106 -0
- data/man/man8/confctl-options.nix.8 +165 -1
- data/man/man8/confctl-options.nix.8.md +165 -1
- data/man/man8/confctl.8 +109 -73
- data/man/man8/confctl.8.md +86 -55
- data/nix/evaluator.nix +26 -7
- data/nix/lib/default.nix +64 -17
- data/nix/lib/machine/default.nix +14 -11
- data/nix/lib/machine/info.nix +3 -3
- data/nix/modules/cluster/default.nix +162 -3
- data/nix/modules/confctl/carrier/base.nix +35 -0
- data/nix/modules/confctl/carrier/carrier-env.rb +81 -0
- data/nix/modules/confctl/carrier/netboot/build-netboot-server.rb +962 -0
- data/nix/modules/confctl/carrier/netboot/nixos.nix +185 -0
- data/nix/modules/confctl/kexec-netboot/default.nix +36 -0
- data/nix/modules/confctl/kexec-netboot/kexec-netboot.8.adoc +62 -0
- data/nix/modules/confctl/kexec-netboot/kexec-netboot.rb +455 -0
- data/nix/modules/system-list.nix +10 -0
- metadata +17 -7
- data/.ruby-version +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
# confctl-options.nix 8 2024-
|
1
|
+
# confctl-options.nix 8 2024-05-07 master
|
2
2
|
|
3
3
|
## NAME
|
4
4
|
`confctl-options.nix` - confctl configuration documentation
|
@@ -601,6 +601,22 @@ the deployment configuration directory, i.e. `cluster/<machine-name>/module.nix`
|
|
601
601
|
|
602
602
|
*Declared by:* `<confctl/nix/modules/cluster>`
|
603
603
|
|
604
|
+
`cluster.<name>.buildAttribute`
|
605
|
+
Path to the attribute in machine system config that should be built
|
606
|
+
|
607
|
+
For example, `[ "system" "build" "toplevel" ]` will select attribute
|
608
|
+
`config.system.build.toplevel`.
|
609
|
+
|
610
|
+
*Type:* list of string
|
611
|
+
|
612
|
+
*Default:* `[
|
613
|
+
"system"
|
614
|
+
"build"
|
615
|
+
"toplevel"
|
616
|
+
]`
|
617
|
+
|
618
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
619
|
+
|
604
620
|
`cluster.<name>.buildGenerations.max`
|
605
621
|
The maximum number of build generations to be kept on the build
|
606
622
|
machine.
|
@@ -634,6 +650,151 @@ the deployment configuration directory, i.e. `cluster/<machine-name>/module.nix`
|
|
634
650
|
|
635
651
|
*Declared by:* `<confctl/nix/modules/cluster>`
|
636
652
|
|
653
|
+
`cluster.<name>.carrier.enable`
|
654
|
+
Whether to enable This machine is a carrier for other machines.
|
655
|
+
|
656
|
+
*Type:* boolean
|
657
|
+
|
658
|
+
*Default:* `false`
|
659
|
+
|
660
|
+
*Example:* `true`
|
661
|
+
|
662
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
663
|
+
|
664
|
+
`cluster.<name>.carrier.machines`
|
665
|
+
List of carried machines
|
666
|
+
|
667
|
+
*Type:* list of (submodule)
|
668
|
+
|
669
|
+
*Default:* `[ ]`
|
670
|
+
|
671
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
672
|
+
|
673
|
+
`cluster.<name>.carrier.machines.*.alias`
|
674
|
+
Alias for carried machine name
|
675
|
+
|
676
|
+
*Type:* null or string
|
677
|
+
|
678
|
+
*Default:* `null`
|
679
|
+
|
680
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
681
|
+
|
682
|
+
`cluster.<name>.carrier.machines.*.buildAttribute`
|
683
|
+
Path to the attribute in machine system config that should be built
|
684
|
+
|
685
|
+
For example, `[ "system" "build" "toplevel" ]` will select attribute
|
686
|
+
`config.system.build.toplevel`.
|
687
|
+
|
688
|
+
*Type:* list of string
|
689
|
+
|
690
|
+
*Default:* `[
|
691
|
+
"system"
|
692
|
+
"build"
|
693
|
+
"toplevel"
|
694
|
+
]`
|
695
|
+
|
696
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
697
|
+
|
698
|
+
`cluster.<name>.carrier.machines.*.buildGenerations.max`
|
699
|
+
The maximum number of build generations to be kept on the build
|
700
|
+
machine.
|
701
|
+
|
702
|
+
*Type:* null or signed integer
|
703
|
+
|
704
|
+
*Default:* `null`
|
705
|
+
|
706
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
707
|
+
|
708
|
+
`cluster.<name>.carrier.machines.*.buildGenerations.maxAge`
|
709
|
+
Delete build generations older than
|
710
|
+
`cluster.<name>.carrier.machines.*.buildGenerations.maxAge`
|
711
|
+
seconds from the build machine. Old generations are deleted even
|
712
|
+
if `cluster.<name>.carrier.machines.*.buildGenerations.max` is
|
713
|
+
not reached.
|
714
|
+
|
715
|
+
*Type:* null or signed integer
|
716
|
+
|
717
|
+
*Default:* `null`
|
718
|
+
|
719
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
720
|
+
|
721
|
+
`cluster.<name>.carrier.machines.*.buildGenerations.min`
|
722
|
+
The minimum number of build generations to be kept on the build
|
723
|
+
machine.
|
724
|
+
|
725
|
+
*Type:* null or signed integer
|
726
|
+
|
727
|
+
*Default:* `null`
|
728
|
+
|
729
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
730
|
+
|
731
|
+
`cluster.<name>.carrier.machines.*.extraModules`
|
732
|
+
A list of additional NixOS modules to be imported for this machine
|
733
|
+
|
734
|
+
*Type:* list of path
|
735
|
+
|
736
|
+
*Default:* `[ ]`
|
737
|
+
|
738
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
739
|
+
|
740
|
+
`cluster.<name>.carrier.machines.*.hostGenerations.max`
|
741
|
+
The maximum number of generations to be kept on the machine.
|
742
|
+
|
743
|
+
*Type:* null or signed integer
|
744
|
+
|
745
|
+
*Default:* `null`
|
746
|
+
|
747
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
748
|
+
|
749
|
+
`cluster.<name>.carrier.machines.*.hostGenerations.maxAge`
|
750
|
+
Delete generations older than
|
751
|
+
`cluster.<name>.carrier.machines.*.hostGenerations.maxAge`
|
752
|
+
seconds from the machine. Old generations are deleted even
|
753
|
+
if `cluster.<name>.carrier.machines.*.hostGenerations.max` is
|
754
|
+
not reached.
|
755
|
+
|
756
|
+
*Type:* null or signed integer
|
757
|
+
|
758
|
+
*Default:* `null`
|
759
|
+
|
760
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
761
|
+
|
762
|
+
`cluster.<name>.carrier.machines.*.hostGenerations.min`
|
763
|
+
The minimum number of generations to be kept on the machine.
|
764
|
+
|
765
|
+
*Type:* null or signed integer
|
766
|
+
|
767
|
+
*Default:* `null`
|
768
|
+
|
769
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
770
|
+
|
771
|
+
`cluster.<name>.carrier.machines.*.labels`
|
772
|
+
Optional user-defined labels to classify the machine
|
773
|
+
|
774
|
+
*Type:* attribute set
|
775
|
+
|
776
|
+
*Default:* `{ }`
|
777
|
+
|
778
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
779
|
+
|
780
|
+
`cluster.<name>.carrier.machines.*.machine`
|
781
|
+
Machine name
|
782
|
+
|
783
|
+
*Type:* string
|
784
|
+
|
785
|
+
*Default:* `null`
|
786
|
+
|
787
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
788
|
+
|
789
|
+
`cluster.<name>.carrier.machines.*.tags`
|
790
|
+
Optional user-defined tags to classify the machine
|
791
|
+
|
792
|
+
*Type:* list of string
|
793
|
+
|
794
|
+
*Default:* `[ ]`
|
795
|
+
|
796
|
+
*Declared by:* `<confctl/nix/modules/cluster>`
|
797
|
+
|
637
798
|
`cluster.<name>.healthChecks.builderCommands`
|
638
799
|
Check commands run on the build machine
|
639
800
|
|
@@ -1034,6 +1195,9 @@ the deployment configuration directory, i.e. `cluster/<machine-name>/module.nix`
|
|
1034
1195
|
|
1035
1196
|
`cluster.<name>.host.target`
|
1036
1197
|
Address/host to which the configuration is deployed to
|
1198
|
+
|
1199
|
+
Set to null if the machine is not deployable, e.g. when it is only used
|
1200
|
+
as a carried machine.
|
1037
1201
|
|
1038
1202
|
*Type:* null or string
|
1039
1203
|
|
data/man/man8/confctl.8
CHANGED
@@ -37,6 +37,11 @@ for more information.
|
|
37
37
|
similarly to shell patterns, see
|
38
38
|
\[la]http://ruby-doc.org/core/File.html#method-c-fnmatch-3F\[ra] for more
|
39
39
|
information.
|
40
|
+
.SH GENERATION OFFSETS
|
41
|
+
.PP
|
42
|
+
Generations can be selected by \fIoffset\fP\&. \fB\fC0\fR is the current (last) generation.
|
43
|
+
\fB\fC1\fR is the first (oldest) generation, \fB\fC2\fR the second generation, etc. \fB\fC\-1\fR is
|
44
|
+
the generation before last and so on.
|
40
45
|
.SH GLOBAL OPTIONS
|
41
46
|
.TP
|
42
47
|
\fB\fC\-c\fR, \fB\fC\-\-color\fR \fB\fCalways\fR|\fB\fCnever\fR|\fB\fCauto\fR
|
@@ -113,6 +118,10 @@ generations can be managed using \fB\fCconfctl generation\fR command family.
|
|
113
118
|
\fB\fC\-j\fR, \fB\fC\-\-max\-jobs\fR \fInumber\fP
|
114
119
|
Maximum number of build jobs, passed to \fB\fCnix\-build\fR\&. See man
|
115
120
|
.BR nix-build (1).
|
121
|
+
.PP
|
122
|
+
\fB\fC\-\-cores\fR \fInumber\fP
|
123
|
+
Number of CPU cores to use, passed to \fB\fCnix\-build\fR\&. See man
|
124
|
+
.BR nix-build (1).
|
116
125
|
.TP
|
117
126
|
\fB\fCconfctl deploy\fR [\fIoptions\fP] [\fImachine\-pattern\fP [\fB\fCboot\fR|\fB\fCswitch\fR|\fB\fCtest\fR|\fB\fCdry\-activate\fR]]
|
118
127
|
Deploy either a new or an existing build generation to matching machines.
|
@@ -135,7 +144,7 @@ the target machine. The default action is \fB\fCswitch\fR\&.
|
|
135
144
|
\fB\fC\-y\fR, \fB\fC\-\-yes\fR
|
136
145
|
Do not ask for confirmation on standard input, assume the answer is yes.
|
137
146
|
.PP
|
138
|
-
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fB\fCcurrent\fR
|
147
|
+
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fIoffset\fP|\fB\fCcurrent\fR
|
139
148
|
Do not build a new generation, but deploy an existing generation.
|
140
149
|
.PP
|
141
150
|
\fB\fC\-\-outdated\fR
|
@@ -165,6 +174,12 @@ the target machine. The default action is \fB\fCswitch\fR\&.
|
|
165
174
|
.PP
|
166
175
|
\fB\fC\-\-copy\-only\fR
|
167
176
|
Do not activate the copied closures.
|
177
|
+
.PP
|
178
|
+
\fB\fC\-\-enable\-auto\-rollback\fR
|
179
|
+
Enable auto\-rollback on deploy even if it is not enabled in machine configuration.
|
180
|
+
.PP
|
181
|
+
\fB\fC\-\-disable\-auto\-rollback\fR
|
182
|
+
Disable auto\-rollback on deploy if it is enabled in machine configuration.
|
168
183
|
.PP
|
169
184
|
\fB\fC\-\-reboot\fR
|
170
185
|
Applicable only when \fIswitch\-action\fP is \fB\fCboot\fR\&. Reboot the machine after the
|
@@ -177,6 +192,10 @@ the target machine. The default action is \fB\fCswitch\fR\&.
|
|
177
192
|
\fB\fC\-j\fR, \fB\fC\-\-max\-jobs\fR \fInumber\fP
|
178
193
|
Maximum number of build jobs, passed to \fB\fCnix\-build\fR\&. See man
|
179
194
|
.BR nix-build (1).
|
195
|
+
.PP
|
196
|
+
\fB\fC\-\-cores\fR \fInumber\fP
|
197
|
+
Number of CPU cores to use, passed to \fB\fCnix\-build\fR\&. See man
|
198
|
+
.BR nix-build (1).
|
180
199
|
.PP
|
181
200
|
\fB\fC\-\-no\-health\-checks\fR
|
182
201
|
Do not run configured health checks. Health checks are run by default
|
@@ -218,7 +237,7 @@ Probe managed machines and determine their status.
|
|
218
237
|
\fB\fC\-y\fR, \fB\fC\-\-yes\fR
|
219
238
|
Do not ask for confirmation on standard input, assume the answer is yes.
|
220
239
|
.PP
|
221
|
-
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fB\fCcurrent\fR|\fB\fCnone\fR
|
240
|
+
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fIoffset\fP|\fB\fCcurrent\fR|\fB\fCnone\fR
|
222
241
|
Check status against a selected generation instead of a new build. If set
|
223
242
|
to \fB\fCnone\fR, only the currently configured software pins are checked and not
|
224
243
|
the system version itself.
|
@@ -226,6 +245,10 @@ Probe managed machines and determine their status.
|
|
226
245
|
\fB\fC\-j\fR, \fB\fC\-\-max\-jobs\fR \fInumber\fP
|
227
246
|
Maximum number of build jobs, passed to \fB\fCnix\-build\fR\&. See man
|
228
247
|
.BR nix-build (1).
|
248
|
+
.PP
|
249
|
+
\fB\fC\-\-cores\fR \fInumber\fP
|
250
|
+
Number of CPU cores to use, passed to \fB\fCnix\-build\fR\&. See man
|
251
|
+
.BR nix-build (1).
|
229
252
|
.TP
|
230
253
|
\fB\fCconfctl changelog\fR [\fIoptions\fP] [\fImachine\-pattern\fP [\fIsw\-pattern\fP]]
|
231
254
|
Show differences in deployed and configured software pins. For git software
|
@@ -252,7 +275,7 @@ itself, it works only on software pins.
|
|
252
275
|
\fB\fC\-y\fR, \fB\fC\-\-yes\fR
|
253
276
|
Do not ask for confirmation on standard input, assume the answer is yes.
|
254
277
|
.PP
|
255
|
-
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fB\fCcurrent\fR
|
278
|
+
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fIoffset\fP|\fB\fCcurrent\fR
|
256
279
|
Show changelog against software pins from a selected generation instead
|
257
280
|
of the current configuration.
|
258
281
|
.PP
|
@@ -270,6 +293,10 @@ itself, it works only on software pins.
|
|
270
293
|
\fB\fC\-j\fR, \fB\fC\-\-max\-jobs\fR \fInumber\fP
|
271
294
|
Maximum number of build jobs, passed to \fB\fCnix\-build\fR\&. See man
|
272
295
|
.BR nix-build (1).
|
296
|
+
.PP
|
297
|
+
\fB\fC\-\-cores\fR \fInumber\fP
|
298
|
+
Number of CPU cores to use, passed to \fB\fCnix\-build\fR\&. See man
|
299
|
+
.BR nix-build (1).
|
273
300
|
.TP
|
274
301
|
\fB\fCconfctl diff\fR [\fIoptions\fP] [\fImachine\-pattern\fP [\fIsw\-pattern\fP]]
|
275
302
|
Show differences in deployed and configured software pins. For git software
|
@@ -296,7 +323,7 @@ itself, it works only on software pins.
|
|
296
323
|
\fB\fC\-y\fR, \fB\fC\-\-yes\fR
|
297
324
|
Do not ask for confirmation on standard input, assume the answer is yes.
|
298
325
|
.PP
|
299
|
-
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fB\fCcurrent\fR
|
326
|
+
\fB\fC\-g\fR, \fB\fC\-\-generation\fR \fIgeneration\fP|\fIoffset\fP|\fB\fCcurrent\fR
|
300
327
|
Show diff against software pins from a selected generation instead
|
301
328
|
of the current configuration.
|
302
329
|
.PP
|
@@ -308,6 +335,10 @@ itself, it works only on software pins.
|
|
308
335
|
\fB\fC\-j\fR, \fB\fC\-\-max\-jobs\fR \fInumber\fP
|
309
336
|
Maximum number of build jobs, passed to \fB\fCnix\-build\fR\&. See man
|
310
337
|
.BR nix-build (1).
|
338
|
+
.PP
|
339
|
+
\fB\fC\-\-cores\fR \fInumber\fP
|
340
|
+
Number of CPU cores to use, passed to \fB\fCnix\-build\fR\&. See man
|
341
|
+
.BR nix-build (1).
|
311
342
|
.TP
|
312
343
|
\fB\fCconfctl test\-connection\fR [\fIoptions\fP] [\fImachine\-pattern\fP]
|
313
344
|
Try to open a SSH connection to the selected machines. This command can be
|
@@ -386,7 +417,7 @@ Open ClusterSSH to selected or all machines.
|
|
386
417
|
\fB\fC\-y\fR, \fB\fC\-\-yes\fR
|
387
418
|
Do not ask for confirmation on standard input, assume the answer is yes.
|
388
419
|
.TP
|
389
|
-
\fB\fCconfctl generation ls\fR [\fImachine\-pattern\fP [\fIgeneration\-pattern\fP]|\fIn\fP\fB\fCd\fR|\fB\fCold\fR]
|
420
|
+
\fB\fCconfctl generation ls\fR [\fImachine\-pattern\fP [\fIgeneration\-pattern\fP]|\fIn\fP\fB\fCd\fR|\fIoffset\fP|\fB\fCold\fR]
|
390
421
|
List all or selected generations. By default only local build generations
|
391
422
|
are listed.
|
392
423
|
.PP
|
@@ -405,11 +436,13 @@ are listed.
|
|
405
436
|
\fB\fC\-r\fR, \fB\fC\-\-remote\fR
|
406
437
|
List remote generations found on deployed machines.
|
407
438
|
.TP
|
408
|
-
\fB\fCconfctl generation rm\fR [\fImachine\-pattern\fP [\fIgeneration\-pattern\fP|\fIn\fP\fB\fCd\fR|\fB\fCold\fR]]
|
439
|
+
\fB\fCconfctl generation rm\fR [\fImachine\-pattern\fP [\fIgeneration\-pattern\fP|\fIn\fP\fB\fCd\fR|\fIoffset\fP|\fB\fCold\fR]]
|
409
440
|
Remove selected generations.
|
410
441
|
.IP
|
411
442
|
\fIn\fP\fB\fCd\fR will remove generations older than \fIn\fP days.
|
412
443
|
.IP
|
444
|
+
\fIoffset\fP will remove generations at a specific offset, see \fB\fCGENERATION OFFSETS\fR\&.
|
445
|
+
.IP
|
413
446
|
\fB\fCold\fR will remove all generations except the current one, i.e. the one that
|
414
447
|
was built by \fB\fCconfctl build\fR the last.
|
415
448
|
.IP
|
@@ -465,6 +498,9 @@ configuration also runs \fB\fCnix\-collect\-garbage\fR\&.
|
|
465
498
|
.PP
|
466
499
|
\fB\fC\-r\fR, \fB\fC\-\-remote\fR
|
467
500
|
Consider generations found on deployed machines.
|
501
|
+
.PP
|
502
|
+
\fB\fC\-\-no\-gc\fR, \fB\fC\-\-no\-collect\-garbage\fR
|
503
|
+
Do not run the garbage collector even if it is enabled in configuration.
|
468
504
|
.PP
|
469
505
|
\fB\fC\-\-max\-concurrent\-gc\fR \fIn\fP
|
470
506
|
Run \fB\fCnix\-collect\-garbage\fR at most on \fIn\fP machines at the same time.
|
@@ -520,17 +556,17 @@ on the type of the software pin, for git it is a git reference, e.g. a revision.
|
|
520
556
|
\fB\fCconfctl swpins cluster update\fR [\fIname\-pattern\fP [\fIsw\-pattern\fP]]
|
521
557
|
Update selected or all software packages that have been configured to support
|
522
558
|
this command. The usual case for git is to pin to the current branch head.
|
523
|
-
.
|
524
|
-
\fB\fC\-\-[no\-]commit\fR
|
525
|
-
|
526
|
-
.
|
527
|
-
\fB\fC\-\-[no\-]changelog\fR
|
528
|
-
|
529
|
-
|
530
|
-
.
|
531
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
532
|
-
|
533
|
-
|
559
|
+
.PP
|
560
|
+
\fB\fC\-\-[no\-]commit\fR
|
561
|
+
Commit changed swpins files to git. Disabled by default.
|
562
|
+
.PP
|
563
|
+
\fB\fC\-\-[no\-]changelog\fR
|
564
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
565
|
+
default.
|
566
|
+
.PP
|
567
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
568
|
+
Use when the new version is older than the previously set version. Used for
|
569
|
+
generating changelog for the commit message.
|
534
570
|
.TP
|
535
571
|
\fB\fCconfctl swpins channel ls\fR [\fIchannel\-pattern\fP [\fIsw\-pattern\fP]]
|
536
572
|
List existing channels with pinned software packages.
|
@@ -539,33 +575,33 @@ List existing channels with pinned software packages.
|
|
539
575
|
Set selected software packages in channels to new \fIversion\fP\&. The value
|
540
576
|
of \fIversion\fP depends on the type of the software pin, for git it is a git
|
541
577
|
reference, e.g. a revision.
|
542
|
-
.
|
543
|
-
\fB\fC\-\-[no\-]commit\fR
|
544
|
-
|
545
|
-
.
|
546
|
-
\fB\fC\-\-[no\-]changelog\fR
|
547
|
-
|
548
|
-
|
549
|
-
.
|
550
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
551
|
-
|
552
|
-
|
578
|
+
.PP
|
579
|
+
\fB\fC\-\-[no\-]commit\fR
|
580
|
+
Commit changed swpins files to git. Disabled by default.
|
581
|
+
.PP
|
582
|
+
\fB\fC\-\-[no\-]changelog\fR
|
583
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
584
|
+
default.
|
585
|
+
.PP
|
586
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
587
|
+
Use when the new version is older than the previously set version. Used for
|
588
|
+
generating changelog for the commit message.
|
553
589
|
.TP
|
554
590
|
\fB\fCconfctl swpins channel update\fR [\fIchannel\-pattern\fP [\fIsw\-pattern\fP]]
|
555
591
|
Update selected or all software packages in channels that have been configured
|
556
592
|
to support this command. The usual case for git is to pin to the current
|
557
593
|
branch head.
|
558
|
-
.
|
559
|
-
\fB\fC\-\-[no\-]commit\fR
|
560
|
-
|
561
|
-
.
|
562
|
-
\fB\fC\-\-[no\-]changelog\fR
|
563
|
-
|
564
|
-
|
565
|
-
.
|
566
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
567
|
-
|
568
|
-
|
594
|
+
.PP
|
595
|
+
\fB\fC\-\-[no\-]commit\fR
|
596
|
+
Commit changed swpins files to git. Disabled by default.
|
597
|
+
.PP
|
598
|
+
\fB\fC\-\-[no\-]changelog\fR
|
599
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
600
|
+
default.
|
601
|
+
.PP
|
602
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
603
|
+
Use when the new version is older than the previously set version. Used for
|
604
|
+
generating changelog for the commit message.
|
569
605
|
.TP
|
570
606
|
\fB\fCconfctl swpins core ls\fR [\fIsw\-pattern\fP]
|
571
607
|
List core software packages used internally by confctl.
|
@@ -574,48 +610,48 @@ List core software packages used internally by confctl.
|
|
574
610
|
Set selected core software package to new \fIversion\fP\&. The value
|
575
611
|
of \fIversion\fP depends on the type of the software pin, for git it is a git
|
576
612
|
reference, e.g. a revision.
|
577
|
-
.
|
578
|
-
\fB\fC\-\-[no\-]commit\fR
|
579
|
-
|
580
|
-
.
|
581
|
-
\fB\fC\-\-[no\-]changelog\fR
|
582
|
-
|
583
|
-
|
584
|
-
.
|
585
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
586
|
-
|
587
|
-
|
613
|
+
.PP
|
614
|
+
\fB\fC\-\-[no\-]commit\fR
|
615
|
+
Commit changed swpins files to git. Disabled by default.
|
616
|
+
.PP
|
617
|
+
\fB\fC\-\-[no\-]changelog\fR
|
618
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
619
|
+
default.
|
620
|
+
.PP
|
621
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
622
|
+
Use when the new version is older than the previously set version. Used for
|
623
|
+
generating changelog for the commit message.
|
588
624
|
.TP
|
589
625
|
\fB\fCconfctl swpins core update\fR [\fIsw\-pattern\fP]
|
590
626
|
Update selected or all core software packages that have been configured
|
591
627
|
to support this command. The usual case for git is to pin to the current
|
592
628
|
branch head.
|
593
|
-
.
|
594
|
-
\fB\fC\-\-[no\-]commit\fR
|
595
|
-
|
596
|
-
.
|
597
|
-
\fB\fC\-\-[no\-]changelog\fR
|
598
|
-
|
599
|
-
|
600
|
-
.
|
601
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
602
|
-
|
603
|
-
|
629
|
+
.PP
|
630
|
+
\fB\fC\-\-[no\-]commit\fR
|
631
|
+
Commit changed swpins files to git. Disabled by default.
|
632
|
+
.PP
|
633
|
+
\fB\fC\-\-[no\-]changelog\fR
|
634
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
635
|
+
default.
|
636
|
+
.PP
|
637
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
638
|
+
Use when the new version is older than the previously set version. Used for
|
639
|
+
generating changelog for the commit message.
|
604
640
|
.TP
|
605
641
|
\fB\fCconfctl swpins update\fR
|
606
642
|
Update software pins that have been configured for updates, including pins
|
607
643
|
in all channels, all machine\-specific pins and the core pins.
|
608
|
-
.
|
609
|
-
\fB\fC\-\-[no\-]commit\fR
|
610
|
-
|
611
|
-
.
|
612
|
-
\fB\fC\-\-[no\-]changelog\fR
|
613
|
-
|
614
|
-
|
615
|
-
.
|
616
|
-
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
617
|
-
|
618
|
-
|
644
|
+
.PP
|
645
|
+
\fB\fC\-\-[no\-]commit\fR
|
646
|
+
Commit changed swpins files to git. Disabled by default.
|
647
|
+
.PP
|
648
|
+
\fB\fC\-\-[no\-]changelog\fR
|
649
|
+
Include changelog in the commit message when \fB\fC\-\-commit\fR is used. Enabled by
|
650
|
+
default.
|
651
|
+
.PP
|
652
|
+
\fB\fC\-d\fR, \fB\fC\-\-downgrade\fR
|
653
|
+
Use when the new version is older than the previously set version. Used for
|
654
|
+
generating changelog for the commit message.
|
619
655
|
.TP
|
620
656
|
\fB\fCconfctl swpins reconfigure\fR
|
621
657
|
Regenerate all confctl\-managed software pin files according to the Nix
|
@@ -656,5 +692,5 @@ Report bugs to \[la]https://github.com/vpsfreecz/confctl/issues\[ra]\&.
|
|
656
692
|
.SH ABOUT
|
657
693
|
.PP
|
658
694
|
\fB\fCconfctl\fR was originally developed for the purposes of
|
659
|
-
vpsFree.cz \[la]https://vpsfree.org\[ra] and its cluster
|
695
|
+
vpsFree.cz \[la]https://vpsfree.org\[ra] and its cluster
|
660
696
|
configuration \[la]https://github.com/vpsfreecz/vpsfree-cz-configuration\[ra]\&.
|