lp:~mvo/apt-ddtp-tools/suck-less

Created by Michael Vogt and last modified
Get this branch:
bzr branch lp:~mvo/apt-ddtp-tools/suck-less
Only Michael Vogt can upload to this branch. If you are Michael Vogt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Vogt
Project:
apt DDTP tools
Status:
Experimental

Recent revisions

48. By Michael Vogt <egon@tas>

* ddtp/__init__.py:
  - start of a proper OO version of the scripts
* ddtp/translationfile.py:
  - initial drafts of TranslationFile and Translation objects
* tests/test_ddtp_translationfile.py:
  - initial set of tests

47. By Michael Vogt

jaunty/debian-ddtp-import/gen-sync.sh:
- filter out duplicated md5sums (debian has a bug there)
jaunty/debian-ddtp-import/update-from-debian.sh:
- remove *.gz in the download dir, mget -c seems to act strangely otherwise
jaunty/gen-translations-upload.sh:
- add (comments out) run for main only
jaunty/verify-translation-file.py:
- better debug output
po2translation.py:
- test on empty strings and None instead of None only
- handle multi line strings correctly
tests/data/Packages, tests/data/Translation-de:
- more test data for the multiline string changes
tests/test_translation2po.py:
- run verify_translations_file.py in test too
translation2po.py:
- make msgfmt -c happy by making sure the \n at the end matches
  (msgid wins)

46. By Michael Vogt

* cmp-translations.py:
  - hm, this needs love, the right hand/left hand side is all mixed up
* po2translation.py:
  - remove \r and \n\n only, not regular \n
* tests/data/Packages:
  - add gnumeric and trscripts
* tests/data/Translation-de:
  - add gnumeric
* translation2po.py:
  - write out correct msgid/msgfmt strings for multi line strings
* utils.py:
  - change parse_descr(() to deal properly with lines starting
    with two whitespaces (http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description)

45. By Michael Vogt

tests/test_translation2po.py: make the test actually work

44. By Michael Vogt

* po2translation.py:
  - make it testable
* tests/test_translation2po.py:
  - add test to see if "translation -> po -> translation" works

43. By Michael Vogt

* translation2po.py:
  - make it testable
* tests/test_translation2po.py:
  - add (very simple for now) test for the translation2po code

42. By Michael Vogt

* add tests directory

41. By Michael Vogt

add textwrap for long description output

40. By Michael Vogt

add ddtp-upload.py tool that can sync our translations back to debian

39. By Michael Vogt

update checklist and make the workflow more stringent

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers