Tweak README, ignore data/, add requirements

This commit is contained in:
3wc 2022-03-01 14:22:31 +02:00
parent 4c8dd9de4d
commit ad4b909cf3
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/hamster_tools.egg-info/
/build/
/dist/
/data/

View File

@ -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.

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
click==8.0.3
requests==2.26.0