~smoser/usd-importer:bug/1638087

Last commit made on 2016-11-01
Get this branch:
git clone -b bug/1638087 https://git.launchpad.net/~smoser/usd-importer
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
bug/1638087
Repository:
lp:~smoser/usd-importer

Recent commits

cfb16e5... by Scott Moser on 2016-11-01

Walk release list backwards to find branch for ubuntu/devel.

This fixes an error when importing an ubuntu package that is no
longer available in the development release.

LP: #1638087

736bc48... by Nish Aravamudan on 2016-10-27

usd/importer: Fix verbose handling

Fixes: f9ef6d48 ("usd/importer: specify formatting for logger to include timestamps, drop module"
Signed-off-by: Nishanth Aravamudan <email address hidden>

f9ef6d4... by Nish Aravamudan on 2016-10-27

usd/importer: specify formatting for logger to include timestamps, drop module

Signed-off-by: Nishanth Aravamudan <email address hidden>

5cfd397... by Nish Aravamudan on 2016-10-27

usd-merge: properly report back return codes on errors

As pointed out by Christian Ehrhardt, if `git tag` fails, the return
code from `usd-merge` is zero, which is incorrect and can lead to
wrapper scripts incorrectly detecting success.

Signed-off-by: Nishanth Aravamudan <email address hidden>

d8191db... by Nish Aravamudan on 2016-10-27

usd/GitRepository: print exception information on pull failure

Signed-off-by: Nishanth Aravamudan <email address hidden>

44cb9c6... by Nish Aravamudan on 2016-10-27

usd/GitRepository: remove stray debug line

Signed-off-by: Nishanth Aravamudan <email address hidden>

5b6164b... by Scott Moser on 2016-10-27

Operate on changelog and commit message as bytes

Instead of
  git commit-tree -m <string>
We put the commit message in a file and use
  git commit-tree -F <tmpfile>
Now we are not converting the commit message to string at
all, allowing it to have non-utf-8 chars ini t.

218e5b5... by Scott Moser on 2016-10-25

Cleanup of 'run' and fix error when changelogs have non-utf8 output.

This wraps usage of subprocess.run with a 'run' method that has
the common defaults we use.

Also adds a 'decode_binary' method
for decoding and logging WARN if the decode fails to actually
be utf-8. Not sure if that is exactly what we want to do or not.

The changes here also make logging of the commands that are run
to output at debug level and logging failed commands and exit code.

LP: #1636529

1da204e... by Nish Aravamudan on 2016-10-27

usd/GitRepository: add exponential backoff on pull failure

Signed-off-by: Nishanth Aravamudan <email address hidden>

1ba0f23... by Nish Aravamudan on 2016-10-27

usd/GitRepository: retry pull() on all Exceptions

We are also seeing OSErrors, e.g., as download failures (e.g., proxy
issues).

Signed-off-by: Nishanth Aravamudan <email address hidden>