Automatically generate your timesheet using Github API
-
Clone project
git clone https://github.com/vivekmiyani/timesheet.git ~/timesheet cd ~/timesheet
-
Install dependency
gem install octokit
-
Create projects.yml
cp projects.yml.example projects.yml
-
Configure project groups in projects.yml
- Create and update github token (with access to
user
andrepo
scopes)
- Create and update github token (with access to
Generate your today's timesheet for any project group:
~/timesheet/work.rb $(date '+%Y-%m-%d') <friendly_name>
Or even for any date:
~/timesheet/work.rb 2023-01-01 <friendly_name>
- Handle response pagination
- Handle branch without pull request