After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785869 - Identify and remove ancient localized user help screenshots not used anymore in canonical (C) help
Identify and remove ancient localized user help screenshots not used anymore ...
Status: RESOLVED OBSOLETE
Product: Release Engineering
Classification: Infrastructure
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Release Engineering People
Release Engineering People
Depends on:
Blocks:
 
 
Reported: 2017-08-05 21:27 UTC by André Klapper
Modified: 2018-09-21 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2017-08-05 21:27:22 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/".)
Comment 1 André Klapper 2017-08-05 21:31:21 UTC
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.
Comment 2 André Klapper 2017-08-06 13:11:01 UTC
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
Comment 3 GNOME Infrastructure Team 2018-09-21 16:01:56 UTC
-- 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.