mirror of
https://github.com/siderolabs/omni.git
synced 2026-02-05 15:45:13 +01:00
Make all leaf fields nillable, so that we can distinguish unset from explicit empty, and merging of CLI args and YAML configs work correctly. Generate nil-safe accessors (getter/setters) for these nillable fields and use them in the code. Wrap the cobra command line parser to support nillable flags. Move all validations into the JSON schema and drop go-validator usage and its annotations. Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
90 lines
2.0 KiB
YAML
90 lines
2.0 KiB
YAML
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
|
#
|
|
# Generated on 2026-01-21T16:29:22Z by kres 1ffefb6.
|
|
|
|
policies:
|
|
- type: commit
|
|
spec:
|
|
dco: true
|
|
gpg:
|
|
required: true
|
|
identity:
|
|
gitHubOrganization: siderolabs
|
|
spellcheck:
|
|
locale: US
|
|
maximumOfOneCommit: false
|
|
header:
|
|
length: 89
|
|
imperative: true
|
|
case: lower
|
|
invalidLastCharacters: .
|
|
body:
|
|
required: true
|
|
conventional:
|
|
types:
|
|
- chore
|
|
- docs
|
|
- perf
|
|
- refactor
|
|
- style
|
|
- test
|
|
- release
|
|
scopes:
|
|
- .*
|
|
- type: license
|
|
spec:
|
|
root: .
|
|
skipPaths:
|
|
- .git
|
|
- testdata/
|
|
- client/
|
|
- frontend/node_modules/
|
|
- internal/pkg/kubernetes/resource/
|
|
includeSuffixes:
|
|
- .go
|
|
- .ts
|
|
- .js
|
|
excludeSuffixes:
|
|
- .pb.go
|
|
- .pb.gw.go
|
|
- .pb.ts
|
|
- mockServiceWorker.js
|
|
- .generated.go
|
|
header: |
|
|
// Copyright (c) 2026 Sidero Labs, Inc.
|
|
//
|
|
// Use of this software is governed by the Business Source License
|
|
// included in the LICENSE file.
|
|
- type: license
|
|
spec:
|
|
root: client
|
|
skipPaths:
|
|
- .git/
|
|
- testdata/
|
|
includeSuffixes:
|
|
- .go
|
|
excludeSuffixes:
|
|
- .pb.go
|
|
- .pb.gw.go
|
|
header: |
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
- type: license
|
|
spec:
|
|
root: frontend/
|
|
skipPaths:
|
|
- node_modules/
|
|
includeSuffixes:
|
|
- .vue
|
|
excludeSuffixes:
|
|
- .pb.go
|
|
- .pb.gw.go
|
|
header: |
|
|
<!--
|
|
Copyright (c) 2026 Sidero Labs, Inc.
|
|
|
|
Use of this software is governed by the Business Source License
|
|
included in the LICENSE file.
|
|
-->
|