mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-18 05:41:08 +00:00
Reading the raw stream doesn't decode files that are content-encoded, which is true for the 'changes' file from launchpad, so it's saved to disk gzipped which isn't what is expected. Using the python requests iter_content method instead uses the built-in stream decoding that the requests library provides, and saves the file uncompressed/unencoded. Note that since the encoded Content-Length won't match the resulting unencoded actual length of data we save to file, this also turns off the progress bar for any files that have Content-Encoding.
Updating the ubuntu-dev-tools package ------------------------------------- Here are the 10 steps that are recommended to take when updating the ubuntu-dev-tools package in Ubuntu. 1) Make sure there are no new commits to the package's master branch in git: git pull 2) Check to make sure that all approved merges have been merged: https://code.launchpad.net/ubuntu-dev-tools/+activereviews 3) Make sure that there is no low lying fruit that can be fixed at: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools https://bugs.debian.org/src:ubuntu-dev-tools 4) Check that the test suite passes setup.py test 5) Before uploading the package change the UNRELEASED field in the debian/changelog file to unstable. (ubuntu-dev-tools is maintained in Debian and synced to Ubuntu) If there is no UNRELEASED entry, make sure that the version for the current one has not been uploaded by someone else already: https://tracker.debian.org/pkg/ubuntu-dev-tools https://launchpad.net/ubuntu/+source/ubuntu-dev-tools/+publishinghistory 6) Once the target release has been changed, commit it to git (where X.YY is the new package version): git commit -a -m "Uploaded X.YY to RELEASE." 7) Create the new source package and tag the new release in git: gbp buildpackage -S --git-tag For a full list of tags, please see: 'git tag -l'. This is so we can track which git commit is in which release and makes bug triaging easier. 8) Upload the package to Debian with dput as normal: dput ftp-master ubuntu-dev-tools_X.YY_$arch.changes 9) Create a new blank entry with dch -i and mark it as UNRELEASED. 10) After it's been dinstalled in Debian, sync to Ubuntu: syncpackage ubuntu-dev-tools
Description
Languages
Python
89%
Shell
9.9%
Perl
1.1%