lp://staging/~pascal-devuyst/+junk/ddtpbug-utils

Created by Pascal De Vuyst and last modified

Debian Description Translation Project bug utilities for package description bugs in Ubuntu:

* descr(.sh/show.py): search, show or update Ubuntu, Debian en deb-multimedia-unstable current descriptions or show translations.launchpad.net/ddtp-ubuntu last-pot-update
* ddtp-debreportbug(.sh): for sending package description bugs to Debian from Ubuntu (wrapper around debreportbug.sh for sending bugs from Ubuntu which is a wrapper around reportbug)
* lpbug(.py): to mark a ddtp-ubuntu launchpad bug as Triaged and forwarded to Debian or Fix Released
* debreopen(.sh): for reopening and adding a followup message to an incorrectly closed Debian bug or closing a wrongly reported Debian bug.

Run command with --help option for details.

Get this branch:
bzr branch lp://staging/~pascal-devuyst/+junk/ddtpbug-utils
Only Pascal De Vuyst can upload to this branch. If you are Pascal De Vuyst please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Pascal De Vuyst
Status:
Mature

Recent revisions

14. By Pascal De Vuyst

added README
renamed lpbug(.py) to ddtp-lpbug(.py):
 * ported to python3
 * renamed commands to shorter tr and fr
 * fr command: mark a ddtp-bug as Fix Released and input one-line comment (translations.launchpad.net URL) as string
ddtp-debreportbug(.sh):
 * make usage explanation more compact
 * add --mail-report option to send modified bug report.tmp to Debian
 * fix if comparison operator to = instead of ==
debreopen(.sh):
 * clarify usage explanation
 * add -c or --close option to close a wrongly reported Debian bug
 * debbugnumber needs to be a number greater than 0
debreportbug.sh:
 * add --mail-report option to send modified bug report.tmp to Debian
 * output --template report automatically disables --paranoid
 * get backupreport path from stderr and remove useless System Information and trailing empty lines before sending or cancel to modify and use --mail-report option
descr(.sh):
 * xz is now used as Packages compression for all repos
 * use binary-amd64/Packages instead of binary-i386/Packages
 * add xz as Translation-en compression for Ubuntu, other repos use bz2

13. By Pascal De Vuyst

replaced backticks by $() in *.sh
rename ddtp-report2debian(.sh) to ddtp-debreportbug(.sh):
 * added options --source for bugs in multiple binary packages from same source
   and --bugnumber for followup messages
 * use reportbug --body-file instead of --include to avoid *** /tmp/body.txt in
   report
renamed reportbug2debian.sh to debreportbug.sh and removed reportbug2debian
symlink:
 * use reportbug --mode=advanced to avoid newbie lines in report
 * use reportbug --paranoid to show the content of the bug before sending since
   we use editor /tmp/body.txt and --body-file now
modified descr.sh:
 * added search in debian-experimental also in show.py and port it to python3
 * deb-multimedia-unstable uses Packages.bz2
 * add timestamp for ubuntu-stable to --last-pot-update option
added lpbug(.py):
 * tri command to mark ddtp-ubuntu launchpad bug as status Triaged importance
   Low and add forwarded to Debian comment
 * fix command to mark a ddtp-ubuntu bug as Fix Released with translationsurl
added debreopen(.sh) to reopen/add a followup message to not fixed debian bugs

12. By Pascal De Vuyst

* descr.sh: use long option names for more readability, support for Packages.xz used in Debian now, renamed old-repo to no-i18n and show ubuntudevver when last-pot-update is issued.

11. By Pascal De Vuyst

* config: NAME is not needed in ~/.pam_environment it is taken from user info field of /etc/passwd file.
* ddtp-report2debian.sh: only show search url for future reference for multiverse or restricted, LP: #869824 make ddtp-ubuntu-main and -universe timeout because they have too many strings for search.
* descr.sh: added last-pot-update command too see when the pot files have been updated for the last time.
* show.py: hint to add tags bitesize packaging string-fix to bug reports for Ubuntu-only packages.

10. By Pascal De Vuyst

.bzrignore: rename debian-multimedia-unstable to deb-multmedia-unstable

9. By Pascal De Vuyst

* config: added thanks variable and find out current ubuntu development version using distro-info package
* ddtp-report2debian.sh: added thanks line
* descr.sh: package descriptions for ubuntu and debian-unstable are in $comp/i18n/Translation-en.bz2 now, wget these files, rename debian-multimedia-unstable to deb-multimedia-unstable and set 'old-repo'
* show.py: requires python-distro-info package and modify for Translation-en, deb-multimedia-unstable and don't break on first match cfr radare

8. By Pascal De Vuyst

config show.py: find out the current ubuntu development version automatically
                (requires ubuntu-dev-tools package)
reportbug2debian: added symlink to reportbug2debian.sh

7. By Pascal De Vuyst

config: - recommend to set the email address and real name used in
            ~/.pam-environment
          - ubuntu development version set to natty
descr.sh: - automatically create a directory for the ubuntu development
            version and update Packages in all ubuntu-*/ directories to
            support older releases (mkdir ubuntu-<codename>)
show.py: - rewritten using apt_pkg.TagFile which makes it lightning fast

6. By Pascal De Vuyst

* Removed directory 'descriptions/'
  Moved 'descr' symlink, 'descr.sh' and 'show.py' to root directory.
  Modified ddtp-report2debian.sh and descr.sh to this directory change.
* Modified ubuntudevver to maverick in 'config' file.
* Echo 'Extracting: ' before bunzip commands to be more verbose.
* Added file 'TODO'

5. By Pascal De Vuyst

ddtp-report2debian.sh: --reuse option or package can be specified now,
                       --help option for usage,
                       ddtp body related functionality moved here from
                       report2debian.sh and use reportbug2debian.sh now
report2debian.sh: removed and replaced by reportbug2debian.sh
reportbug2debian.sh: added, simple wrapper around reportbug to report bugs
                       from ubuntu to debian: adds ubuntu usertagging and
                       doesn't check if packages are installed.
descriptions/descr.sh: minor cleanups

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