Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .github/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ paths-ignore:
- src/pkg/utils/credentials.go
- site/**
- build/**
- vendor/**

query-filters:
- exclude:
Expand Down
1 change: 1 addition & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ updates:
- package-ecosystem: gomod
directories:
- "/"
vendor: true
schedule:
interval: daily
groups:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-go-mod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
- name: Test go mod
run: |
go mod tidy
git diff --exit-code go.mod go.sum
go mod vendor
git diff --exit-code go.mod go.sum vendor/
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.direnv/
.idea/
.scratch/
.tool-versions
/.tool-versions
.vagrant
.vscode/
.zarf*
Expand All @@ -17,8 +17,8 @@
*.vbox
*.zst
*.zim
build
data/
/build
/data/
zarf
zarf-pki
zarf-sbom/
Expand All @@ -27,6 +27,8 @@ test-*.txt
__debug_bin
.netlify
!**/testdata/**
!vendor/**/*.dat
!vendor/**/*.crt
coverage.out
dist
CLAUDE.local.md
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ destroy: ## Run `zarf destroy` on the current cluster
# Note: the path to the main.go file is not used due to https://github.com/golang/go/issues/51831#issuecomment-1074188363
.PHONY: build
build: ## Build the Zarf CLI for the machines OS and architecture
go mod tidy
$(MAKE) $(BUILD_CLI_FOR_SYSTEM)

build-cli-linux-amd: ## Build the Zarf CLI for Linux on AMD64
Expand Down
31 changes: 31 additions & 0 deletions vendor/atomicgo.dev/cursor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
### Go template
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
vendor/

### IntelliJ
.idea
*.iml
out
gen

### VisualStudioCode
.vscode
*.code-workspace

### macOS
# General
.DS_Store
experimenting
99 changes: 99 additions & 0 deletions vendor/atomicgo.dev/cursor/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
linters-settings:
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
- dupImport
- ifElseChain
- octalLiteral
- whyNoLint
- wrapperFunc
- exitAfterDefer
- hugeParam
- ptrToRefParam
- paramTypeCombine
- unnamedResult
linters:
disable-all: true
enable:
# default linters
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# additional linters
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- decorder
- dupl
- durationcheck
- errchkjson
- errname
- errorlint
- exhaustive
- exhaustruct
- exportloopref
- forcetypeassert
- gocheckcompilerdirectives
- gocritic
- godot
- godox
- goerr113
- gofmt
- goprintffuncname
- gosec
- gosmopolitan
- importas
- ireturn
- nakedret
- nestif
- nilerr
- nilnil
- prealloc
- predeclared
- revive
- rowserrcheck
- tagalign
- tenv
- thelper
- tparallel
- unconvert
- unparam
- usestdlibvars
- wastedassign
- whitespace
- wrapcheck
- wsl
- gocyclo
- misspell
issues:
include:
- EXC0012
- EXC0014
exclude-rules:
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- gocritic
- linters:
- gocritic
text: "unnecessaryDefer:"
- linters:
- gocritic
text: "preferDecodeRune:"
service:
golangci-lint-version: 1.53.x
20 changes: 20 additions & 0 deletions vendor/atomicgo.dev/cursor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<a name="unreleased"></a>
## [Unreleased]


<a name="v0.0.1"></a>
## v0.0.1 - 2021-05-09
### Features
- implement `Area`
- add `ClearLinesUp` and `ClearLinesDown`
- implement cross-platform support
- implement cursor functions

### Bug Fixes
- height can no longer be negative on non windows systems

### Code Refactoring
- remove debug code


[Unreleased]: https://github.com/MarvinJWendt/testza/compare/v0.0.1...HEAD
21 changes: 21 additions & 0 deletions vendor/atomicgo.dev/cursor/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Marvin Wendt (MarvinJWendt)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading