Disregard the previous, I was on the wrong local branch. This is _not_
fixed upstream, but this small patch adds the missing functionality to
make this work:
```
diff --git a/sos/policies/ubuntu.py b/sos/policies/ubuntu.py
index 8ec765e4..2b913669 100644
--- a/sos/policies/ubuntu.py
+++ b/sos/policies/ubuntu.py
@@ -3,7 +3,6 @@ from sos.policies.debian import DebianPolicy
import os
-
class UbuntuPolicy(DebianPolicy):
distro = "Ubuntu"
vendor = "Canonical"
@@ -62,8 +61,10 @@ class UbuntuPolicy(DebianPolicy):
return self.get_upload_url()
def get_upload_url(self):
+ fname = os.path.basename(self.upload_archive)
+ if self.commons['cmdlineopts'].upload_url:
+ return self.commons['cmdlineopts'].upload_url + fname
if not self.upload_url or self.upload_url.startswith(self._upload_url):
- fname = os.path.basename(self.upload_archive)
return self._upload_url + fname
super(UbuntuPolicy, self).get_upload_url()
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901786
Title:
upload options do not support local SSL urls nor self-signed
certificates
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1901786/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs