Created by Robert C Jennings and last modified
Get this branch:
bzr branch lp:~rcj/vmbuilder/mfdiff_fixups
Only Robert C Jennings can upload to this branch. If you are Robert C Jennings please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Robert C Jennings

Recent revisions

49. By Robert C Jennings

Strip architecture from binary when searching cache

48. By Robert C Jennings

Copy rather than rename changelog files

We had been renaming changelog temporary files to place them in
the cache directory if we were successful. A prior commit
(r44 Use the current directory for temp changelog files) was meant
to solve a failure to rename between file systems; this fixed the
default usage where the apt cache directory is created in the current
directory. This fix is insufficient if the user uses the --cache_d
commandline argument to specify a path on a filesystem different
from that filesystem for the current directory. This patch changes
the rename to a copy operation to completely resolve this issue.

47. By Robert C Jennings

Force output to UTF-8 at all times

We want to output UTF-8 at all times to preserve Unicode characters
in the changelog blocks. For Python 2 we will wrap sys.stdout with
an instance of StreamWriter with our preferred coding. Python3 requires
no changes.

When writing output to the terminal we get the encoding of the
terminal (utf-8 these days). When we redirect or pipe the output of
the program it is generally not possible to know what the input
encoding of the receiving program is, the encoding when redirecting
to a file will be None (Python 2.7) or UTF-8 (Python 3)

$ python2.7 -c "import sys; print sys.stdout.encoding" | cat

$ python3.4 -c "import sys; print(sys.stdout.encoding)" | cat


46. By Robert C Jennings

Output utf-8 rather than ascii

45. By Robert C Jennings

Change exception rendering for python3 compatibility

44. By Robert C Jennings

Use the current directory for temp changelog files

43. By Robert C Jennings

Improve variable naming for changelog_url (was clog_url)

42. By Robert C Jennings

Support non-x86 architectures

41. By Robert C Jennings

Fix usage text to correct option order

40. By Robert C Jennings

Eliminate traceback if binary package has been renamed (no longer in apt cache)

Branch metadata

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