GithubHelp home page GithubHelp logo

isabella232 / findowner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coreos/findowner

0.0 0.0 0.0 899 KB

Tool to dig through GitHub history to generate Kubernetes OWNERS files

License: Apache License 2.0

Go 100.00%

findowner's Introduction

findowner

findowner is used to find the "reviewer"s of a git directory:

  • It crawls all directories of given "root" directory.
    • It has a depth limit (default is 3). For example, given depth limit 3, "./pkg/apis/apps" is allowed, while "./pkg/apis/apps/install" isn't.
    • It has an excluded list. See "./main.go" excludedDirList variable.
  • It selects top committers for each git directory.
    • It ranks people (identified by github handle) by the number of commits they made.
    • The commits are pulled from past 1 year history excluding "merge" commits.
    • It selects top N (default is 3). If there are more than N people having the same number of commits, it outputs them all.

exowner - existing owners

exowner is used to print out the owners in the OWNER files. Usage:

$ git clone https://github.com/coreos/findowner
$ cd findowner
$ go run exowner/main.go  -gitrepo ~/src/k8s.io/kubernetes/ -top-dir pkg
...
path: pkg/volume/host_path, owners: [saad-ali thockin]
...

findowner's People

Contributors

hongchaodeng avatar xiang90 avatar artasparks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.