[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
** Changed in: apport (Ubuntu Trusty) Importance: Undecided => Low ** Changed in: apport (Ubuntu Xenial) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
Thanks! That works like I expect in both Ubuntu GNOME 16.04 and 17.04. Screenshot of 16.04 attached. ** Attachment added: "apport-ubuntu-gnome-eol.png" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+attachment/4874867/+files/apport-ubuntu-gnome-eol.png ** Description changed: Impact -- As announced, the GNOME3 PPAs for Ubuntu 16.04 LTS are no longer being maintained as of April 2017. Therefore, the Ubuntu GNOME project would like to stop receiving bugs from packages installed from those PPAs for that version, or for 14.04 LTS which is no longer supported by Ubuntu GNOME. See https://launchpad.net/~gnome3-team/+archive/ubuntu/gnome3 Test Case - sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt update sudo apt upgrade Ubuntu 14.04: ubuntu-bug gnome-system-monitor Ubuntu 16.04: ubuntu-bug nautilus What should happen: After several moments, you should see a popup with - The GNOME3 PPA is no longer supported for this Ubuntu release. Please run ppa-purge ppa:gnome3-team/gnome3 + The GNOME3 PPA you are using is no longer supported for this Ubuntu release. Please run "ppa-purge ppa:gnome3-team/gnome3". Clean up: sudo apt install ppa-purge sudo ppa-purge ppa:gnome3-team/gnome3 Other Info -- Ubuntu GNOME has always installed ppa-purge by default. Regression Potential People will be unable to report bugs with PPA packages like they used to but they'll be told why. The message unfortunately likely won't be translated right away, but since it will land in the development release, it should eventually be translated for future Ubuntu releases. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
Ah, thanks for testing! I see what the problem is and have another version attached. ** Patch added: "This is it‽" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+attachment/4874848/+files/lp-1689093.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
Brian, Your patch from comment #7 works in Ubuntu GNOME 16.04 (I used the test case) but when I tried in Ubuntu GNOME 17.04, I got the UnreportableReason message fragment popup from the first part of the patch. Also, there's a typo, you once wrote "ppa-pugre" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
Here's an updated patch. ** Patch added: "Check the release too" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+attachment/4874781/+files/lp-1689093.patch ** Also affects: apport (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: apport (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: apport (Ubuntu Trusty) Status: New => Triaged ** Changed in: apport (Ubuntu Xenial) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
> Are there cases where the report would be a package other than a GNOME3 one and it would include dependencies from the GNOME3 ppa? Yes, the GNOME3 PPA for 16.04 LTS includes GTK 3.20, but people should still run ppa-purge to get themselves back on to a supported Ubuntu system. Also, I thought you might update the hook to only emit UnreportableReason if the release is Xenial (or Trusty) so that we can use the same hook in artful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
The vast majority of apport messages like UnreportableReason aren't translated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
Here's a diff of the changes we discussed to the ubuntu-gnome.py apport hook. One thing I'm not sure how to handle is this bit: if '[origin: LP-PPA-gnome3-team-gnome3' in report.get('Dependencies', ''): report.setdefault('Tags', '') report['Tags'] += ' gnome3-ppa' Are there cases where the report would be a package other than a GNOME3 one and it would include dependencies from the GNOME3 ppa? If so then we should just use a general UnreportableReason if one has not already been written to the report. ** Patch added: "lp-1689093.patch" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+attachment/4874778/+files/lp-1689093.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
** Description changed: Impact -- As announced, the GNOME3 PPAs for Ubuntu 16.04 LTS are no longer being maintained as of April 2017. Therefore, the Ubuntu GNOME project would like to stop receiving bugs from packages installed from those PPAs for that version, or for 14.04 LTS which is no longer supported by Ubuntu GNOME. - - This is being done by dropping the special handling of the GNOME3 PPAs - by apport and treat it as unsupported like any other PPA. See https://launchpad.net/~gnome3-team/+archive/ubuntu/gnome3 Test Case - sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt update sudo apt upgrade Ubuntu 14.04: ubuntu-bug gnome-system-monitor Ubuntu 16.04: ubuntu-bug nautilus What should happen: After several moments, you should see a popup with - This is not an official Ubuntu package. Please remove any third party package and try again. + The GNOME3 PPA is no longer supported for this Ubuntu release. Please run ppa-purge ppa:gnome3-team/gnome3 Clean up: sudo apt install ppa-purge sudo ppa-purge ppa:gnome3-team/gnome3 + Other Info + -- + Ubuntu GNOME has always installed ppa-purge by default. + Regression Potential - Well, people will be unable to report bugs with PPA packages like they used to. Hopefully, they'll be able to figure out why. - - Other Info - -- - This change is not being made in currently supported releases. - - It would be nice if the ubuntu-gnome script in the future included the - extra strings so that a more specific message could be presented on end - of life for the GNOME3 PPAs, suggesting that they use ppa-purge. + People will be unable to report bugs with PPA packages like they used to but they'll be told why. The message unfortunately likely won't be translated right away, but since it will land in the development release, it should eventually be translated for future Ubuntu releases. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
I discussed this with Jeremy and the hook will be modified to set UnreportableReason for packages from the gnome3 PPAs e.g.: report['UnreportableReason'] = 'The GNOME3 Staging PPA is no longer supported for this Ubuntu release. Please run ppa-purge ppa:gnome3-team/gnome3-staging' or report['UnreportableReason'] = 'The GNOME3 PPA is no longer supported for this Ubuntu release. Please run ppa-purge ppa:gnome3-team/gnome3' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
The xorg package hooks contain something similar to what I had in mind e.g.: version_signature = report.get('ProcVersionSignature', '') if version_signature and not version_signature.startswith('Ubuntu '): report['UnreportableReason'] = 'The running kernel is not an Ubuntu kernel: %s' %version_signature return False -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1689093] Re: Drop ubuntu-gnome hook for trusty, xenial
I currently have another SRU in mind for apport - adding ProcCpuInfoMinimal and fixing the autopkgtests. I'm happy to add this in too. Do you want to just remove the hook or maybe have it add an UnreportableReason field to the report which then people might read? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689093 Title: Drop ubuntu-gnome hook for trusty, xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1689093/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs