Merge lp://staging/~kirkland/update-manager/522452 into lp://staging/update-manager

Proposed by Bryce Harrington
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~kirkland/update-manager/522452
Merge into: lp://staging/update-manager
Diff against target: 0 lines
To merge this branch: bzr merge lp://staging/~kirkland/update-manager/522452
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+20194@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

Weird, I was just looking at this issue today. I also think doing this as a cron job would improve things noticeably for the user.

The one corner case vorlon pointed out would be laptop users who might not leave their system on routinely.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

On Thu, Feb 25, 2010 at 8:41 PM, Bryce Harrington
<email address hidden> wrote:
> Weird, I was just looking at this issue today.  I also think doing this as a cron job would improve things noticeably for the user.

Heh, well, I'd like to get mvo's opinion, but I like my solution.

> The one corner case vorlon pointed out would be laptop users who might not leave their system on routinely.

True. I thought of this too. Which is why I moved the stamp from
/var/run to /var/lib. At least that way, it would be somewhat more
persistent. Not a total solution, but at least better.

Furthermore, update-motd isn't *really* targeted at laptop users.
They (usually) have a desktop environment and thus all sorts of popups
and notifications.

Thanks for nudging this along, Bryce.

1687. By Michael Vogt

fixes in the auto-install-tester

1688. By Michael Vogt

AutoUpgradeTester/auto-install-tester.py: use proper resultdir and fix status file output

1689. By Michael Vogt

* check-new-release-gtk, data/glade/UpgradePromptDialog.ui:
  - use Gtkbuilder file instead of plain gtk (thanks to djsiegel)

1690. By Michael Vogt

check-new-release-gtk: add --test-uri option

1691. By Michael Vogt

* UpdateManager/Core/MetaRelease.py:
  - allow upgrade from unsupported version to unsupported version

1692. By Michael Vogt

check-new-release-gtk: do not exit if run in --test-uri mode

1693. By Michael Vogt

* DistUpgrade/removal_blacklist.cfg:
  - allow removal of update-manager-kde

1694. By Michael Vogt

* check-new-release-gtk:
  - fixes in the gtk release upgrade check

1695. By Michael Vogt

implement ignore-new-release

1696. By Michael Vogt

check-new-release-gtk: add decline upgrade question (as per spec)

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Aha!

I have a much better way of doing this, Bryce :-)

No need for a cronjob.

In the update motd script:
  if upgrade-available cache file is populated, print it
  else if it's available but empty, check its timestamp, and if it's older than 1 day old, update the cache file in the background
  else if it doesn't exist, update it in the background

Profit! I'm going to go ahead and commit that version now.

1697. By Dustin Kirkland <kirkland@x200>

* debian/91-release-upgrade, debian/update-manager-core.install,
  - some users are complaining of long login times due to the release
    check requiring network connectivity; this information clearly doesn't
    change as frequently as the user logging in, so maintain a cache file
    in /var/lib, display it if it's populated, but otherwise, update it in
    the background if its either missing or the file is older than a day
    old, LP: #522452

1698. By Dustin Kirkland <kirkland@x200>

install to usr but link to update-motd (allows admins to remove if they want)

Preview Diff

Empty

Subscribers

People subscribed via source and target branches

to status/vote changes: