mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-07 13:37:47 +09:00
Rename all 594 test data files from .json to .hujson and add descriptive header comments to each file documenting what policy rules are under test and what outcome is expected. Update test loaders in all 5 _test.go files to parse HuJSON via hujson.Parse/Standardize/Pack before json.Unmarshal. Add cross-dependency warning to via_compat_test.go documenting that GRANT-V29/V30/V31/V36 are shared with TestGrantsCompat. Add .gitignore exemption for testdata HuJSON files.
58 lines
691 B
Plaintext
58 lines
691 B
Plaintext
ignored/
|
|
tailscale/
|
|
.vscode/
|
|
.claude/
|
|
logs/
|
|
|
|
*.prof
|
|
|
|
# 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/
|
|
|
|
dist/
|
|
/headscale
|
|
config.yaml
|
|
config*.yaml
|
|
!config-example.yaml
|
|
derp.yaml
|
|
*.hujson
|
|
!hscontrol/policy/v2/testdata/*/*.hujson
|
|
*.key
|
|
/db.sqlite
|
|
*.sqlite3
|
|
|
|
# Exclude Jetbrains Editors
|
|
.idea
|
|
|
|
test_output/
|
|
control_logs/
|
|
|
|
# Nix build output
|
|
result
|
|
.direnv/
|
|
|
|
integration_test/etc/config.dump.yaml
|
|
|
|
# MkDocs
|
|
.cache
|
|
/site
|
|
|
|
__debug_bin
|
|
|
|
node_modules/
|
|
package-lock.json
|
|
package.json
|