~smoser/usd-importer:master

Last commit made on 2016-10-06
Get this branch:
git clone -b master 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:
master
Repository:
lp:~smoser/usd-importer

Recent commits

318fb4b... by Scott Moser on 2016-10-06

usd-clone: add usd-clone simple wrapper for cloning

This just adds a very simple wrapper that knows urls to
keep typing down.
   usd-clone initramfs-tools

3a72b3d... by Nish Aravamudan on 2016-09-21

usd-import: also push tags

585bf4a... by Nish Aravamudan on 2016-09-21

usd-import: leverage pkg_resources to find override files

Use pkg_resources (a new dependency) to get the absolute path to the
override files that are now part of the proper usd package resource.

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

530fbd7... by Nish Aravamudan on 2016-09-21

usd-import: reorganize into a python package

There were a few bugs in the override logic, because of the time of
interpretation of a string like './usd-import' -- '.' is changed by
the chdirs in the script itself.

After discussions with Barry Warsaw on IRC (#ubuntu-devel), reorganize
the importer into a proper package (usd) and place the relevant override
files and patches in that package. This will allow us to use
pkg_resources to get the absolute path to the resource.

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

66dada8... by Nish Aravamudan on 2016-09-21

usd-import: cleanup subprocess.run usage

Don't pass stdout if it's not needed, so we don't block on writing to
stdout.

Don't save return value if it's not used.

Also remove one stray input= assignment from the development code for
the patch support.

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

07325b4... by Nish Aravamudan on 2016-09-21

usd-import: use safer branch name extraction

Add an assert as well. Also fix a bug with a prior commit that dropped
the trailing '/'.

Signed-off-by: Nishanth Aravamudan <email address hidden>
Fixes: 1adb8a9f ('usd-import: use a variable to store the remote name')

8ba1116... by Scott Moser on 2016-09-20

README.md: fix git clone info and add new package depends.

71837fd... by Nish Aravamudan on 2016-09-20

usd-import: sort head names in output

When we detect existing branches, provide the output in a consistent
manner, sorting by the heads' names.

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

ec9c102... by Nish Aravamudan on 2016-09-20

squash: usd-import: use git-fetch directly

It seems like pygit2's direct support for git-fetch/push the way we want
to do it in the importer is not suitable (yet). So for now, just call
the commands directly. Remove force-push from the code, as it's
dangerous and can be done manually if needed.

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

f5040b7... by Nish Aravamudan on 2016-09-20

usd-import: fix get_or_create_head

create_branch expects a commit object not a string (branch-name).

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