Skip to content

Commit

Permalink
Merge pull request #237 from OpsLevel/kr/prepare-2024
Browse files Browse the repository at this point in the history
prepare 2024 release
  • Loading branch information
rocktavious authored Jan 16, 2024
2 parents f12431d + 02df692 commit b8ea24c
Show file tree
Hide file tree
Showing 36 changed files with 44 additions and 45 deletions.
3 changes: 0 additions & 3 deletions .changes/unreleased/Removed-20240111-213109.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions .changes/unreleased/Removed-20240116-150842.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Removed
body: All "group" based commands have been removed
time: 2024-01-16T15:08:42.236057-06:00
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version: '3'

env:
OPSLEVEL_GO_PKG: "github.com/opslevel/opslevel-go/v2023"
OPSLEVEL_GO_PKG: "github.com/opslevel/opslevel-go/v2024"
SRC_DIR: "{{.TASKFILE_DIR}}/src"

tasks:
Expand Down Expand Up @@ -78,7 +78,7 @@ tasks:
GO_WORK: "go.work"
TMP_GO_WORK: "tmp_go.work"
LATEST_OPSLEVEL_GO_VERSION:
sh: go list -u -m -versions github.com/opslevel/opslevel-go/v2023 | awk '{print $NF}'
sh: go list -u -m -versions github.com/opslevel/opslevel-go/v2024 | awk '{print $NF}'
cmds:
- if [[ -f {{.GO_WORK}} ]]; then mv {{.GO_WORK}} {{.TMP_GO_WORK}}; fi
- defer: if [[ -f {{.TMP_GO_WORK}} ]]; then mv {{.TMP_GO_WORK}} {{.GO_WORK}}; fi
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"strings"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/rs/zerolog/log"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/creasty/defaults"
git "github.com/go-git/go-git/v5"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"strings"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"encoding/json"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"gopkg.in/yaml.v2"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"

"github.com/itchyny/gojq"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/infra.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/maturity.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/open-policy-agent/opa/ast"
"github.com/open-policy-agent/opa/rego"
"github.com/open-policy-agent/opa/types"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/relvacode/iso8601"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/property.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/go-resty/resty/v2"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/rubric.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/scorecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"strings"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/rs/zerolog/log"

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"golang.org/x/exp/slices"

"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/team.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/rs/zerolog/log"

"github.com/opslevel/cli/common"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/gosimple/slug"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/trigger_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/opslevel/cli/common"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/opslevel/cli/common"
"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion src/common/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion src/common/prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sort"

"github.com/opslevel/opslevel-go/v2023"
"github.com/opslevel/opslevel-go/v2024"

"github.com/manifoldco/promptui"
)
Expand Down
9 changes: 4 additions & 5 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ require (
github.com/itchyny/gojq v0.12.14
github.com/manifoldco/promptui v0.9.0
github.com/open-policy-agent/opa v0.60.0
github.com/opslevel/opslevel-go/v2023 v2023.12.14
github.com/opslevel/opslevel-go/v2024 v2024.1.13
github.com/relvacode/iso8601 v1.3.0
github.com/rocktavious/autopilot v0.1.5
github.com/rs/zerolog v1.31.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.18.2
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

Expand All @@ -43,7 +42,7 @@ require (
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.16.0 // indirect
github.com/go-playground/validator/v10 v10.17.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/uuid v1.5.0 // indirect
Expand All @@ -53,7 +52,6 @@ require (
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hasura/go-graphql-client v0.10.2 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/itchyny/timefmt-go v0.1.5 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
Expand Down Expand Up @@ -100,8 +98,9 @@ require (
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
nhooyr.io/websocket v1.8.10 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/opslevel/opslevel-go/v2023 => ./submodules/opslevel-go
// replace github.com/opslevel/opslevel-go/v2024 => ./submodules/opslevel-go
8 changes: 4 additions & 4 deletions src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/validator/v10 v10.16.0 h1:x+plE831WK4vaKHO/jpgUGsvLKIqRRkz6M78GuJAfGE=
github.com/go-playground/validator/v10 v10.16.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/go-playground/validator/v10 v10.17.0 h1:SmVVlfAOtlZncTxRuinDPomC2DkXJ4E5T9gDA0AIH74=
github.com/go-playground/validator/v10 v10.17.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8=
github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
Expand Down Expand Up @@ -156,8 +156,8 @@ github.com/hasura/go-graphql-client v0.10.2 h1:+/v5/gWYgWr0cpd0aCi4GNtiy8uAIxnkA
github.com/hasura/go-graphql-client v0.10.2/go.mod h1:eNNnmHAp6NgwKZ4xRbZEfywxr07qk34Y0QhbPsYIfhw=
github.com/huandu/xstrings v1.3.3 h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4=
github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM=
github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY=
github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA=
github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/itchyny/gojq v0.12.14 h1:6k8vVtsrhQSYgSGg827AD+PVVaB1NLXEdX+dda2oZCc=
Expand Down
2 changes: 1 addition & 1 deletion src/submodules/opslevel-go
Submodule opslevel-go updated 73 files
+0 −3 .changes/unreleased/Bugfix-20231228-152233.yaml
+0 −4 .changes/unreleased/Bugfix-20231229-114751.yaml
+0 −3 .changes/unreleased/Bugfix-20231229-125723.yaml
+0 −3 .changes/unreleased/Bugfix-20240105-134240.yaml
+0 −3 .changes/unreleased/Bugfix-20240105-134510.yaml
+0 −3 .changes/unreleased/Deprecated-20240105-133239.yaml
+0 −3 .changes/unreleased/Feature-20231215-070846.yaml
+0 −3 .changes/unreleased/Feature-20231221-152309.yaml
+0 −3 .changes/unreleased/Feature-20231222-133813.yaml
+0 −3 .changes/unreleased/Feature-20231228-102445.yaml
+0 −3 .changes/unreleased/Feature-20240101-111338.yaml
+0 −3 .changes/unreleased/Feature-20240105-133214.yaml
+0 −3 .changes/unreleased/Feature-20240105-133632.yaml
+0 −3 .changes/unreleased/Feature-20240105-134016.yaml
+0 −3 .changes/unreleased/Feature-20240105-134114.yaml
+0 −3 .changes/unreleased/Feature-20240108-111215.yaml
+0 −3 .changes/unreleased/Feature-20240111-155211.yaml
+0 −3 .changes/unreleased/Feature-20240112-142046.yaml
+0 −3 .changes/unreleased/Refactor-20231221-113954.yaml
+0 −4 .changes/unreleased/Refactor-20231228-102145.yaml
+0 −4 .changes/unreleased/Refactor-20240109-202355.yaml
+0 −3 .changes/unreleased/Refactor-20240109-202941.yaml
+0 −3 .changes/unreleased/Refactor-20240109-205045.yaml
+0 −3 .changes/unreleased/Refactor-20240109-214205.yaml
+0 −3 .changes/unreleased/Refactor-20240110-142526.yaml
+0 −3 .changes/unreleased/Refactor-20240112-141014.yaml
+0 −3 .changes/unreleased/Removed-20240105-132834.yaml
+0 −3 .changes/unreleased/Removed-20240105-133921.yaml
+0 −3 .changes/unreleased/Removed-20240105-135133.yaml
+0 −3 .changes/unreleased/Removed-20240105-140214.yaml
+0 −4 .changes/unreleased/Removed-20240105-140438.yaml
+0 −4 .changes/unreleased/Removed-20240105-140526.yaml
+0 −4 .changes/unreleased/Removed-20240105-140553.yaml
+0 −4 .changes/unreleased/Removed-20240105-140610.yaml
+43 −0 .changes/v2024.1.13.md
+41 −0 CHANGELOG.md
+1 −1 README.md
+1 −1 actions_test.go
+1 −1 alert_source_test.go
+1 −1 cache_test.go
+1 −1 category_test.go
+1 −1 check_test.go
+1 −1 clientGQL_test.go
+1 −1 clientRest_test.go
+1 −1 common_test.go
+1 −1 dependencies_test.go
+1 −1 document_test.go
+1 −1 domain_test.go
+1 −1 examples/client.go
+1 −1 examples/mutation.go
+1 −1 examples/query.go
+1 −1 filters_test.go
+1 −1 gen.go
+8 −2 go.mod
+12 −0 go.sum
+1 −1 infra_test.go
+1 −1 integration_test.go
+1 −1 job_test.go
+2 −2 json_test.go
+1 −1 level_test.go
+1 −1 owner_test.go
+1 −1 property_test.go
+1 −1 repository_test.go
+2 −2 scalar_test.go
+1 −1 scorecards_test.go
+1 −1 secrets_test.go
+1 −1 service_test.go
+1 −1 system_test.go
+1 −1 tags_test.go
+1 −1 team_test.go
+1 −1 tools_test.go
+1 −1 user_test.go
+1 −1 version.go

0 comments on commit b8ea24c

Please sign in to comment.