Jennifer Richards
0ca02aad1f
refactor: accept tz name in timezone util methods and refactor iana-changes-updates script ( #4444 )
...
* refactor: accept tz name strings in ietf.utils.timezone methods
* refactor: use explicitly tz-aware math for iana-changes-updates script
* chore: remove unused "local_timezone_to_utc()" method helper
2022-09-13 13:16:36 -03:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
ac38dba94b
Ran scripts invoked from bin/hourly and bin/daily through pyflakes3 and test invocation, and tweaked the code (with an added comment) to consistently require virtualenv to be set up before script invocation.
...
- Legacy-Id: 17269
2020-01-30 22:19:42 +00:00
Henrik Levkowetz
5e3f3378d3
Updated scripts in ietf/bin/ to look in env/bin/ for the virtualenv activation script.
...
- Legacy-Id: 12560
2016-12-16 17:50:04 +00:00
Henrik Levkowetz
53506389b3
Make all the scripts under ietf/bin/ set up the environment the same way.
...
- Legacy-Id: 11639
2016-07-12 20:52:09 +00:00
Henrik Levkowetz
f3b22aa300
Added django.setup() to some additional scripts, as required under Django 1.7.
...
- Legacy-Id: 9069
2015-02-11 06:52:07 +00:00
Ole Laursen
e54bd17499
Port from django.core.management.setup_environ to DJANGO_SETTINGS_MODULE
...
- Legacy-Id: 6985
2013-12-18 15:51:11 +00:00
Ole Laursen
0f69f87a56
Skip IANA - Review Needed and Version Changed - Review Needed changes
...
from IANA as it turns out that the Datatracker is the authoritative
source on these states. Also improve logging so that the raw JSON from
IANA is dumped, the parsed JSON on imported changes is dumped and we
write to syslog before starting a sync script in the notification view.
- Legacy-Id: 5800
2013-06-21 16:48:05 +00:00
Henrik Levkowetz
f2c4ed9f24
Changed additional places to use IANA sync settings from settings.py
...
- Legacy-Id: 5681
2013-04-21 15:57:56 +00:00
Henrik Levkowetz
594ca1f256
Changed the logging target of auxiliary IANA and RFC-Ed sync scripts from LOG_LOCAL0 to LOG_USER, matching what we've already used elsewhere for datatracker logging.
...
- Legacy-Id: 5453
2013-02-24 20:14:20 +00:00
Ole Laursen
915908c203
Add HTTP auth to IANA sync, password is supposed to be saved in settings_local.py
...
- Legacy-Id: 4875
2012-09-21 09:15:35 +00:00
Ole Laursen
5282bd1d07
Add sync scripts for reading from IANA changes API, reading from the
...
protocols page (to see when references to newly published RFCs have
been updated) and parsing IANA review emails to be included as
comments
- Legacy-Id: 4850
2012-09-17 15:54:22 +00:00