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 630909 - XML statistics are missing
XML statistics are missing
Status: RESOLVED OBSOLETE
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-09-29 15:13 UTC by Alexander Shopov
Modified: 2018-05-22 12:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Shopov 2010-09-29 15:13:31 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>
Comment 1 Claude Paroz 2010-09-29 20:15:19 UTC
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?
Comment 2 Alexander Shopov 2010-10-05 08:58:54 UTC
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.
Comment 3 GNOME Infrastructure Team 2018-05-22 12:09:40 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/damned-lies/issues/21.