Skip to content

🍂 Map GitHub commit messages to Harvest notes

License

Notifications You must be signed in to change notification settings

pbar1/harvespex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Harvespex

As of right now, this is what it does:

  1. Find dates in need of Harvest entries
  2. Fetch, filter, and aggregate GitHub commit messages for those dates
  3. Print them out for easy copypasta 😝

To run, simply: ./harvespex or go run main.go

Setup

You'll need some environment variables:

  • GITHUB_TOKEN
  • HARVEST_ACCESS_TOKEN
  • HARVEST_ACCOUNT_ID

...and you'll also need harvespex.hcl in the same directory as the harvespex binary. This maps GitHub repositories to Harvest tasks, and looks like so:

project_mapping {
  project = "My Exact Harvest Project Name"
  task = "My Exact Harvest Task Name"
  repositories = [
    "pbar1/harvespex",
    "myorg/example-proj",
  ]
}

Build

go build

About

🍂 Map GitHub commit messages to Harvest notes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages