Skip to content

feat: browse local repositories #427

feat: browse local repositories

feat: browse local repositories #427

Triggered via pull request October 16, 2023 18:13
@aymanbagabasaymanbagabas
synchronize #369
browse
Status Success
Total duration 29s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint-soft.yml

on: pull_request
lint-soft
20s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: server/ui/common/component.go#L16
Comment should end in a period (godot)
lint-soft: cmd/soft/browse.go#L64
cmd/soft/browse.go:64: Line contains TODO/BUG/FIXME: "TODO: Make this configurable" (godox)
lint-soft: server/ui/pages/repo/refsitem.go#L134
`if isTag` has complex nested blocks (complexity: 9) (nestif)
lint-soft: server/ui/pages/repo/repo.go#L218
`if r.state == loadingState && r.spinner.ID() == msg.ID` has complex nested blocks (complexity: 5) (nestif)
lint-soft: cmd/soft/browse.go#L103
missing cases in switch of type main.state: main.startState (exhaustive)
lint-soft: cmd/soft/browse.go#L117
missing cases in switch of type main.state: main.startState (exhaustive)
lint-soft: cmd/soft/browse.go#L173
missing cases in switch of type tea.MouseEventType: tea.MouseUnknown, tea.MouseRight, tea.MouseMiddle, tea.MouseRelease, tea.MouseWheelUp, tea.MouseWheelDown, tea.MouseMotion (exhaustive)
lint-soft: server/ui/styles/styles.go#L234
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: server/ui/pages/repo/refsitem.go#L158
mnd: Magic number: 3, in <argument> detected (gomnd)
lint-soft: server/backend/utils.go#L15
error returned from external package is unwrapped: sig: func github.com/charmbracelet/soft-serve/git.LatestFile(repo *github.com/charmbracelet/soft-serve/git.Repository, ref *github.com/charmbracelet/soft-serve/git.Reference, pattern string) (string, string, error) (wrapcheck)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum