mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
32d3b4e87c
Long lists of items in source code or config can be hard to work with as a human, most problematic being out-of-order entries in an otherwise ordered list. This is where keep-sorted comes to the rescue: we can leave two little comments on every listing we care about, and keep-sorted ensures that the listing stays in order. This commit also applied keep-sorted to the CODEOWNERS file, hopefully demonstrating its usefulness to some extent. I'd expect more uses for keep-sorted to be discovered organically over time. keep-sorted is super fast, so it should not be a problem to add it to the //:tidy target, even if we scan all files in the code base. On my MacBook: $ time (find . -not -path "./.git/*" -type f | sort | xargs "${keep_sorted}" --mode fix) real 0m0.249s user 0m0.124s sys 0m0.129s
49 lines
1.9 KiB
Modula-2
49 lines
1.9 KiB
Modula-2
module github.com/edgelesssys/constellation/v2/hack/tools
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/google/go-licenses v1.6.0
|
|
github.com/google/keep-sorted v0.3.0
|
|
github.com/katexochen/sh/v3 v3.7.0
|
|
golang.org/x/tools v0.16.0
|
|
golang.org/x/vuln v1.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/Workiva/go-datastructures v1.0.53 // indirect
|
|
github.com/emirpasic/gods v1.12.0 // indirect
|
|
github.com/go-logr/logr v1.2.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148 // indirect
|
|
github.com/google/renameio/v2 v2.0.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/otiai10/copy v1.6.0 // indirect
|
|
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e // indirect
|
|
github.com/rs/zerolog v1.31.0 // indirect
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/spf13/cobra v1.6.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/src-d/gcfg v1.4.0 // indirect
|
|
github.com/xanzy/ssh-agent v0.2.1 // indirect
|
|
go.opencensus.io v0.23.0 // indirect
|
|
golang.org/x/crypto v0.16.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
|
|
golang.org/x/mod v0.14.0 // indirect
|
|
golang.org/x/net v0.19.0 // indirect
|
|
golang.org/x/sync v0.5.0 // indirect
|
|
golang.org/x/sys v0.15.0 // indirect
|
|
golang.org/x/term v0.15.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
|
|
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
k8s.io/klog/v2 v2.80.1 // indirect
|
|
mvdan.cc/editorconfig v0.2.0 // indirect
|
|
)
|