diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 993c3d7..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -gerritcp \ No newline at end of file diff --git a/chromium-coreboot.yaml b/chromium-coreboot.yaml index 216cb33..868c00f 100644 --- a/chromium-coreboot.yaml +++ b/chromium-coreboot.yaml @@ -10,23 +10,23 @@ sites: branch: chromeos-2016.05 authentication: cookie cookieName: o - cookieValue: "{somefunnystring}" + cookieValue: {somefunnystring} workstreams: main: neverModify: - - util/crossgcc/ - - 3rdparty/ - - util/nvidia/cbootimage/ - - .checkpatch.conf - - .gitmodules - - OWNERS + util/crossgcc/ + 3rdparty/ + util/nvidia/cbootimage/ + .checkpatch.conf + .gitmodules + OWNERS coreboot-sdk: onlyIfTouching: - - util/crossgcc/ + util/crossgcc/ neverModify: - - 3rdparty/ - - util/nvidia/cbootimage/ - - .checkpatch.conf - - .gitmodules - - OWNERS + 3rdparty/ + util/nvidia/cbootimage/ + .checkpatch.conf + .gitmodules + OWNERS diff --git a/gerritcp.go b/gerritcp.go deleted file mode 100644 index 9a501ca..0000000 --- a/gerritcp.go +++ /dev/null @@ -1,50 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "os" - - "gopkg.in/yaml.v2" -) - -type Repo struct { - Url string `yaml:"url"` - Repo string `yaml:"repo"` - Branch string `yaml:"branch"` - Authentication string `yaml:"authentication"` - CookieName string `yaml:"cookieName"` - CookieValue string `yaml:"cookieValue"` -} - -type Workstreams struct { - OnlyIfTouching []string `yaml:"onlyIfTouching"` - NeverModify []string `yaml:"neverModify"` -} - -type configFormat struct { - Sites map[string]Repo `yaml:"sites"` - Workstreams map[string]Workstreams `yaml:"workstreams"` -} - -func main() { - // dir := flag.String("dir", "repo", "path to local git repo") - configFile := flag.String("config", "config.yaml", "path to configuration") - flag.Parse() - - file, err := os.Open(*configFile) - if err != nil { - panic(fmt.Sprintf("Could not open '%s': %s", *configFile, err)) - } - defer file.Close() - - config := new(configFormat) - - configDecoder := yaml.NewDecoder(file) - err = configDecoder.Decode(&config) - if err != nil { - panic(fmt.Sprintf("Failed parsing '%s': %s", *configFile, err)) - } - - fmt.Println(config) -} diff --git a/go.mod b/go.mod deleted file mode 100644 index c640a00..0000000 --- a/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module review.coreboot.org/gerritcp/v2 - -go 1.17 - -require gopkg.in/yaml.v2 v2.4.0 diff --git a/go.sum b/go.sum deleted file mode 100644 index 7534661..0000000 --- a/go.sum +++ /dev/null @@ -1,3 +0,0 @@ -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=