[Live-demo] Script to extract translation status

Cameron Shorter cameron.shorter at lisasoft.com
Sun Nov 4 13:48:47 PST 2012


I've created a script which extracts doc version numbers from subversion,
then calculations whether translations have been updated since the last
English doc update.

It also provides links to track changes - showing English doc changes since
the last translation.

Alex, Hamish,
I wonder if we could link this into an hourly cron job and linked into a
web page somewhere?

Script here:
https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/extract_doc_versions.pl

Output looks like:

OSGeo-Live Documentation translation status Summary  language Sum up
to date Sum
translated  ca 50 ... 34% 83 ... 58%  de 77 ... 53% 120 ... 83%  el 93 ...
65% 141 ... 98%  en 143 ... 100% 143 ... 100%  es 95 ... 66% 130 ... 90%  fr 66
... 46% 75 ... 52%  it 96 ... 67% 99 ... 69%  ja 32 ... 22% 64 ... 44%  ko 76
... 53% 80 ... 55%  pl 24 ... 16% 49 ... 34%  ru 139 ... 97% 142 ... 99%  zh 61
... 42% 76 ... 53%   Per file translation status  dir/file date en ca de el
es fr it ja ko pl ru zh
./contact.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/contact.html>
Aug
14 2011 6841 7871 6841 6915 8920 8525 8957 8860 8631 6841 9149 8151
./copyright.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/copyright.html>
Jul
26 16:03 8351 7791<http://trac.osgeo.org/osgeo/changeset?new=8351%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fcopyright.rst&old=7791%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fcopyright.rst>
 9123 9139 8865 8752


 9163 8151<http://trac.osgeo.org/osgeo/changeset?new=8351%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fcopyright.rst&old=8151%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fcopyright.rst>
./disclaimer.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/disclaimer.html>
May
15 20:18 7944 7791<http://trac.osgeo.org/osgeo/changeset?new=7944%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst&old=7791%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst>
 5716<http://trac.osgeo.org/osgeo/changeset?new=7944%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst&old=5716%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst>


 6841<http://trac.osgeo.org/osgeo/changeset?new=7944%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst&old=6841%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fdisclaimer.rst>

 9163 8248  ./download.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/download.html>
Aug
17 08:24 9070 9070 9070 9070 9070 9070 9070 9070 9077 9070 9149 9070
./index.rst <http://adhoc.osgeo.osuosl.org/livedvd/docs//en/index.html> Jul
29 04:16 8461 8379<http://trac.osgeo.org/osgeo/changeset?new=8461%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst&old=8379%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst>
8379<http://trac.osgeo.org/osgeo/changeset?new=8461%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst&old=8379%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst>
9123 8379<http://trac.osgeo.org/osgeo/changeset?new=8461%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst&old=8379%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst>
8660 8752 8899 8759 8899 9163
8379<http://trac.osgeo.org/osgeo/changeset?new=8461%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst&old=8379%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Findex.rst>
./presentation.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/presentation.html>
Jul
30 06:01 8513 7792<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fpresentation.rst&old=7792%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fpresentation.rst>
8879 9123
 8525 8752 8562

 9149 8151<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fpresentation.rst&old=8151%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fpresentation.rst>
./sponsors.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/sponsors.html>
Jul
30 06:01 8513
 6841<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=6841%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
7739<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=7739%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
7717<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=7717%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
8525 8752 7927<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=7927%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
9080 6841<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=6841%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
9149 8151<http://trac.osgeo.org/osgeo/changeset?new=8513%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst&old=8151%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2Fsponsors.rst>
./sponsors_osgeo.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/sponsors_osgeo.html>
Sep
25 21:07 9171
 9171 9171 9171 9171 9171 9171 9171 9171 9171 9171
./test.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/test.html>
Aug
08 19:53 8852








 9149
  overview/52nSOS_overview.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/overview/52nSOS_overview.html>
Sep
26 00:16 9172 9172 9172 9172 9172 9172 9172 9172 9172
 9172 9172  overview/52nWPS_overview.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/overview/52nWPS_overview.html>
Aug
04 05:27 8694 8007<http://trac.osgeo.org/osgeo/changeset?new=8694%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst&old=8007%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst>
9038 9125 8748 8759 9021
7860<http://trac.osgeo.org/osgeo/changeset?new=8694%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst&old=7860%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst>
8694 7860<http://trac.osgeo.org/osgeo/changeset?new=8694%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst&old=7860%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst>
9155 8248<http://trac.osgeo.org/osgeo/changeset?new=8694%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst&old=8248%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2F52nWPS_overview.rst>
overview/52nWSS_overview.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/overview/52nWSS_overview.html>
Apr
17 2012 7863 8007 7864 8115 8748 8759 9001 7914 7863
 9155 8248  overview/R_overview.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/overview/R_overview.html>
Aug
08 19:53 8852 8852
7864<http://trac.osgeo.org/osgeo/changeset?new=8852%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst&old=7864%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst>
9125 8748<http://trac.osgeo.org/osgeo/changeset?new=8852%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst&old=8748%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst>
8759<http://trac.osgeo.org/osgeo/changeset?new=8852%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst&old=8759%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst>
8852 8100<http://trac.osgeo.org/osgeo/changeset?new=8852%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst&old=8100%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst>
8852 8852 9178 8248<http://trac.osgeo.org/osgeo/changeset?new=8852%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst&old=8248%40livedvd%2Fgisvm%2Ftrunk%2Fdoc%2Fen%2F%2FR_overview.rst>
overview/atlasstyler_overview.rst<http://adhoc.osgeo.osuosl.org/livedvd/docs//en/overview/atlasstyler_overview.html>
Aug
10 06:31 8900 8900 8900 8900 8900 8900 9005 8900 8900 8900 9155 8902

-- 
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Commercial Support for Geospatial Open Source Solutions
http://www.lisasoft.com/LISAsoft/SupportedProducts.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20121105/7908db7f/attachment.html>


More information about the Osgeolive mailing list