Skip to content

chore(git): migrate to new SDK structure#1435

Merged
rubenhoenle merged 1 commit into
mainfrom
chore/STACKITCLI-363-git-sdk-migration
Jun 10, 2026
Merged

chore(git): migrate to new SDK structure#1435
rubenhoenle merged 1 commit into
mainfrom
chore/STACKITCLI-363-git-sdk-migration

Conversation

@GokceGK

@GokceGK GokceGK commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

relates to STACKITCLI-363

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

relates to STACKITCLI-363
@GokceGK GokceGK requested a review from a team as a code owner June 10, 2026 10:13
@github-actions

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/git/flavor/list 56.52% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/create 51.02% (+0.04%) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/delete 17.78% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/describe 64.29% (+20.54%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/list 56.52% (ø)
github.com/stackitcloud/stackit-cli/internal/pkg/services/git/client 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/pkg/services/git/utils 100.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/git/flavor/list/list.go 56.52% (ø) 46 26 20
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/create/create.go 51.02% (+0.04%) 49 (-2) 25 (-1) 24 (-1) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/delete/delete.go 17.78% (ø) 45 8 37
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/describe/describe.go 64.29% (+20.54%) 42 (-6) 27 (+6) 15 (-12) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/list/list.go 56.52% (ø) 46 26 20
github.com/stackitcloud/stackit-cli/internal/pkg/services/git/client/client.go 0.00% (ø) 1 0 1
github.com/stackitcloud/stackit-cli/internal/pkg/services/git/utils/utils.go 100.00% (ø) 4 (-2) 4 (-2) 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/stackitcloud/stackit-cli/internal/cmd/git/flavor/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/create/create_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/delete/delete_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/git/instance/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/services/git/utils/utils_test.go

@rubenhoenle rubenhoenle merged commit a9f8e43 into main Jun 10, 2026
3 checks passed
@rubenhoenle rubenhoenle deleted the chore/STACKITCLI-363-git-sdk-migration branch June 10, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants