Lourenço Vales
ad86804f56
small typos
2025-10-05 23:14:25 +02:00
Lourenço Vales
0784060d05
final fixes
2025-10-05 23:14:25 +02:00
Lourenço Vales
2591c7468d
small typo
2025-10-05 23:14:25 +02:00
Lourenço Vales
7d2c20a579
changed validation for MX record corner case
2025-10-05 23:14:25 +02:00
Lourenço Vales
472cb18060
added more robust validation; small changes
2025-10-05 23:14:25 +02:00
Lourenço Vales
3d721f4688
fixed slight error in validation
2025-10-05 23:14:25 +02:00
Lourenço Vales
8fff0f5d24
adding doc comments
2025-10-05 23:14:25 +02:00
Lourenço Vales
9e45a08704
fixed record deletion by changing the matching condition
2025-10-05 23:14:25 +02:00
Lourenço Vales
5cf369d2a8
adding Poll condition to guarantee minimum time between tries
2025-10-05 23:14:25 +02:00
Lourenço Vales
bce129c9eb
everything is implemented, now on to testing
2025-10-05 23:14:25 +02:00
Lourenço Vales
70da562ceb
added partial cloudflare api integration
2025-10-05 23:14:25 +02:00
Lourenço Vales
c6dc388427
added cmp function
2025-10-05 23:14:25 +02:00
Lourenço Vales
17c8153c1e
added CheckApply function; made some changes to structure
2025-10-05 23:14:25 +02:00
Lourenço Vales
62ecbf633d
engine: resources: Add Cloudflare DNS resource
2025-10-05 23:14:25 +02:00
James Shubin
06f54e5628
engine: resources: Virt builder needs HOME sometimes
...
Seems this is new or got pulled in automatically somehow. This fixes:
virt-builder: error: ssh-inject: $HOME environment variable is not set
2025-10-03 17:16:35 -04:00
James Shubin
56e55dfad7
engine: resources: Sysctl was missing the errors
2025-10-03 01:34:26 -04:00
James Shubin
303e80dee7
engine, lang, lib, pgraph: Plumb through more ctx
2025-10-02 23:28:51 -04:00
James Shubin
6c6c9df75e
engine: resources: Add a nif command and make it clearer
...
Let's have the opposite, and have an example so you don't forget which
is which.
2025-10-02 20:48:36 -04:00
James Shubin
5f4ae05340
readme: We moved to matrix
2025-10-02 03:05:05 -04:00
James Shubin
c48b884d16
misc: Add fpm repo script
2025-09-30 02:55:29 -04:00
James Shubin
fe77bce544
misc: Update old email address
2025-09-30 02:42:43 -04:00
James Shubin
26640df164
test: shell: Get the first ethernet device
...
In CI sometimes there are two, so this fails.
2025-09-30 00:27:35 -04:00
James Shubin
debd4ee653
misc: Remove old prototype language
2025-09-29 23:15:45 -04:00
James Shubin
63269fe343
spec: Small RPM fixes
...
In case anyone tries this.
2025-09-29 23:15:16 -04:00
James Shubin
f588703474
engine: resources: Add a gsettings resource
...
This adds a way to run the gsettings command for configuring dconf
settings usually used by GNOME applications.
2025-09-29 21:40:06 -04:00
James Shubin
52fbc31da7
engine: resources: Remove this noise
2025-09-29 21:26:14 -04:00
James Shubin
154f900d2a
engine: resources: Add an ifequals option to block cmd
...
If the ifcmd returns true and this option is set, it will match that
output against this field, and if they match, then we skip cmd.
Much cleaner than needing to invoke bash to compare two strings.
2025-09-29 21:24:40 -04:00
James Shubin
bbd4f1dea1
engine: Add a utility function to copy the Init struct
2025-09-29 21:23:17 -04:00
James Shubin
22120649e5
modules: misc: Add simple flatpak management
2025-09-26 23:25:42 -04:00
James Shubin
a840dd43dd
cli, tools, util, modules: Add a grow util and module
...
This builds in some functionality for growing the filesystem for new
machines. It also gets wrapped with an mcl module for ease of use.
2025-09-26 23:00:20 -04:00
James Shubin
83743df3e4
util: Add variant of exec cmd that returns output
2025-09-26 21:18:54 -04:00
James Shubin
15b2ff68cc
lang: core: os: Simplify waitgroup
...
Doesn't need to be part of the struct. Maybe there are others like this
that need porting.
2025-09-26 21:18:54 -04:00
James Shubin
17544e881c
test: Fix tag failures
2025-09-25 02:23:14 -04:00
James Shubin
6090517830
releases: Add release notes for 1.0.0
2025-09-25 02:11:05 -04:00
James Shubin
6a7b3d5fa9
readme: Ten
2025-09-25 01:16:03 -04:00
James Shubin
25804c71df
lang: core embedded: provisioner: Work with USB-free machines
...
This feature was for machines that boot from USB keys. When we PXE boot,
this should not fail when the file isn't missing.
2025-09-16 01:11:32 -04:00
James Shubin
a54553c858
engine: resources: Print a warning if svc is slow
...
The biggest horror is blocked execution somewhere, so if the svc start,
stop or reload is being slow, then at least print a message to warn us.
2025-09-15 04:05:04 -04:00
James Shubin
ff1581be87
engine: resources: Massively refactor the svc
...
This was a long time coming, but now it looks to be done. It was kind of
meant as low-hanging fruit for some interested student, but in the end I
got to it first.
2025-09-15 04:05:04 -04:00
James Shubin
ec48a6944c
lang: core: iter: Make map coding more consistent with filter
...
Keeping the code looking similar makes it easy to patch bugs that occur
in both.
2025-09-14 23:52:22 -04:00
James Shubin
df9849319d
lang: core: iter: Replace graph when list length changes
...
The map and iter functions weren't replacing the graph if the input list
length changed. This was just an oversight in coding AFAICT, as the
sneaky case is that if the length stays the same, but the list contents
change, then it's okay to not swap.
2025-09-14 23:50:21 -04:00
James Shubin
045aa8820c
engine: resources: Display tick marks for input range
...
This makes it prettier. We should also add the values, but this is
harder to do nicely.
2025-09-14 20:52:45 -04:00
James Shubin
a66cbc3098
engine: resources: Work around race in upstream lib
...
This is actually fixed in: 7d147928ee
but this is not in a release yet.
2025-09-14 19:36:57 -04:00
James Shubin
9833cb8df3
modules: virtualization: Update to Fedora 42
2025-09-14 00:06:59 -04:00
James Shubin
a73dc19ce9
engine: resources: Fix virt hotplug
...
At some point, this seems to have rotted, since I assume upstream
started requiring this updated XML spec. Fix it now.
2025-09-13 23:54:46 -04:00
James Shubin
bcf57f8581
engine: resources: Make the qemu guest agent automatic
2025-09-13 23:54:46 -04:00
James Shubin
611cdb3193
engine: resources: Disable buggy restart code
...
This was really not ever tested properly, and I worry it will deadlock.
It definitely kicks off falls positives that don't even do any harm as
far as we can tell.
2025-09-13 23:54:24 -04:00
James Shubin
1b39a780e1
engine: resources: Clean up virt code
...
There was and still is a bunch of terrible mess in this code. This does
some initial cleanup, and also fixes an important bug!
If you're provisioning a vmhost from scratch, then the function engine
might do some work to get the libvirt related services running before
the virt resource is used to build a vm. Since we had connection code in
Init() it would fail if it wasn't up already, meaning we'd have to write
fancy mcl code to avoid this, or we could do this refactor and keep
things more logical.
2025-09-13 23:28:33 -04:00
James Shubin
d59ae2e007
engine: graph: We shouldn't complain on context cancellation
...
These are expected from our engine. We do care about timeout's and so
on. This allows os to return ctx.Err() whenever a <-ctx.Done() happens,
which is more idiomatic for what we really want, but which we weren't
thorough with before.
2025-09-13 23:28:33 -04:00
James Shubin
b9363a3463
go: Update systemd dep to fix race
...
Hopefully this race is fixed upstream. Let's see.
2025-09-11 23:22:45 -04:00
James Shubin
a5f89d8d7b
lang: funcs: dage: Use lazy freshness check
...
Not sure if this would introduce a glitch or not. Does seem to work
correctly. Without this, examples/lang/datetime2.mcl don't update
properly.
2025-09-11 23:19:45 -04:00