From 092bf4ab6d1618531dc1d9d9c3231d0e7b6bf6d8 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 22 Oct 2024 15:02:05 +0200 Subject: pkg/vcs: more not implemented for fuchsia --- pkg/vcs/fuchsia.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pkg') diff --git a/pkg/vcs/fuchsia.go b/pkg/vcs/fuchsia.go index dd9a667b3..dfe4dc597 100644 --- a/pkg/vcs/fuchsia.go +++ b/pkg/vcs/fuchsia.go @@ -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("not implemented for fuchsia: CheckoutBranch") } func (ctx *fuchsia) CheckoutCommit(repo, commit string) (*Commit, error) { - return nil, fmt.Errorf("not implemented for fuchsia") + return nil, fmt.Errorf("not implemented for fuchsia: CheckoutCommit") } func (ctx *fuchsia) SwitchCommit(commit string) (*Commit, error) { - return nil, fmt.Errorf("not implemented for fuchsia") + return nil, fmt.Errorf("not implemented for fuchsia: SwitchCommit") } func (ctx *fuchsia) Commit(com string) (*Commit, error) { - return nil, fmt.Errorf("not implemented for fuchsia") + return nil, fmt.Errorf("not implemented for fuchsia: Commit") } func (ctx *fuchsia) GetCommitByTitle(title string) (*Commit, error) { @@ -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("not implemented for fuchsia: ReleaseTag") } func (ctx *fuchsia) Contains(commit string) (bool, error) { - return false, fmt.Errorf("not implemented for fuchsia") + return false, fmt.Errorf("not implemented for fuchsia: Contains") } func (ctx *fuchsia) ListCommitHashes(base string) ([]string, error) { @@ -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("not implemented for fuchsia: CommitExists") } func (ctx *fuchsia) PushCommit(repo, commit string) error { - return ctx.repo.PushCommit(repo, commit) + return fmt.Errorf("not implemented for fuchsia: PushCommit") } -- cgit mrf-deployment