public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: Colin Beckingham <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Logical comparison on startup pgadmin4
Date: Mon, 18 Jul 2016 11:33:57 +0100
Message-ID: <CA+OCxox2SEy2eAp44w+=GprG3nsaCu1XEurcfN9xO1UuKKn5_g@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

On Mon, Jul 18, 2016 at 11:29 AM, Colin Beckingham <[email protected]> wrote:
> Each time I run pgadmin4 I run a git pull to get latest. Then launch from
> web browser at 5050, no problem.
>
> However a message pops up to say that I am running this version but the
> current is something else. For example:
>
> "You are currently running version 1.0-beta2.1 of pgAdmin 4, however the
> current version is 1.0-beta2. Please click here for more information."
>
> It looks like a check is happening to remind me to upgrade, but in this case
> the upgrade has already happened. It looks like maybe a comparison operator
> is not quite right for version/subversion or am I reading incorrectly?

The code just looks for a mis-match, as the version suffix is an
arbitrary string. That's the downside of using GIT code which may have
a different version than the update service knows about.

You can disable the version check in your config file to avoid the issue.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Logical comparison on startup pgadmin4
  In-Reply-To: <CA+OCxox2SEy2eAp44w+=GprG3nsaCu1XEurcfN9xO1UuKKn5_g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox