datatracker/ietf/submit
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
..
management Converted all management commands which set up additional command-line switches to use the argparse approach instead of the deprecated optparse approach. 2017-01-11 18:42:38 +00:00
migrations Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
parsers Changed the acceptable mime type for uploaded xml files to be either text/xml or application/xml. 2016-06-06 07:38:02 +00:00
templatetags Merged in [9766] from lars@netapp.com: 2015-07-18 12:42:38 +00:00
.gitignore Ignore *.pyc files under ietf/submit, as elsewhere. 2011-04-12 15:57:35 +00:00
__init__.py Remove backtrace email code from submit __init__.py, after the submit revamp I think I am responsible for all remaining bugs and not esanchez@yaco.es, and the code sometimes annoyingly interferes (through a bug in admin) with loading the submit module in the shell 2013-11-19 16:14:27 +00:00
admin.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
checkers.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
forms.py Narrowed a too wide try/except region in order to give more correct error messages. Changed the the strip() application to happen only on extracted author elements that actually have content. Fixes an inability to upload xml-only drafts with missing author country information. 2017-06-09 20:12:44 +00:00
mail.py Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge. 2017-03-25 19:16:45 +00:00
models.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
resources.py Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur. 2016-09-25 13:53:22 +00:00
test_submission.bad Improved the verification of submitted file extensions and mimetype. 2015-08-07 12:10:26 +00:00
test_submission.nonascii Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
test_submission.pdf Added support of xml-source only drafts submissions. 2015-07-22 21:35:44 +00:00
test_submission.ps Added support of xml-source only drafts submissions. 2015-07-22 21:35:44 +00:00
test_submission.txt Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
test_submission.xml Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
tests.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
utils.py Merge author stats branch into new branch from trunk 2017-03-28 14:36:40 +00:00
views.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00