From ad4b909cf3d66aac6265e3ac6af21bab90dd5f91 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 1 Mar 2022 14:22:31 +0200 Subject: [PATCH] Tweak README, ignore data/, add requirements --- .gitignore | 1 + README.md | 2 +- requirements.txt | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index f719eb5..4c75b0c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /hamster_tools.egg-info/ /build/ /dist/ +/data/ diff --git a/README.md b/README.md index 3174cb6..f1c6c5c 100644 --- a/README.md +++ b/README.md @@ -54,5 +54,5 @@ hamster](https://github.com/projecthamster/hamster-lib) is ready. 3. Use e.g. `hamster-tool activities move-facts ...` to clean them up 4. Run `python -m hamstertools kimai import --mapping-path mapping.kimai.csv --show-missing --after 2021-09-07 --category-search auto 3wordchant` to find entries in your time tracking which don't yet have a mapping to Kimai. You might notice some extra tidying needed here. 5. Run `python -m hamstertools kimai sync --mapping-path mapping.kimai.csv --just-errors --ignore-activities 3wordchant $(pass users/calix/logins/kimai.autonomic.zone/api)` to find items in your mapping file which don't exist on Kimai -5. Run `python -m hamstertools kimai import --mapping-path mapping.kimai.csv --after 2021-09-07 --category-search auto 3wordchant -o kimai_$(date +%F).csv` to generate a CSV of your time entries +5. Run `python -m hamstertools kimai import --mapping-path mapping.kimai.csv --after 2021-09-07 --category-search auto 3wordchant --output kimai_$(date +%F).csv` to generate a CSV of your time entries 6. Review your timesheet -- NB it might not be sorted in date order by default - to make sure it has the expected entries, and remove any entries already in Kimai. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4525569 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +click==8.0.3 +requests==2.26.0