GNOME Bugzilla – Bug 630909
XML statistics are missing
Last modified: 2018-05-22 12:09:40 UTC
I am filing this as an enhancement request, much though it is a regression. Damned lies used to have XML variants for the pages per team per release. (I am almost sure it was for every statistics page). I remember doing XSL transformations on the output. Anyway, I kindly ask that there be xml variants of the following pages: ================================================ MOST IMPORTANT ONE http://l10n.gnome.org/languages/bg/gnome-2-32/ui/ http://l10n.gnome.org/languages/TEAM/RELEASE/SECTION/ -> http://l10n.gnome.org/languages/TEAM/RELEASE/SECTION/xml This is for every team, release, section Create own statistics via AJAX Structure: <modules> <module> <name>NAME</name> <location>location/to/the/module</location> <branch>master</name> <translated>121</translated> <nontranslated>23</nontranslated> <fuzzy>55</fuzzy> </module> … </modules> ================================================ http://l10n.gnome.org/teams/ -> http://l10n.gnome.org/teams/xml Iterate over and forward to team pages in AJAX Structure: <teams> <team> <code>bg<code> <asciiname>Bulgarian</asciiname> <localname>български</localname> <page>http://fsa-bg.org/project/gtp</page> <coordinatorPage>http://l10n.gnome.org/users/al_shopov/</coordinatorPage> … </teams> ================================================ http://l10n.gnome.org/module/ -> http://l10n.gnome.org/module/xml Maps the existing names to suffixes that are used for links. Iterate over them in AJAX Structure: <modules> <module> <name>GTK+</name> <location>gtk+</location> <module> <module> <name>Rhythmbox Music Player</name> <location>rhythmbox</location> <module> … <modules>
Well, I've adjusted some URLs and documented the current state of APIs on http://live.gnome.org/DamnedLies I admit it's not very uniform, some are just serialization of Django objects, other are more elaborated formats. Could you examine them and propose possible improvements for your needs?
Thank you for documenting the interface. These seem fine: http://l10n.gnome.org/teams/xml http://l10n.gnome.org/module/xml About: http://l10n.gnome.org/languages/<locale>/<release_name>/xml Seems ok - documentation and ui is in the same XML. That suits me. I could open links for all <release_name> (gnome-2-32, gnome-2-30, gnome-office, gnome-infrastructure, gnome-gimp, gnome-extras, freedesktop-org), but I could not for "all" This link is missing: http://l10n.gnome.org/languages/bg/all/xml . "all" is listed as a "module" here: http://l10n.gnome.org/languages/bg/ But I understand that it could be a hassle to add. It is not of primary importance now that you have provided the rest links. However it is not that important for now. Looking at the source and http://live.gnome.org/DamnedLies I see you have added 'json' output but only for http://l10n.gnome.org/module/json and http://l10n.gnome.org/releases/json Please, kindly do the same for the rest - XML transformation in browser is a hassle. Thank you.
-- 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/damned-lies/issues/21.