Releases: analyticsinmotion/github-stats
Releases · analyticsinmotion/github-stats
Version 0.0.4
Breaking Changes
- traffic.py has been moved from the main directory to the /src directory.
Enhancements
- Added activity.py script to the /src directory for capturing the total number of stars, watchers, and forks for each repository.
- Added activity.csv to the /data directory to store the cumulative total of stars, watchers, and forks each day.
- Added activity.yml to the /.github/workflows directory to manage the python environment and runtime of the activity.py file.
- Updated the README.md file to detail the new enhancements.
Version 0.0.3
Breaking Changes
- views.py has been replaced by traffic.py in the main directory
- views.yml has been replaced by traffic.yml in the .github/workflows directory
- views.csv has been replaced by traffic.csv in the data directory
- traffic.csv adds two extra columns to the table schema ("clones" and "unique_cloners") compared to the old views.csv file
- traffic.csv renames two of the columns from the old views.csv file:
- "repo" renamed to "repository"
- "visitor" renamed to "unique_visitor"
Enhancements
- Daily capture process now includes data for clones and unique cloners for each repository.
Version 0.0.2
Enhancements
- Enhanced the process for extracting views and unique visitors. In version 0.0.1 the views.py script was scheduled to run at 11:45pm to capture the data for that day. However, sometimes GitHub would update the metrics between 11:45pm and midnight, essentially making the views.py data extraction outdated. Having the scheduling so close to midnight also introduced a risk that if the CRON job (in GitHub actions) was delayed it would also potentially lead to inaccurate results. The new views.py script is run at 12:25am and captures the stats from the previous day, essentially removing the issues faced in version 0.0.1.