~xnox/launchpad:core20

Last commit made on 2019-11-04
Get this branch:
git clone -b core20 https://git.launchpad.net/~xnox/launchpad
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Branch information

Name:
core20
Repository:
lp:~xnox/launchpad

Recent commits

bdf8b13... by Dimitri John Ledkov

Drop core16, not yet stable.

3bd6a5b... by Dimitri John Ledkov

Add core16 & core20 UI support

Bug: https://bugs.launchpad.net/launchpad/+bug/1849687

7a04b47... by Colin Watson

Upgrade to lazr.sshserver 0.1.10

This adds Python 3 support and fixes a deprecation warning.

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/374985

96709c0... by Colin Watson

Fix incorrect ServiceFactory tests

Two of the ServiceFactory tests were incorrect, and only coincidentally
passed. They were testing that using getUserBrowser to traverse to
https://launchpad.test/api/devel/+services and
https://launchpad.test/api/devel/+services/invalid raised NotFound; but
this only worked because traversing to 'api' from getUserBrowser raises
NotFound (I think it doesn't set up quite the right kind of request),
and in fact https://launchpad.net/api/devel/+services works just fine.

Bring this more into line with test_service_traversal (which is correct)
by using test_traverse instead, and rewrite the test for traversing to
the service factory to assert its actual behaviour of exporting the
service factory (even though that isn't currently very useful).

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/375033

26ef771... by Colin Watson

Fix incorrect ServiceFactory tests

Two of the ServiceFactory tests were incorrect, and only coincidentally
passed. They were testing that using getUserBrowser to traverse to
https://launchpad.test/api/devel/+services and
https://launchpad.test/api/devel/+services/invalid raised NotFound; but
this only worked because traversing to 'api' from getUserBrowser raises
NotFound (I think it doesn't set up quite the right kind of request),
and in fact https://launchpad.net/api/devel/+services works just fine.

Bring this more into line with test_service_traversal (which is correct)
by using test_traverse instead, and rewrite the test for traversing to
the service factory to assert its actual behaviour of exporting the
service factory (even though that isn't currently very useful).

146cebb... by Colin Watson

Fix incomplete messages from warning handler

The warning handler sometimes emitted messages like this (with local
paths shortened for brevity):

  The method SimpleViewClass from .../lib/lp/bugs/browser/../templates/buglisting-default.pt._getBatchNavigator
  The doctest <doctest xx-bug-subscriptions.txt[4]>, at the line:
      >>> browser.getControl('Save these changes').click()

This is clearly incomplete. With this change, we instead get:

  The method SimpleViewClass from .../lib/lp/bugs/browser/../templates/buglisting-default.pt._getBatchNavigator
  The doctest <doctest xx-bug-subscriptions.txt[4]>, at the line:
      >>> browser.getControl('Save these changes').click()

  .../env/lib/python2.7/site-packages/lazr/batchnavigator/_batchnavigator.py:82: PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs instead
    return cgi.parse_qs(query_string, keep_blank_values=True)

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/374682

883633b... by Colin Watson

Upgrade to lazr.sshserver 0.1.10

This adds Python 3 support and fixes a deprecation warning.

c5cae7b... by Tom Wardill

Fix race conditions in contents files

Merged from https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/374930

e2859a7... by Tom Wardill

Remove extra new line

07c13c6... by Tom Wardill

Create files as .new and then atomically move into place