Skip to content

Add export and import for profiles #1072

Add export and import for profiles

Add export and import for profiles #1072

Triggered via pull request November 15, 2023 14:14
Status Failure
Total duration 6m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Linter: profile/api.go#L133
string `jpg` has 4 occurrences, make it a constant (goconst)
Linter: sync/profile.go#L127
File is not `gofumpt`-ed (gofumpt)
Linter: profile/fingerprint.go#L174
exported func ParseFingerprints returns unexported type *github.com/safing/portmaster/profile.parsedFingerprints, which can be annoying to use (golint)
Linter: profile/profile.go#L24
type name will be used as profile.ProfileSource by other packages, and that stutters; consider calling this Source (golint)
Linter: sync/profile.go#L51
comment on exported type ProfileFingerprint should be of the form "ProfileFingerprint ..." (with optional leading article) (golint)
Linter: sync/profile.go#L276
`if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
Linter
issues found