You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e0ac881
Browse filesBrowse the repository at this point in the historyBrowse files
chore(license): keep the code ported from Talos under MPL-2.0
Talos is MPL-2.0 and talm is Apache-2.0. The bump carried two ports over
that line: the resource walk and multi-node guard talosctl stopped
exporting, and the client constructors v1.14 removed. Both are derived
work, so the files holding them now carry the MPL notice. MPL-2.0
section 3.3 allows the combined work to ship under Apache-2.0 as long as
those files keep their own terms.
The client constructors sat in root.go next to talm's own code. They
move to a file of their own so the notice covers the derived code and
nothing else. WithClientNoNodes stays in root.go as the dispatcher that
routes --skip-verify.
Signed-off-by: Aleksei Sviridkin <[email protected]>
Assisted-by: LLM
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,3 +60,7 @@ Full documentation lives at **[talm.cozystack.io](https://talm.cozystack.io/)**.
60
60
-[CLI reference](https://talm.cozystack.io/reference/) — commands and flags.
61
61
62
62
The site is built from `docs/` in this repository; the CLI reference under `docs/reference/` is generated from the command tree.
63
+
64
+
## License
65
+
66
+
Apache-2.0, except for two files ported from [siderolabs/talos](https://github.com/siderolabs/talos), which is MPL-2.0: `pkg/engine/talos_helpers.go` and `pkg/commands/talos_client.go` carry Talos code that v1.14 stopped exporting, so they stay under MPL-2.0 and say so in their headers. MPL-2.0 section 3.3 covers distributing the combined work under Apache-2.0.
// This Source Code Form is subject to the terms of the Mozilla Public
2
+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3
+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
5
+
// The code in this file is derived from siderolabs/talos, which is licensed
6
+
// under MPL-2.0, and is therefore kept under MPL-2.0 itself. The rest of talm
7
+
// stays under Apache-2.0; MPL-2.0 §3.3 covers that combination.
Copy file name to clipboardExpand all lines: pkg/engine/talos_helpers.go
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,21 @@
1
+
// This Source Code Form is subject to the terms of the Mozilla Public
2
+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3
+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
5
+
// The code in this file is derived from siderolabs/talos, which is licensed
6
+
// under MPL-2.0, and is therefore kept under MPL-2.0 itself. The rest of talm
7
+
// stays under Apache-2.0; MPL-2.0 §3.3 covers that combination.
8
+
//
9
+
// Talos v1.14.0 dropped FailIfMultiNodes and ForEachResource from
10
+
// cmd/talosctl/pkg/talos/helpers: talosctl inlined the resource loop into its
11
+
// own get command and left no exported replacement. The versions here follow
12
+
// resources.go (the resource walk) and checks.go (the multi-node guard) and
13
+
// behave as the helpers did, which is what the callers in engine.go expect:
0 commit comments