https://github.com/3mdeb/contribution-stats
https://github.com/3mdeb/contribution-stats
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/3mdeb/contribution-stats
- Owner: 3mdeb
- Created: 2023-04-25T22:46:48.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-09-18T00:00:16.000Z (9 months ago)
- Last Synced: 2025-09-18T02:20:57.906Z (9 months ago)
- Language: Shell
- Size: 70.3 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSES/MIT.txt
Awesome Lists containing this project
README
# Contribution stats
The goal of this script is to extract the commits stats made by 3mdeb employees
in various upstream repositories.
This project uses [bashly](https://bashly.dannyb.co/usage/getting-started/) as
a script generator.
## Usage
* Sync
```
contribution-stats sync - Clone and/or all tracked upstream repositories
Alias: s
Usage:
contribution-stats sync
contribution-stats sync --help | -h
Options:
--help, -h
Show this help
Examples:
contribution-stats sync
```
__NOTE__: To sync all repositories that 3mdeb contributed to you need at least
31GB free space.
* List
```
contribution-stats list - List contribution stats
Alias: l
Usage:
contribution-stats list [OPTIONS]
contribution-stats list --help | -h
Options:
--repo, -r REPOSITORY
Repository to analyze. If not given, all tracked repositories will be
analyzed.
--date, -d DATE
Start date for analyze - only commits older than this date will be listed.
Defaults to 01/01/2013.
Default: 01/01/2013
--help, -h
Show this help
Examples:
contribution-stats list
contribution-stats -r coreboot -d 21/02/2023
```
## Development
Please note that after every code modification in `src` you have to run `bashly
generate`. Typical developer workflow would looks as follows:
1. Set alias for bashly:
```bash
alias bashly='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/bashly'
```
2. Perform code modification in `src` directory.
3. Apply changes by `bashly generate`
4. Test your changes.
5. If your changes work as expected create pull request.