Bug#766967: debsources: refactoring - make web UI parts conditional on plugin enablement
Package: qa.debian.org
Severity: normal
User: qa.debian.org@packages.debian.org
Usertags: debsources
Various parts of Debsources UI should really be exposed only if specific
plugins are enabled, e.g., ctags-based search, sloccount statistics, etc. The
way to go about this with Flask are pluggable views
http://flask.pocoo.org/docs/latest/views/
To proper implement this, we will probably need to improve the plugin API,
which is at present rather thin.
Cheers.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: