[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Re: Gnumed "check for updates"
From: |
Andreas Tille |
Subject: |
[Gnumed-devel] Re: Gnumed "check for updates" |
Date: |
Mon, 2 Mar 2009 22:13:18 +0100 (CET) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Mon, 2 Mar 2009, Karsten Hilbert wrote:
msg += _('Note, however, that this version may not yet be')
msg += _('available *pre-packaged* for your system.')
I'd rather interested in the condition under that this statement is
displayed.
if user has configured to check for upgrades
if check source is accessible
if user has configured to only check "his" branch
if new version on this branch is available
if user has configured to check newer branches, too
if new version on "his" or newer branch available
Code is in gnumed/pycommon/gmTools.py::check_for_updates()
But there is no check involved whether the new branch is *pre-packaged*
or not. You would have to verify the distribution a user is currently
running, have to check the according package pool and if you want to
do the job completely in some cases you might even have to check other
package pools (for instance if a user is running gnumed-client verison
x_outdated on Ubuntu, but version y_uptodate is available for Debian
which should work in principle). So I doubt that you really want to do
this ...
I'd rather seek for a better wording than *pre-packaged* to express
what you *really* mean.
Kind regards
Andreas.
--
http://fam-tille.de