[FFe] Report hw submission on upgrade

Bug #1794930 reported by Didier Roche-Tolomelli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-report (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

We decided to not show up gnome-initial-setup after upgrade during first relogin. Consequently, we need to report automatically submission on upgrade to ensure our current hw submission and upgrade information per distro matches our user base.

Note that the gnome-initial-setup dialog was stating that we do regular submissions and enabled to show the first report.

Basically, the design is:
- having a xdg autostart service starting on user session. Unfortunately, as the start condition is dependent on a file including the release name, we can't prevent this small service starting or we would need a package rebuild at every release, which my trigger issues if we forget in the future.
- we check if we already reported for this release and exit as early as possible
- if there was no previous report -> new install -> exit as well (and let g-i-s dialog presenting it)
- otherwise, check previous report content for opt-out/opt-in marker. If opt-out, send again an opt-out message for new release, if opt-in, collect again and send new/updated hw and upgrade information.

The code is isolated from the rest (new functions, isolated code, hidden in the helper for people to not trigger it inadvertently), and heavily tested.

Here is a ppa build of the package: https://launchpad.net/~didrocks/+archive/ubuntu/ppa/+build/15492474

description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Ok, sounds fair enough. FFe approved, just be sure to use the remaining time before release for testing!

Changed in ubuntu-report (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-report - 1.4.0

---------------
ubuntu-report (1.4.0) cosmic; urgency=medium

  * Send updated report on distribution upgrade based on previous user's
    choice (opt-in or opt-out) (LP: #1794930)
  * go.*: refresh vendor directory (same dependency version though) based
    on go 1.11 module filters.
  * debian/rules:
    - build vendor/ directory when building the source package.

 -- Didier Roche <email address hidden> Fri, 28 Sep 2018 09:18:46 +0200

Changed in ubuntu-report (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.