From 473185c0ba876be64fa253270fe4ba374c33b41b Mon Sep 17 00:00:00 2001
From: Julian Sommer <115516918+juliansommer@users.noreply.github.com>
Date: Fri, 3 Jul 2026 11:57:12 +1000
Subject: [PATCH] chore: remove stale license comments
---
cmd/installer/autoinstall/autoinstall.go | 17 -----------------
cmd/installer/branding/branding.go | 17 -----------------
cmd/installer/firstboot/firstboot.go | 17 -----------------
cmd/installer/install/config.go | 17 -----------------
cmd/installer/install/install.go | 17 -----------------
cmd/installer/main.go | 16 ----------------
cmd/installer/systemd/systemd.go | 17 -----------------
cmd/installer/ui/ui.go | 17 -----------------
cmd/spinifex/cmd/admin.go | 16 ----------------
cmd/spinifex/cmd/get.go | 16 ----------------
cmd/spinifex/cmd/root.go | 16 ----------------
cmd/spinifex/cmd/service.go | 16 ----------------
cmd/spinifex/cmd/top.go | 16 ----------------
cmd/spinifex/main.go | 16 ----------------
.../ec2/image/service_impl_encryption_test.go | 4 ----
.../ec2/volume/service_impl_encryption_test.go | 4 ----
spinifex/utils/encryption.go | 4 ----
spinifex/utils/encryption_test.go | 4 ----
18 files changed, 247 deletions(-)
diff --git a/cmd/installer/autoinstall/autoinstall.go b/cmd/installer/autoinstall/autoinstall.go
index 2480af367..7e3853b6d 100644
--- a/cmd/installer/autoinstall/autoinstall.go
+++ b/cmd/installer/autoinstall/autoinstall.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package autoinstall reads headless install parameters from environment
// variables exported by spinifex-init.sh from the kernel cmdline.
// Parameters are set in the GRUB "Headless" menu entry in grub.cfg.
diff --git a/cmd/installer/branding/branding.go b/cmd/installer/branding/branding.go
index 6c0353ed4..eb419a633 100644
--- a/cmd/installer/branding/branding.go
+++ b/cmd/installer/branding/branding.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package branding centralises Mulga/Spinifex visual identity constants used
// by the installer TUI.
//
diff --git a/cmd/installer/firstboot/firstboot.go b/cmd/installer/firstboot/firstboot.go
index 6d4b8d3e2..93889b4d9 100644
--- a/cmd/installer/firstboot/firstboot.go
+++ b/cmd/installer/firstboot/firstboot.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package firstboot writes the oneshot systemd service and configuration that
// completes Spinifex provisioning on the first real boot after installation.
package firstboot
diff --git a/cmd/installer/install/config.go b/cmd/installer/install/config.go
index 6debbd9d9..74a5d865d 100644
--- a/cmd/installer/install/config.go
+++ b/cmd/installer/install/config.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package install performs the disk installation steps after the UI has
// collected configuration.
package install
diff --git a/cmd/installer/install/install.go b/cmd/installer/install/install.go
index 3f01c86a1..b840e7fce 100644
--- a/cmd/installer/install/install.go
+++ b/cmd/installer/install/install.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
package install
import (
diff --git a/cmd/installer/main.go b/cmd/installer/main.go
index 077ad6792..94b935187 100644
--- a/cmd/installer/main.go
+++ b/cmd/installer/main.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package main
import (
diff --git a/cmd/installer/systemd/systemd.go b/cmd/installer/systemd/systemd.go
index 123ec86cb..6abb31525 100644
--- a/cmd/installer/systemd/systemd.go
+++ b/cmd/installer/systemd/systemd.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package systemd writes systemd unit files and drop-ins into an installed
// system root during the Spinifex ISO installation process.
package systemd
diff --git a/cmd/installer/ui/ui.go b/cmd/installer/ui/ui.go
index 0ab6d2ec1..b60bebbf9 100644
--- a/cmd/installer/ui/ui.go
+++ b/cmd/installer/ui/ui.go
@@ -1,20 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
-
// Package ui presents the interactive installer TUI using bubbletea and lipgloss.
package ui
diff --git a/cmd/spinifex/cmd/admin.go b/cmd/spinifex/cmd/admin.go
index d1b1516c9..a6ff55334 100644
--- a/cmd/spinifex/cmd/admin.go
+++ b/cmd/spinifex/cmd/admin.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package cmd
import (
diff --git a/cmd/spinifex/cmd/get.go b/cmd/spinifex/cmd/get.go
index 6536399ac..dc390a4fc 100644
--- a/cmd/spinifex/cmd/get.go
+++ b/cmd/spinifex/cmd/get.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package cmd
import (
diff --git a/cmd/spinifex/cmd/root.go b/cmd/spinifex/cmd/root.go
index 49475dafb..a45a2641a 100644
--- a/cmd/spinifex/cmd/root.go
+++ b/cmd/spinifex/cmd/root.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package cmd
import (
diff --git a/cmd/spinifex/cmd/service.go b/cmd/spinifex/cmd/service.go
index c3e1f0167..910b05dde 100644
--- a/cmd/spinifex/cmd/service.go
+++ b/cmd/spinifex/cmd/service.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package cmd
import (
diff --git a/cmd/spinifex/cmd/top.go b/cmd/spinifex/cmd/top.go
index d3d8da2a9..3bacb6ec5 100644
--- a/cmd/spinifex/cmd/top.go
+++ b/cmd/spinifex/cmd/top.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package cmd
import (
diff --git a/cmd/spinifex/main.go b/cmd/spinifex/main.go
index 398f27aa1..69d7403c9 100644
--- a/cmd/spinifex/main.go
+++ b/cmd/spinifex/main.go
@@ -1,19 +1,3 @@
-/*
-Copyright © 2026 Mulga Defense Corporation
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-*/
package main
import (
diff --git a/spinifex/handlers/ec2/image/service_impl_encryption_test.go b/spinifex/handlers/ec2/image/service_impl_encryption_test.go
index 1362085ad..0e53e6cf7 100644
--- a/spinifex/handlers/ec2/image/service_impl_encryption_test.go
+++ b/spinifex/handlers/ec2/image/service_impl_encryption_test.go
@@ -1,7 +1,3 @@
-// Copyright 2026 Mulga Defense Corporation (MDC). All rights reserved.
-// Use of this source code is governed by an Apache 2.0 license
-// that can be found in the LICENSE file.
-
package handlers_ec2_image
import (
diff --git a/spinifex/handlers/ec2/volume/service_impl_encryption_test.go b/spinifex/handlers/ec2/volume/service_impl_encryption_test.go
index b832af4b6..75368b35b 100644
--- a/spinifex/handlers/ec2/volume/service_impl_encryption_test.go
+++ b/spinifex/handlers/ec2/volume/service_impl_encryption_test.go
@@ -1,7 +1,3 @@
-// Copyright 2026 Mulga Defense Corporation (MDC). All rights reserved.
-// Use of this source code is governed by an Apache 2.0 license
-// that can be found in the LICENSE file.
-
package handlers_ec2_volume
import (
diff --git a/spinifex/utils/encryption.go b/spinifex/utils/encryption.go
index 5c53076e9..18e880c27 100644
--- a/spinifex/utils/encryption.go
+++ b/spinifex/utils/encryption.go
@@ -1,7 +1,3 @@
-// Copyright 2026 Mulga Defense Corporation (MDC). All rights reserved.
-// Use of this source code is governed by an Apache 2.0 license
-// that can be found in the LICENSE file.
-
package utils
import (
diff --git a/spinifex/utils/encryption_test.go b/spinifex/utils/encryption_test.go
index f009d07a4..ea2cb4c5f 100644
--- a/spinifex/utils/encryption_test.go
+++ b/spinifex/utils/encryption_test.go
@@ -1,7 +1,3 @@
-// Copyright 2026 Mulga Defense Corporation (MDC). All rights reserved.
-// Use of this source code is governed by an Apache 2.0 license
-// that can be found in the LICENSE file.
-
package utils
import (