~toabctl/livecd-rootfs:fix-magic-proxy-with-repo-stamp

Last commit made on 2021-09-24
Get this branch:
git clone -b fix-magic-proxy-with-repo-stamp https://git.launchpad.net/~toabctl/livecd-rootfs
Only Thomas Bechtold can upload to this branch. If you are Thomas Bechtold please log in for upload directions.

Branch merges

Branch information

Name:
fix-magic-proxy-with-repo-stamp
Repository:
lp:~toabctl/livecd-rootfs

Recent commits

3559153... by Thomas Bechtold

magic-proxy: fix TypeError when trying to call get_uri() LP:#1944906

Currently the uri that is passed into urllib.parse.urlparse() is not
prefixed with "http(s)://" which leads urlparse() to return a wrong
scheme/netloc/path. Currently it looks like:

ParseResult(scheme='', netloc='',
  path='de.archive.ubuntu.com/ubuntu/dists/impish-backports/InRelease'
 , params='', query='', fragment='')

That's wrong. The path should look like
'ubuntu/dists/impish-backports/InRelease'.
Prefixing the 'host' header with 'http://' in case it's not there does
fix the problem.

This fixes:

Traceback (most recent call last):
  File "/usr/lib/python3.9/socketserver.py", line 683, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.9/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/lib/python3.9/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/lib/python3.9/http/server.py", line 415, in handle_one_request
    method()
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 787, in do_GET
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 838, in __get_request
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 84, in get_uri
TypeError: can only concatenate str (not "NoneType") to str

1977636... by Steve Langasek

ugh fix version number

d488d07... by Steve Langasek

releasing package livecd-rootfs version 2.737ubuntu1

e81f333... by Steve Langasek

changelog entry

9e6b983... by Steve Langasek

Merge remote-tracking branch 'toabctl/keep-debian-native-package-changelogs' into ubuntu/master

2b2f67c... by Thomas Bechtold

Keep changelogs in minimized builds for native deb pkgs

Debian changelog.Debian.* files are already keept for minimized
builds. But those changelogs are from non-native .deb packages (see
man dh_installchangelogs). Native .deb packages name their changelog
just changelog.* . So keep them in a minimized build, too.

LP: #1943114

e19d501... by Michael Hudson-Doyle

releasing package livecd-rootfs version 2.737

1b87b23... by Michael Hudson-Doyle

Check for duplicate ids in update-source-catalog.

8f8fc22... by Michael Hudson-Doyle

Generate source catalogs for the desktop canary build.

23f3077... by Michael Hudson-Doyle

releasing package livecd-rootfs version 2.736