GNOME Bugzilla – Bug 785869
Identify and remove ancient localized user help screenshots not used anymore in canonical (C) help
Last modified: 2018-09-21 16:01:56 UTC
We have a shitload of screenshots in localized help folders which are not used anymore in the actual English (C) help and just bloat tarball sizes. For example, compare https://git.gnome.org/browse/orca/tree/help/C/figures https://git.gnome.org/browse/orca/tree/help/el/figures One step could be to compare the folder content in "$lang/figures/" to the folder content in "C/figures/" and "git rm" unused files from "$lang/figures/", if I get it right? (Another step on top could be to grep the C help files for each item listed in the folder "C/figures/".)
Ah, I am wrong. :) Looking into ftp://ftp.gnome.org/pub/gnome/sources/orca/3.25/orca-3.25.4.tar.xz the el folder has no figures subfolder.
Quick and dirty on a GNOME Git checkout: #!/bin/bash for i in $( ls ); do if [ -d $i ]; then cd $i if [ -d "help" ]; then cd help for j in $( ls ); do if [ -d $j ]; then cd $j if [ -d "figures" ]; then cd figures echo $i"/"$j":" comm -13 <(ls ../../C/figures/) <(ls .) echo "" cd .. fi elif [ -d "media" ]; then # baobab... cd figures echo $i"/"$j":" comm -13 <(ls ../../C/figures/) <(ls .) echo "" cd .. fi cd .. fi done cd .. fi cd .. fi done
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/releng/issues/3.