datatracker/bin
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
..
.gitignore Told svn to ignore some additional files under bin/ 2017-06-07 12:30:04 +00:00
check-copyright fix: handle timezones in a bunch of places 2022-09-23 16:11:49 -03:00
count.c Tweaked count helper. 2017-06-18 17:21:14 +00:00
daily fix: change sync strategy for yc.o modules (#6959) 2024-01-23 10:05:31 -06:00
drop-new-tables Removed the table-list.json file and support for it; there are better ways of cleaning out extra local tables (see bin/drop-new-tables for a starting point) 2017-05-30 00:03:26 +00:00
dump-to-names-json Added a utility script to dump a normalized names.json fixture 2020-05-11 14:23:21 +00:00
every15m fix: reparse last month of rfc-index every 15m until we improve the API for new RFCs (#4314) 2022-08-11 14:20:31 -05:00
hourly feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
mkdiagram Merged in [11792] from rcross@amsl.com: 2016-08-18 15:03:55 +00:00
mm_hourly feat: isolate py27 code interfacing with mailman from py39 code interfacing with django. (#4140) 2022-06-29 16:14:15 -05:00
monthly Cronjob script changes pulled from the production server after the switch to python 3. 2020-02-23 01:28:16 +00:00
release-coverage Simplified the release-coverage script. 2016-12-16 17:52:20 +00:00
test-crawl feat: add ability to skip html validation to test crawler. (#4299) 2022-07-29 15:37:24 -05:00
update Merged in [19071] from mark@painless-security.com: 2021-06-04 18:42:01 +00:00
vnu.jar Rebase (#5416) 2023-03-25 17:37:33 +09:00
weekly Moved the call to notify-expirations from bin/daily to bin/weekly 2020-05-11 14:45:57 +00:00