continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll" <stephane.nic...@gmail.com>
Subject Re: DB schema migration
Date Wed, 25 Apr 2007 09:03:12 GMT
Hi,

On 4/25/07, Trygve Laugstøl <trygvis@apache.org> wrote:
> Stephane Nicoll wrote:
> > Can I be sure at least that the DB model won't change as from alpha-1?
> > If so I can maybe drop completely my database and recreate my
> > projects.
>
> We've been over this before, but I'll repeat: Alphas give no guarantee
> of API (including DB) stability. Hopefully it won't change too much, but
> it should in no way stop the developers from breaking stuff.

I agree.

>
> What is important here is the ability to dump the database to an
> external DB file (xml would be a natural choice) which can be read by a
> newer Continuum.

As soon as this is in place, I'll migrate.

Cheers,
Stéphane


>
> Hopefully 1.1 will be pretty stable so it can be released ASAP and bugs
> can be fixed on a 1.1.x branch.
>
> --
> Trygve
>
> >
> > Thanks,
> > Stéphane
> >
> > On 4/23/07, Brett Porter <brett@apache.org> wrote:
> >> This was one of the things I was going to try and have done before
> >> alpha-1 - I just forgot.
> >>
> >> Erik - the problem in upgrading is the changes in private tables
> >> between versions of jpox that we hadn't given explicit names to. We'd
> >> probably appreciate most help in future proofing our jpox use a bit
> >> more in case it's internal schema changes again.
> >>
> >> I already have the tools to do an xml export of the old tables, it
> >> just needs to somehow be set to run in dump mode using the old jpox,
> >> and import using the new one. I'll look at that during ApacheCon, I
> >> think. If anyone else wants to take the task while I'm on holidays,
> >> let me know... we should also make the tool work with 1.0.3 databases
> >> if possible.
> >>
> >> This is definitely one for the release notes, btw. alpha-1 will not
> >> work with 1.0.3 (or earlier 1.1 snapshot) databases.
> >>
> >> - Brett
> >>
> >> On 22/04/2007, at 2:10 PM, Erik Bengtson wrote:
> >>
> >> > If you guys need some tooling from JPOX, let me know and I could
> >> > plan to
> >> > implement some kind of "export" to XML, and "import" from XML. In
> >> > between
> >> > export/import you could apply Xqueries to transform data to match
> >> > the new
> >> > schema
> >> >
> >> > Quoting Stephane Nicoll <stephane.nicoll@gmail.com>:
> >> >
> >> >> Hi,
> >> >>
> >> >> I'm currently running a 1.1-SNAPSHOT from February which runs ok
> >> >> except a few minor issues. I'd like to upgrade to 1.1 alpha 1 as soon
> >> >> as it's out to provide feedback & co.
> >> >>
> >> >> Last time I tried to upgrade, I had to revert because the model
> >> >> schema
> >> >> has changed and it was really difficult to update my existing
> >> >> data. Is
> >> >> there something scheduled for alpha1 regarding this (at least a
> >> >> manual
> >> >> procedure to upgrade my schema if necessary).
> >> >>
> >> >> Thanks,
> >> >> Stéphane
> >> >>
> >> >
> >> >
> >>
>
>

Mime
View raw message