tca-portal: add open-documentation + refactoring

using classes as a way to make the code cleaner
8 jobs for !422 with 17215-tca-privileged-helper in 3 minutes and 12 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Test
passed #15018
check-translatable-live-website-urls

00:00:19

passed #15022
shellcheck

00:00:33

passed #15019
test-iuk

00:02:53

failed #15020
test-perl5lib

00:01:52

failed #15021
test-persistence-setup

00:00:48

passed #15023
test-python-doctest

00:00:19

failed #15024
test-tca

00:00:42

passed #15025
test-whisperback

00:00:48

 
Name Stage Failure
failed
test-tca Test
    sys.exit(_test())
File "/usr/lib/python3.7/doctest.py", line 2774, in _test
m = __import__(filename[:-3])
File "tca/ui/main_window.py", line 12, in <module>
from tca.ui.asyncutils import GAsyncSpawn, idle_add_chain
File "/builds/tails/tails/config/chroot_local-includes/usr/lib/python3/dist-packages/tca/ui/asyncutils.py", line 6, in <module>
from tinyrpc.protocols.jsonrpc import JSONRPCProtocol
ModuleNotFoundError: No module named 'tinyrpc'
ERROR: Job failed: exit code 1
failed
test-perl5lib Test
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  At least one invalid signature was encountered.
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease At least one invalid signature was encountered.
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease At least one invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old ones used instead.
$ echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/yes
$ cd $CI_PROJECT_DIR/config/chroot_local-includes/usr/src/perl5lib
$ dzil authordebs --install
Can't use an undefined value as a HASH reference at /usr/share/perl5/Debian/AptContents.pm line 444.
ERROR: Job failed: exit code 1
failed
test-persistence-setup Test
  qt5-gtk-platformtheme qttranslations5-l10n readline-common seahorse
seahorse-daemon sensible-utils shared-mime-info systemd systemd-sysv
thunderbird ucf va-driver-all vdpau-driver-all x11-common x11-utils xauth
xdg-user-dirs xkb-data xz-utils
E: You don't have enough free space in /var/cache/apt/archives/.
0 upgraded, 634 newly installed, 0 to remove and 2 not upgraded.
Need to get 284 MB of archives.
After this operation, 1186 MB of additional disk space will be used.
ERROR: Job failed: exit code 1