~seb128/apport:desktop-installer-fixes

Last commit made on 2024-07-11
Get this branch:
git clone -b desktop-installer-fixes https://git.launchpad.net/~seb128/apport
Only Sebastien Bacher can upload to this branch. If you are Sebastien Bacher please log in for upload directions.

Branch merges

Branch information

Name:
desktop-installer-fixes
Repository:
lp:~seb128/apport

Recent commits

fc4ad6a... by Sebastien Bacher

Fix some issues in the hook for ubuntu-desktop-bootstrap (lp: #2072751)

e4b6366... by Benjamin Drung

whoopsie-upload-all: exit with 0 if whoopsie is disabled

`apport-autoreport.service` fails if auto-reporting is disabled:

```
$ systemctl status apport-autoreport.service
× apport-autoreport.service - Process error reports when automatic reporting is enabled
     Loaded: loaded (/usr/lib/systemd/system/apport-autoreport.service; static)
     Active: failed (Result: exit-code) since Thu 2024-06-13 21:55:08 CEST; 1h 9min ago
TriggeredBy: ● apport-autoreport.timer
             ● apport-autoreport.path
    Process: 1059564 ExecStart=/usr/share/apport/whoopsie-upload-all --timeout 20 (code=exited, status=1/FAILURE)
   Main PID: 1059564 (code=exited, status=1/FAILURE)
        CPU: 86ms

Jun 13 21:55:08 host systemd[1]: Starting apport-autoreport.service - Process error reports when automatic reporting is enabled...
Jun 13 21:55:08 host whoopsie-upload-all[1059564]: ERROR: whoopsie.path is not enabled
Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Failed with result 'exit-code'.
Jun 13 21:55:08 host systemd[1]: Failed to start apport-autoreport.service - Process error reports when automatic reporting is enabled.
```

Change the log message to info level and exit with 0 in that case.

Bug: https://launchpad.net/bugs/2069360
Forwarded: https://github.com/canonical/apport/pull/355
Signed-off-by: Benjamin Drung <email address hidden>

51e5a6e... by Chris Peterson

subiquity: handle missing log for version inspect

The subiquity package hook relies on parsing the version information out
of one of the log files. The contents of this file are only available if
the permission elevation prompt works. Change to conditionally update
the version only if the log contents were retrieve successfully.

LP: #2067775

1a7c212... by Benjamin Drung

Release apport 2.29.0-0ubuntu1

Signed-off-by: Benjamin Drung <email address hidden>

0a728f9... by Chris Peterson

subiquity: typing updates

ea181ad... by Chris Peterson

subiquity: modify revision logic for permissions

Change the get_revision logic to accept the contents of the log
instead of reading it directly. This way we don't have to do a
permissions prompt just to get the revision information.

85e3f0e... by Chris Peterson

subiquity: refactor logic to determine revision

d2f23fc... by Chris Peterson

subiquity: add journal logs

* d/package-hooks/subiquity.py:
  - Add journal logs

0899068... by Chris Peterson

subiquity: fix typo

573bd64... by Chris Peterson

subiquity: update add_info docstring