This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Update scripts
Corentin Bettiol edited this page Feb 26, 2020
·
9 revisions
BugHerd uses a sliding window to manage the number of API requests that can be made. You can make an average of 60 requests per minute, with bursts of up to 10 in quick succession. If you make more frequent API calls, a 429 error will be returned instead of the expected result.
So those scripts are reaaaally slow if you have a lot of tasks.
python3.7 manage.py updatebbdb --all
python3.7 manage.py updatebbdb
- Download member list,
- Download active project list,
- Download light task list,
- Download assignee list,
- Download tag list
python3.7 manage.py updatebbdb -t
- Loop over local task list
- Update dates, assignees, severity, ...
- Delete closed tasks (from local db)
- Get admin urls
python3.7 manage.py updatebbdb -c
- Loop over local task list
- Download comments