Giter VIP home page Giter VIP logo

contribution-checker's People

Contributors

dependabot[bot] avatar hedtke avatar mxmehl avatar tilow avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cornelius

contribution-checker's Issues

Provide JSON Schema

Provide a JSON schema that

  • explains the output
  • verifies the syntax
  • allows others to create data structures from that

Create unit tests

It would be great to have unit tests, e.g. with pytest.

The setup could be to create a mock Git repo, create some commits from different authors, and check the output against the JSON we'd expect.

Option to provide list of repositories via a configuration file

To get a better overview about a set of repositories we need a way to specify multiple repositories. I would suggest an option -f, --file, which takes the name of a configuration file which contains all the information needed to do the analysis. This would be the expression for filtering by author email and a list of repository URLs.

To make this efficient, we might want to cache repositories at a defined location, so that the tool only transfers the minimal amount of data and doesn't check out all repositories from scratch with every invocation (see #4).

The report should then show a summary instead of the results for an individual repository.

Cache remote repositories

Remote repositories should be cached somehow, so that they don't need to be checked out again with each invocation of the checker. We could check them out to a well-defined space (e.g. ~/.local/state/contribution-checker/repos) and then just run a git pull if the checkout already exists.

https://github.com/platformdirs/platformdirs could be used to get the corresponding cache directory for all systems.

Show matched commits relative to total commits

An important information can be how active we are in a project in relation to overall activity. It would be good to show that. One way would be to include commits by others in the plot of commits (via --plot).

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.