lp:~knitzsche/+junk/lp-l10n-stats

Created by Kyle Nitzsche and last modified
Get this branch:
bzr branch lp:~knitzsche/+junk/lp-l10n-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

31. By Kyle Nitzsche <knitzsche@chroma>

now the main custom html page has live links to:
- src pkgs/domains excluded from stats due to file blacklisting
- src pkgs/domains excluded from stats due to priority blacklisting

30. By Kyle Nitzsche <knitzsche@chroma>

Added two new html templates and autgenerate html pages from them, linked
to from the main page, to show src pkgs on which the data is based and src
pkgs in the project but excluded from the data because they are either
not in Main or were excluded by blacklisting

29. By Kyle Nitzsche <knitzsche@chroma>

improve comments

28. By Kyle Nitzsche <knitzsche@chroma>

common/templates/custom_html_reports_template.py: this is used when the
-c option is invoked. Also use -n to set the project name.

27. By Kyle Nitzsche <knitzsche@chroma>

move custom cmd line arg definitions below standard args, and add comment
to separate them.

also, add -n (--custom-name) options. this sets the project name in the
custom html page

26. By Kyle Nitzsche <knitzsche@chroma>

add the html template for custom projects

25. By Kyle Nitzsche <knitzsche@chroma>

make html h3 orange

24. By Kyle Nitzsche <knitzsche@chroma>

when a manifest is used to generate src pkgs to consider, some src pkgs
it returns are not in Ubunu main and thus they are excldued from the
working set. Since the final stats don't include these, they need to be
logged, and now they are, in reports/<type>-src-pkgs-not-found file.

23. By Kyle Nitzsche <knitzsche@chroma>

several big changes:
* changed main() method. Now it reflects the central flow with appropriate
method calls. control returns to the main method after each. each method
returns all data needed, which is then passed to other methods. As part
of this, the terminology is modifed and this is reflected in new generated
files.
 - 'superset' templates are those that are in the lp template export file
for the target release and that are enabled and, in the case of ubuntu,
that not removed as out of scope due to being in the EXTRA_SRC_PKGs list
 - 'working' templates are the superset after all blacklisting is applied
* logging: files are written into reports to show superset, working,
blacklist-file, blacklist-priority, blacklist-all (file names start with
'ubuntu' or 'custom'). Two methods do this for the two types of data
being written.
* implemented a new/better way to get the src pkgs for which data is
compiled in custom executions: from a manifest file (format per line:
'binary_pkg version'). The -m <file> argument enables and uses specified
file. Two methods parse the file.
 - get_bin_pkgs_from_manifest returns a list of tuples, where each tuple
is the binary pkg and its version
 - get_src_pkgs_from_binary_pkgs takes that list and returns correlated
src pkgs
then the domains for the found src pkgs are (if in LP template export
file) added to the working set of domains, which then is used to to create
the 'working' set.

22. By Kyle Nitzsche <knitzsche@chroma>

working commit

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