Commit graph

21 commits

Author SHA1 Message Date
Henrik Levkowetz 78963ecdef Added request profiler and a management command to purge profiler records.
- Legacy-Id: 17648
2020-04-15 20:48:08 +00:00
Henrik Levkowetz d9b11f31d9 More Py2/3 adaptations fetched from production.
- Legacy-Id: 17333
2020-02-23 16:27:30 +00:00
Henrik Levkowetz cf56beb8cc Cronjob script changes pulled from the production server after the switch to python 3.
- Legacy-Id: 17326
2020-02-23 01:28:16 +00:00
Henrik Levkowetz 293e505bbb Hardcoded an rsync target path, and added a bash trap for errors in hourly and daily cron scripts.
- Legacy-Id: 17264
2020-01-28 15:41:47 +00:00
Henrik Levkowetz 445afbe5c5 Hardcoded an rsync target path, and added a bash trap for errors in hourly and daily cron scripts.
- Legacy-Id: 17263
2020-01-28 15:40:42 +00:00
Sasha Romijn 296b126c70 Ref #2231 - Fix send-review-reminders and add it to daily cron
This fixes a syntax error and a Python 3 incompatibility, and adds
send-review-reminders to the daily cron script.

Important notes:
- I have not tested to what degree the existing reminders work as they
  should, as that's out of scope. It does have tests.
- I can't assess whether the virtualenv activation works in the
  production setup, and it may be obsolete as bin/daily also
  activates the virtualenv.
- The same Python 3 incompatibility (execfile() no longer exists) seems
  to exist in various other scripts.
  
Commit ready for merge.
 - Legacy-Id: 16703
2019-09-05 10:50:39 +00:00
Henrik Levkowetz 310741f2a2 Changes to make the bin/daily cron script quiteter.
- Legacy-Id: 16356
2019-07-01 18:30:00 +00:00
Henrik Levkowetz 6a69551e33 The nomcom send_reminders command was not being run daily. Fixed that.
- Legacy-Id: 15519
2018-10-03 12:22:11 +00:00
Henrik Levkowetz 780c71aed2 Tweaked the rsync arguments for IANA YANG models.
- Legacy-Id: 15284
2018-07-04 20:28:52 +00:00
Henrik Levkowetz 6567e707ce Merged in ^/personal/henrik/6.64.2-ballotapi@14426. This provides personal API keys and a ballot position API at /api/iesg/position. Also added an endpoint description at /api/.
- Legacy-Id: 14430
2017-12-17 23:43:44 +00:00
Henrik Levkowetz 383b8b16b9 Corrected daily and hourly cron script descriptions.
- Legacy-Id: 14425
2017-12-16 18:27:06 +00:00
Henrik Levkowetz 47a0b9d3ce Changed handling of yang modeules from drafts with errors, to not place them in separate directories, due to possible follow-on effects. Added use of IANA-held modules when validating, and regular rsyncing from IANA.
- Legacy-Id: 14389
2017-12-04 14:37:15 +00:00
Henrik Levkowetz fe7d484e27 Added the necessary switch argument for the registration importer's --latest switch.
- Legacy-Id: 13960
2017-07-21 12:55:27 +00:00
Henrik Levkowetz d98054c103 Added a new yang checker, 'yanglint', to the existing Yang checker class, in
addition to the existing 'pyang' checker.

Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks.  Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.

Added the result of the xym extaction to the yang check results, to make
extration failures visible.

Added the version of the used xym, pyang, and yanglint commands to the check
results.

Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.

Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release.  We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.

Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission.  Run daily from bin/daily.

Added a table to hold version information for external commands.  The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...

Added a new management command to collect version information for external
commands on demand.  To be run daily from bin/daily.

Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.

Updated admin.py and resource.py files as needed.
 - Legacy-Id: 13630
2017-06-15 16:09:28 +00:00
Henrik Levkowetz 219c3015d7 Added the meeting attendance fetcher to the daily cronjobs
- Legacy-Id: 13491
2017-06-01 20:58:54 +00:00
Henrik Levkowetz 00a3392192 Enabled invocation of 3 additional scripts from bin/daily (instead of ../scripts/Night-runner)
- Legacy-Id: 12561
2016-12-16 17:51:12 +00:00
Henrik Levkowetz 927d01fd01 Point at the new virtualenv location in the cron runners.
- Legacy-Id: 12277
2016-11-07 18:39:24 +00:00
Henrik Levkowetz ea4160a709 Applied production patches to trunk.
- Legacy-Id: 11208
2016-05-19 20:03:19 +00:00
Henrik Levkowetz 32990c027f Make daily and hourly scripts executable
- Legacy-Id: 11194
2016-05-15 16:46:20 +00:00
Henrik Levkowetz 8488d0620f Added a crontab file to be symlinked from /etc/cron.d/, and related scripts to be run from cron. Requires refactoring of CronRunner and NightRunner scripts before activation, to avoid duplicate runs.
- Legacy-Id: 11114
2016-04-08 17:32:18 +00:00
Henrik Levkowetz aab0a565d3 Added a crontab file to be symlinked from /etc/cron.d/, and related scripts to be run from cron. Requires refactoring of CronRunner and NightRunner scripts before activation, to avoid duplicate runs.
- Legacy-Id: 11111
2016-04-08 17:21:50 +00:00