- Create a Google Cloud project
- Enable Google Workspace APIs
- Create access credentials. Service account
Export variables:
export SPREADSHEET_ID=your_google_docs_spreadsheet_id
export CREDENTIALS=/path/to/your/credentials.json
export DEBUG=true/false # true will add additional debug informations in logs
Run scheduler to create a new schedule for next available day.
go run cmd/scheduler/scheduler.go
To run unit test with coverage:
go test ./... -coverprofile=/tmp/cov.out && go tool cover -html=/tmp/cov.out
- Clean up all TODOs in code
- Sending calendar event for Watchers
- getting PTO from calendar
- adding buddy for New To CI Watcher
- getting parameters (like date) from command line
- Adding comments about holidays and PTO in spreadsheet