Skip to content

Commit

Permalink
pkg/vcs: more not implemented for fuchsia
Browse files Browse the repository at this point in the history
  • Loading branch information
tarasmadan committed Oct 22, 2024
1 parent cd6fc0a commit a91f727
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/vcs/fuchsia.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ func (ctx *fuchsia) initRepo() error {
}

func (ctx *fuchsia) CheckoutBranch(repo, branch string) (*Commit, error) {
return nil, fmt.Errorf("not implemented for fuchsia")
return nil, fmt.Errorf("CheckoutBranch not implemented for fuchsia")
}

func (ctx *fuchsia) CheckoutCommit(repo, commit string) (*Commit, error) {
return nil, fmt.Errorf("not implemented for fuchsia")
return nil, fmt.Errorf("CheckoutCommit not implemented for fuchsia")
}

func (ctx *fuchsia) SwitchCommit(commit string) (*Commit, error) {
return nil, fmt.Errorf("not implemented for fuchsia")
return nil, fmt.Errorf("SwitchCommit not implemented for fuchsia")
}

func (ctx *fuchsia) Commit(com string) (*Commit, error) {
return nil, fmt.Errorf("not implemented for fuchsia")
return nil, fmt.Errorf("Commit not implemented for fuchsia")

Check failure on line 72 in pkg/vcs/fuchsia.go

View workflow job for this annotation

GitHub Actions / build

lint: Don't start log/error messages with a Capital letter (syz-linter)
}

func (ctx *fuchsia) GetCommitByTitle(title string) (*Commit, error) {
Expand All @@ -85,11 +85,11 @@ func (ctx *fuchsia) ExtractFixTagsFromCommits(baseCommit, email string) ([]*Comm
}

func (ctx *fuchsia) ReleaseTag(commit string) (string, error) {
return "", fmt.Errorf("not implemented for fuchsia")
return "", fmt.Errorf("ReleaseTag not implemented for fuchsia")
}

func (ctx *fuchsia) Contains(commit string) (bool, error) {
return false, fmt.Errorf("not implemented for fuchsia")
return false, fmt.Errorf("Contains not implemented for fuchsia")

Check failure on line 92 in pkg/vcs/fuchsia.go

View workflow job for this annotation

GitHub Actions / build

lint: Don't start log/error messages with a Capital letter (syz-linter)
}

func (ctx *fuchsia) ListCommitHashes(base string) ([]string, error) {
Expand All @@ -105,9 +105,9 @@ func (ctx *fuchsia) MergeBases(firstCommit, secondCommit string) ([]*Commit, err
}

func (ctx *fuchsia) CommitExists(string) (bool, error) {
return false, fmt.Errorf("not implemented for fuchsia")
return false, fmt.Errorf("CommitExists not implemented for fuchsia")
}

func (ctx *fuchsia) PushCommit(repo, commit string) error {
return ctx.repo.PushCommit(repo, commit)
return fmt.Errorf("PushCommit not implemented for fuchsia")
}

0 comments on commit a91f727

Please sign in to comment.