lp:~smoser/usd-importer

Owned by Scott Moser
Get this repository:
git clone https://git.launchpad.net/~smoser/usd-importer
Only Scott Moser can upload to this repository. If you are Scott Moser please log in for upload directions.

Branches

Name Last Modified Last Commit
add/debian-multimedia 2018-12-20 15:04:15 UTC 2018-12-20
Add debian-multimedia.

Author: Scott Moser
Author Date: 2018-12-20 15:04:15 UTC

Add debian-multimedia.

This package was requested on ubuntu-server mailing list today.

cleanup/tox-use-self-test 2018-12-04 22:13:48 UTC 2018-12-04
Drop tox. Instead run tests on tree in snap environment.

Author: Scott Moser
Author Date: 2018-11-06 15:54:08 UTC

Drop tox. Instead run tests on tree in snap environment.

The use of tox for git-ubuntu unit tests and pylint is problematic
for a number of reasons.
 - as with all virtualenv, any dependency that is not pure python
   requires compilation and non-virtualenv dependencies.
 - distro_info is not installable from pypi.
 - git-ubuntu is expected to run in the snap environment.

All of these issues are not a problem in the snap environment. The
solution here is to run the tests in an already-existing snap environment.
This does present a bit of a chicken-egg problem, but one that is only
exposed when we add new python dependencies to git-ubuntu.

git-ubuntu-self-test is modified to accept a TEST_TREE environment
variable and do the right thing in both snap environment and development
tree.

So now both of these work:
  # test the snap installed git-ubuntu libraries.
  $ git-ubuntu.self-test

  # test the tree in "."
  $ ./snap-wrappers/wrappers/git-ubuntu-self-test

Other things done here:
 a.) remove DEBEMAIL from environment to avoid bug 1801948.
 b.) remove tox.ini file
 c.) remove pylintrc in favor of running with explicit command line options.
     This is preferable as pylintrc is not available when
    'git-ubuntu.self-test' is run from the snap itself.
 d.) execute pylint with --jobs=0 , which selects 1 process per core.
 e.) use 'rm -f' rather than 'unlink' for removing pycoverage file.
 f.) place 'SNAP_REVISION' and 'SNAP_VERSION' into environment.
     these are just informative.

LP: #1801748
LP: #1801948

fix/run-all-tests 2018-12-04 20:44:10 UTC 2018-12-04
Move tests into files named with _test.

Author: Scott Moser
Author Date: 2018-11-06 21:28:17 UTC

Move tests into files named with _test.

Separate existing test functions into their own '_test.py' files.
This is not strictly necessary, but more common.

It is no longer necessary to rely on shell expansion of gitubuntu/*
to tell pytest which files to run on as it will look at the files
named _test.py. So we've changed
snap-wrappers/wrappers/git-ubuntu-self-test to pass the gitubuntu dir
directly.

Also fix flake8 for newly added test files.

fix/1801171-if-no-devel-try-stable 2018-12-04 15:51:19 UTC 2018-12-04
build: if there is no ubuntu-daily:devel try the stable release.

Author: Scott Moser
Author Date: 2018-11-09 18:12:39 UTC

build: if there is no ubuntu-daily:devel try the stable release.

There exists a period of time after stable release is made that
ubuntu-daily:devel does not resolve to an image.

The change here just tries to fall back to using ubuntu-daily:<stable>
if it detects that case.

Update the test of derive_image_from_codename and move it to
build_test.py to define and use IMAGE_UBUNTU_STABLE.

LP: #1801171

fix/1727590-build-in-ubuntu 2018-11-06 20:34:22 UTC 2018-11-06
add test

Author: Scott Moser
Author Date: 2018-11-06 20:34:22 UTC

add test

fix/1801168-build-when-no-patches 2018-11-01 21:10:44 UTC 2018-11-01
build: Fix build when there are no quilt patches.

Author: Scott Moser
Author Date: 2018-11-01 21:10:44 UTC

build: Fix build when there are no quilt patches.

If a package did not have any quilt packages, then git-ubuntu build
would stack trace trying to copy the non-existant .pc directory.

As an example:
  $ git ubuntu clone requests
  $ git checkout pkg/import/2.18.4-2
  $ git ubuntu build

LP: #1801168

cleanup/build-cleanups-redux 2018-10-25 15:04:54 UTC 2018-10-25
Fix native build.

Author: Scott Moser
Author Date: 2018-09-27 21:00:48 UTC

Fix native build.

Builds cloud-initramfs-tools [native] and cloud-utils [non-native].

cleanup/build-cleanups 2018-10-16 16:51:56 UTC 2018-10-16
Fix native build.

Author: Scott Moser
Author Date: 2018-09-27 21:00:48 UTC

Fix native build.

Builds cloud-initramfs-tools [native] and cloud-utils [non-native].

fix/1749609-build-non-1000 2018-09-18 06:16:38 UTC 2018-09-18
Change internal user to 'buildd' from build-user.

Author: Scott Moser
Author Date: 2018-09-18 06:16:38 UTC

Change internal user to 'buildd' from build-user.

This is same user as launchpad.
The path under the user's home (~/build) is left the same.
On launchpad the path is something like build-PACKAGEBUILD-XXXXXXX
but that seems less useful than a constant path for a user
using '--keep'.

faster2 2016-11-15 15:19:16 UTC 2016-11-15
source_information: delay login to launchpad until use.

Author: Scott Moser
Author Date: 2016-11-15 15:10:47 UTC

source_information: delay login to launchpad until use.

launchpad login takes some time, as it is a remote operation.
The change here is to do that on class __init__ instead of on class
definition and also to cache the result.

The end result is that 'usd --help' goes from taking ~1.5 seconds
on my system to taking ~ .3 seconds.

Also it means that operations like 'usd build' or 'usd clone' do not
unnecessarily abuse a remote api.

usd-clone-user-cleanup 2016-11-10 20:35:11 UTC 2016-11-10
usd clone: fix reading and storing of user, minor improvements.

Author: Scott Moser
Author Date: 2016-11-10 20:28:33 UTC

usd clone: fix reading and storing of user, minor improvements.

 - search for insteadof in either 'ssh://' or 'git+ssh://'
 - make static methods find_lp_user and prompt_for_lpuser

from-scratch-import 2016-11-02 16:17:07 UTC 2016-11-02
Support --lp-owner=none to force from scratch

Author: Scott Moser
Author Date: 2016-11-02 16:17:07 UTC

Support --lp-owner=none to force from scratch

Since we automatically clone from the value of --lp-owner, and
that flag has a default (ubuntu-server-dev) its non-trivial to
force a from-scratch import.

This adds '--lp-owner=none' argument to do that.

bug/1638087 2016-11-01 18:35:32 UTC 2016-11-01
Walk release list backwards to find branch for ubuntu/devel.

Author: Scott Moser
Author Date: 2016-11-01 15:40:44 UTC

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

master 2016-10-06 14:04:35 UTC 2016-10-06
usd-clone: add usd-clone simple wrapper for cloning

Author: Scott Moser
Author Date: 2016-10-06 14:04:35 UTC

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

114 of 14 results
This repository contains Public information 
Everyone can see this information.

Subscribers