datatracker/ietf/idindex
Jennifer Richards b4cf04a09d
feat: celery tasks to replace ietf/bin scripts (#6971)
* refactor: Change import style for clarity

* feat: Add iana_changes_updates_task()

* chore: Squelch lint warning

My linter does not like variables defined outside
of __init__()

* feat: Add PeriodicTask for iana_changes_updates_task

* refactor: tasks instead of scripts on sync.views.notify()

* test: Test iana_changes_updates_task

* refactor: rename task for consistency

* feat: Add iana_protocols_update_task

* feat: Add PeriodicTask for iana protocols sync

* refactor: Use protocol sync task instead of script in view

* refactor: itertools.batched() not available until py312

* test: test iana_protocols_update_task

* feat: Add idindex_update_task()

Calls idindex generation functions and does the file
update dance to put them in place.

* chore: Add comments to bin/hourly

* fix: annotate types and fix bug

* feat: Create PeriodicTask for idindex_update_task

* refactor: Move helpers into a class

More testable this way

* refactor: Make TempFileManager a context mgr

* test: Test idindex_update_task

* test: Test TempFileManager

* fix: Fix bug in TestFileManager

yay testing

* feat: Add expire_ids_task()

* feat: Create PeriodicTask for expire_ids_task

* test: Test expire_ids_task

* test: Test request timeout in iana_protocols_update_task

* refactor: do not re-raise timeout exception

Not sure this is the right thing to do, but it's the
same as rfc_editor_index_update_task

* feat: Add notify_expirations_task

* feat: Add "weekly" celery beat crontab

* refactor: Reorder crontab fields

This matches the crontab file field order

* feat: Add PeriodicTask for notify_expirations

* test: Test notify_expirations_task

* test: Add annotation to satisfy mypy
2024-01-31 15:24:20 -06:00
..
__init__.py Adding copyright notices to all python files 2007-06-27 21:16:34 +00:00
generate_all_id2_txt.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
generate_all_id_txt.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
generate_id_abstracts_txt.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
generate_id_index_txt.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
index.py fix: repair many revision related issues with the main and htmlized views 2023-09-12 08:55:38 -05:00
tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
tests.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00