gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] GNUmed 1.5.0 - invalid [v19] schema structure


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] GNUmed 1.5.0 - invalid [v19] schema structure
Date: Thu, 15 Jan 2015 16:27:02 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Jan 15, 2015 at 03:17:47PM +0000, Jim Busser wrote:

> > So (in this case, because there _are_ fixups changing the hash
> > between your v19 version and the final v19):
> > 
> >     cd server/bootstrap/
> >     ./fixup-db.sh 19
> >     ./upgrade-db.sh 19 20
> 
> So it would seem that, in relation to what I had recently been wondering (in 
> relation to the 1.5.0 feature release) and where I had asked
> 
> >> can we do as above "from" 19.14 or would such a path
> >> fail on account of failing to take care of the database fixup
> >> scripts included in 19.15?
> > 
> > (which you had) rephrased as:
> > 
> >> can we do as above "from" 19.9 or would such a path
> >> fail on account of failing to take care of the database fixup
> >> scripts included from 19.9 to 19.14?
> > 
> > (and then answered)
> > Given that: no it should not fail and yes you should be able
> > to upgrade any v19.x to v20.0 because before attempting the
> > upgrade all fixup scripts are run again just in case.
> 
> then while
> 
>       upgrade vX vX+1
> 
> should always work from
> 
>       vX.latest_in_the_vX_series
> 
> the case of a
> 
>       vX.nonlatest_minor release
> 
> one might often

Make that "sometimes" (as in rarely) to be closer to existing history.

> be *unable* to run the upgrade directly until having first done 
> 
>       fixup vX
> 
> in order to first bring
> 
>       vX.nonlatest_minor release --> vX.latest_in_the_vX_series

That is certainly advisable.

I must agree I hadn't remembered that v19.x -> v20 (where x <
12) will fail due to the hash change.

        v19.12 -> v20
        v19.13 -> v20
        v19.14 -> v20

should all work just fine.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]