lp:~knitzsche/+junk/ul10n-stats

Created by Kyle Nitzsche and last modified
Get this branch:
bzr branch lp:~knitzsche/+junk/ul10n-stats
Only Kyle Nitzsche can upload to this branch. If you are Kyle Nitzsche please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Kyle Nitzsche
Status:
Development

Recent revisions

28. By Kyle Nitzsche

lots of work. includes added -u option which enables stats for ubuntu but
with -c to enable detailed html with drill down

27. By Kyle Nitzsche <knitzsche@chroma>

I'll add that the templates class now loads all fields from the exported
LP template data into a list of dictionairies. This class is then passed
around as needed (instead of the previous approach of writing a file
that was a the current subset, opening it, splitting each line, stripping,
deducing the field value, etc.

26. By Kyle Nitzsche <knitzsche@chroma>

main() has flow that now uses Templates class for interacting with
lp exported template data. work for Ubuntu case now. next, need to impl
for custom case.

25. By Kyle Nitzsche <knitzsche@chroma>

a class to manage lp template export files with API.

24. By Kyle Nitzsche <knitzsche@chroma>

the merge between trunk and my custom branch with conlicts resolved

23. By David Planella

Cleaned up HTML and CSS stylesheets

22. By David Planella

Properly initialize the logger in the iso_pots_get module

21. By David Planella

Fixed the statistics link in the Ubuntu html report

* Set the priority for blacklisting up to the OpenOffice.org docs

20. By David Planella

Merged in Kyle's changes, adapted the languages file change to the new
LanguageSet class

19. By David Planella

Fixed the report language order, more OOP-related changes, added logging. Details:

* Fixed the bug whereby in the report the order of languages within the same
  percentage range was lost in rounding. E.g. after rounding if both German and
  Spanish became 99% translated, it did not matter whether one was 98.7 and the
  other one 98.9, they ended up being alphabetically sorted. It turned out that
  this could be solved at the Gviz API level by specifying a number formatter,
  so that no previous rounding is necessary

* Continued the effort to make the program object-oriented. All
  language-related operations are now done in classes. This has brought up the
  benefit to be able to specify whether the list of languages must be fetched
  from Launchpad or from a local text file. Started adding classes for po
  template statistics

* Added logging infrastructure through the standard logging library

* Moved do_lp_login() to common.utils, as it is a generic function that can be
  used by other modules.

* Started adding a mechanism to enable the inclusion of other templates in the
  calculation. The most obvious case is for external translations, and in
  particular for OpenOffice.org. Added a couple of helper functions to obtain a
  pair of potemplate-starts.log and package-stats.log from an OpenOffice.org
  translation tarball.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers