← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1821662] Re: [SRU] xfce4-weather-plugin 0.8.11

 

This bug was fixed in the package xfce4-weather-plugin -
0.8.11-0ubuntu0.18.10.1

---------------
xfce4-weather-plugin (0.8.11-0ubuntu0.18.10.1) cosmic; urgency=medium

  * The Sunrise 1.1 API is deprecated, use 2.0 (LP: #1821662)

 -- Sean Davis <smd.seandavis@xxxxxxxxx>  Tue, 26 Mar 2019 06:20:57
-0400

** Changed in: xfce4-weather-plugin (Ubuntu Cosmic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1821662

Title:
  [SRU] xfce4-weather-plugin 0.8.11

Status in xfce4-weather-plugin package in Ubuntu:
  Fix Released
Status in xfce4-weather-plugin source package in Xenial:
  Fix Committed
Status in xfce4-weather-plugin source package in Bionic:
  Fix Released
Status in xfce4-weather-plugin source package in Cosmic:
  Fix Released
Status in xfce4-weather-plugin source package in Disco:
  Fix Released

Bug description:
  [Impact]

   * Downstream bug: https://bugzilla.xfce.org/show_bug.cgi?id=14972

   * The met.no sunrise API version 1.1, used by xfce4-weather-plugin
  versions prior to 0.8.11, expired on 2019-02-15. As with previous
  expirations, this is expected to make the plugin stop working entirely
  at some point.

   * Ubuntu 19.04 is unaffected, as xfce4-weather-plugin 0.9.1 includes
  the newer API

   * Affected supported releases include: 16.04, 18.04, 18.10

  [Test Case]

   * Add the weather plugin to the Xfce panel.

   * Right-click on the plugin and select Preferences to configure it.

   * After configuring the plugin, click on it to show the Weather
  Report dialog.

   * Click on the details tab.
     * With version 0.8.10 and older, the following message is displayed on the weather details:
       Met.no sunrise API states that this version of the webservice
       is deprecated, and the plugin needs to be adapted to use
       a newer version, or it will stop working within a few months.
       Please file a bug on https://bugzilla.xfce.org if no one
       else has done so yet.
       * Alternatively, ~/.xsession-errors will be littered with this message: (wrapper-1.0:1828): weather-WARNING **: 20:09:40.088: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
     * With version 0.8.11 and 0.9.1, the notice and error messages are no longer displayed. Additionally, "Moon phase" should be populated under "Astronomical Data".

   * Verify that the weather forecast works with the newer version by
  right-clicking on the plugin and selecting "Refresh".

  [Regression Potential]

   * Along with the updated API, this release now uses alternate https connections. If SSL certificates expire (unlikely and rare), these connections will fail:
     http://geoip.xfce.org/ -> https://geoip.xfce.org/
     http://api.geonames.org -> https://secure.geonames.org

   * Other regression potential is minimal.

  [0.8.11 Release Notes]

  - Use the latest sunrise API (2.0) (bug #14972)
  - Use https for all connections
  - Fix link to the met.no logo
  - Translation updates: Albanian, Belarusian, Catalan, Chinese (China),
    Danish, Dutch, French, Hungarian, Korean, Lithuanian, Russian, Swedish

  https://git.xfce.org/panel-plugins/xfce4-weather-
  plugin/log/?h=master-0.8

  [ Other Notes ]

  For those reviewing the code/commits, the API replacement consists of
  3 commits:

  1. API replacement (not including moonphase): https://git.xfce.org
  /panel-plugins/xfce4-weather-
  plugin/commit/?h=master-0.8&id=3653203bd4ac03ee3c6bee7d0e35144a94cc27bb

  2. Code improvements: https://git.xfce.org/panel-plugins/xfce4
  -weather-
  plugin/commit/?h=master-0.8&id=f2e44941a70dd92c6e0858b1358b9e3eb148da85

  3. Fixing the moonphase integration with the 2.0 API:
  https://git.xfce.org/panel-plugins/xfce4-weather-
  plugin/commit/?h=master-0.8&id=1cc55b7fc509a1ccb98b686b1b102b38fe68348d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-plugin/+bug/1821662/+subscriptions