Commit graph

28 commits

Author SHA1 Message Date
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz 9e43474612 Fixed an issue with the htmlization of links in release notes.
- Legacy-Id: 16820
2019-10-03 21:58:38 +00:00
Henrik Levkowetz 1efd28752c Added some caching to /release/ pages. With now more than 350 releases, the page response times had increased to typically 4s. Caching in view and template brought this down to ~160ms.
- Legacy-Id: 16744
2019-09-21 12:36:08 +00:00
Henrik Levkowetz 8c6eb3a30a Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz 4c297ba4c0 Changed settings so that cache keys used by memcached includes the release version, in order to avoid stale and incorrect cache content on new release deployment. Made it easier to pick out cache key composition by normalizing the variable name. Adjusted cache prefix and the composition of some keys to have a unique and consistent cache key prefix.
- Legacy-Id: 14943
2018-03-26 21:26:20 +00:00
Henrik Levkowetz da3032b21d Tweaked the test coverage percentage numbers shown in the coverage chart to use only 3 decimal digits, not 12 ...
- Legacy-Id: 13247
2017-04-19 21:26:11 +00:00
Henrik Levkowetz e6c41879ac Added charts for test coverage and release frequency.
- Legacy-Id: 13232
2017-04-18 16:48:34 +00:00
Henrik Levkowetz cd9cb4ad29 Fixed an issue which left html meta-characters unescaped in release-notes shown under /release/
- Legacy-Id: 12919
2017-02-25 16:37:15 +00:00
Henrik Levkowetz 7b95411f58 The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz e548654360 Cleanup.
- Legacy-Id: 11151
2016-05-04 08:54:36 +00:00
Henrik Levkowetz c23fe867e1 Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10942
2016-03-16 14:10:13 +00:00
Henrik Levkowetz 64f5473499 Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10941
2016-03-16 14:06:09 +00:00
Henrik Levkowetz 5905876de1 Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10940
2016-03-16 14:05:19 +00:00
Henrik Levkowetz e8ed4609f2 Added a workaround for thread import lock problem, http://bugs.python.org/issue7980.
- Legacy-Id: 10922
2016-03-14 19:24:19 +00:00
Henrik Levkowetz 90b97468a9 Changed to use a gzipped release coverage JSON file, instead of a plain JSON file, if the name given in settings.py ends in .gz. Reduces the current release coverage file size from ~1.6MB to ~200kB. This is a preparation for saving more information in the release coverage file than we currently do.
- Legacy-Id: 10235
2015-10-18 14:32:36 +00:00
Henrik Levkowetz 8ad020edd2 Removed an unused import.
- Legacy-Id: 10047
2015-08-23 19:31:28 +00:00
Henrik Levkowetz 83c48840ce Undid unwanted escaping of release log entries.
- Legacy-Id: 10044
2015-08-23 19:18:48 +00:00
Henrik Levkowetz ab61063882 Added escaping of changelist content for the /release/ pages.
- Legacy-Id: 9827
2015-07-20 13:49:06 +00:00
Henrik Levkowetz acc2c59920 Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9556
2015-04-24 21:47:12 +00:00
Henrik Levkowetz 0b971f635d Added test coverage data to the release pages if available for the release. Added saving of html pages for the code coverage to a directory in the static files area. If a code coverage report is available, a link to it will be shown on the release page of the current release. Renamed some setting variables related to test coverage to be more explicit and precise.
- Legacy-Id: 9201
2015-03-14 19:08:37 +00:00
Henrik Levkowetz ed97ce5a21 Added changeset and ticket links to the release notes under /release/
- Legacy-Id: 7684
2014-05-02 00:30:25 +00:00
Henrik Levkowetz 613033143c Made ietf/release pyflakes-clean.
- Legacy-Id: 7500
2014-03-16 08:06:45 +00:00
Ole Laursen fe6c2d67c4 Replace the Http404 in release/views.py if the changelog file is not
found with a simple error message, this mimicks the way the rest of the
Datatracker is handling missing files and avoids an annoying 404 when
running the test-crawler without all directories set up
 - Legacy-Id: 7105
2014-01-10 17:55:50 +00:00
Henrik Levkowetz f50337695e Added a list of releases below the release notes at /releases/*
- Legacy-Id: 5791
2013-06-14 13:13:20 +00:00
Henrik Levkowetz de5da28101 Handle an unrecognized revision more gracefully.
- Legacy-Id: 4973
2012-10-30 22:15:55 +00:00
Henrik Levkowetz 7e84ccc606 Tweaked the changelog presentation to work irrespective of current directory, and give a sensible 404 if the changelog can't be found.
- Legacy-Id: 4972
2012-10-30 22:13:37 +00:00
Henrik Levkowetz bfe0756351 Added a simple page to show release information parsed from a release's changelog file.
- Legacy-Id: 4958
2012-10-25 21:29:53 +00:00