~nacc/git-ubuntu:lp1703028

Last commit made on 2017-07-11
Get this branch:
git clone -b lp1703028 https://git.launchpad.net/~nacc/git-ubuntu
Only Nish Aravamudan can upload to this branch. If you are Nish Aravamudan please log in for upload directions.

Branch merges

Branch information

Name:
lp1703028
Repository:
lp:~nacc/git-ubuntu

Recent commits

58bdb56... by Nish Aravamudan

git ubuntu merge: do not drop LP: from top-level changelog entries

We unconditionally drop all LP: to LP when finishing a merge, but that isn't
correct if the changelog entry is for a new change.

LP: #1703028

1d5fe75... by Nish Aravamudan

git ubuntu merge: verify commitish is resolveable before use

b833422... by Robie Basak

Open dsc in binary mode for better decoding

Prior to Debian policy 3.8.1.0 (around March 2009), dsc files could be
encoded in anything as no encoding was mandated.

ubuntutools.archive.Dsc already has some support for auto-detection. It
appears to work, but the dsc must be opened in binary mode for this to
work.

This may mutate hashes if any other dscs are decoded differently as a
consequence of this change.

LP: #1700846

0118ac0... by Nish Aravamudan

git ubuntu: emit newline after input() prompt

Otherwise, the line doesn't break and it's not clear where the user's input
starts.

a8127b0... by Nish Aravamudan

git ubuntu: quieten keyring logging

502dbb3... by Nish Aravamudan

gitubuntu/git_repository: correct search for string in file

We were calling open() on an file-like object, which was already open(). Also,
we need to seek to 0 in order to read in the entire file as written.

Fixes: 62550c080 ('GitUbuntuRepository: properly handle missing
debian/changelog')

38c1859... by Nish Aravamudan

gitubuntu/git_repository: open temporary file in same mode as named file

94d0f79... by Nish Aravamudan

git ubuntu import: leverage raise ... from ... syntax

This provides a bit of a cleaner stacktrace output on errors when we are
propogating/transforming exceptions. Per PEP 3134, this is present in
python 3.0+.

038533a... by Nish Aravamudan

git ubuntu import: remove unnecessary try/catch

We are just going to re-raise an exception in the catch, so don't even
bother try/catch'ing it.

Also clean up some style.

b7c23c6... by Nish Aravamudan

git ubuntu build: correct search for matching upstream version

The loop only makes sense if the publishing records are in version
order. That is not the case before this change, as they are in published
order and leads to false output (e.g., for sssd).