aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-04-15 10:37:30 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-04-15 10:19:39 +0000
commitc6f10907c38ce49ddc321539f75aabf0a9ad6c71 (patch)
tree1277a1d64e2201b58b550ef0131222eaab9fcf73 /pkg/vcs
parent33fec5a3ec55bce7f1664e70e6f5ff8daf56886d (diff)
all: remove akaros support
Akaros support is unused, it was shutdown on syzbot for a while, the akaros development seems to be frozen for years as well. We have a bunch of hacks for Akaros since it supported only super old gcc and haven't supported Go. Remove it.
Diffstat (limited to 'pkg/vcs')
-rw-r--r--pkg/vcs/akaros.go27
-rw-r--r--pkg/vcs/vcs.go2
2 files changed, 0 insertions, 29 deletions
diff --git a/pkg/vcs/akaros.go b/pkg/vcs/akaros.go
deleted file mode 100644
index 33dfb7850..000000000
--- a/pkg/vcs/akaros.go
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2018 syzkaller project authors. All rights reserved.
-// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-
-package vcs
-
-import (
- "path/filepath"
-)
-
-type akaros struct {
- *git
- dropbear *git
-}
-
-func newAkaros(dir string, opts []RepoOpt) *akaros {
- return &akaros{
- git: newGit(dir, nil, opts),
- dropbear: newGit(filepath.Join(dir, "dropbear"), nil, opts),
- }
-}
-
-func (ctx *akaros) Poll(repo, branch string) (*Commit, error) {
- if _, err := ctx.dropbear.Poll("https://github.com/akaros/dropbear-akaros", "akaros"); err != nil {
- return nil, err
- }
- return ctx.git.Poll(repo, branch)
-}
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index a83f66835..faf1cf85d 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -190,8 +190,6 @@ func NewRepo(os, vmType, dir string, opts ...RepoOpt) (Repo, error) {
switch os {
case targets.Linux:
return newLinux(dir, opts, vmType), nil
- case targets.Akaros:
- return newAkaros(dir, opts), nil
case targets.Fuchsia:
return newFuchsia(dir, opts), nil
case targets.OpenBSD: