From 246dd0b734003b00c3361595e031d28d934ee0da Mon Sep 17 00:00:00 2001 From: Louis Elkner-Alfaro Date: Thu, 24 Oct 2024 11:52:39 -0700 Subject: [PATCH] Update README --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 335479c..de2eea8 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,16 @@ We do not yet do summing of time per issue, but could with a fair amount of work In the meantime this can be done with a spreadsheet: ## Usage +For use with Forgejo Include your API token in .env as FORGEJO_API_TOKEN={token} + - Token can be generated here if you do not have one: https://git.agaric.com/user/settings/applications -Download a spreadsheet from Harvest (or, one hopes someday, a better time tracking service). Copy the path to the downloaded CSV and paste it in at the prompt when you run: +Download a spreadsheet from Harvest (or, one hopes someday, a better time tracking service). +Modify the lines starting with 'owner = ' and 'repo =' to use your target project. You may have to add your project details to the 'projects' dictionary + +Run the program with: ```bash -python generate_issues.py +python generate_issues.py FILE ``` + +The program outputs to 'modified_report.csv'