You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Wendy Smoak <ws...@gmail.com> on 2008/06/27 18:37:22 UTC

Model changes from Continuum 1.1 to 1.2 so far?

Are there model changes from Continuum 1.1 to 1.2-SNAPSHOT as of
r664125 that would require using the data management tools to upgrade
the builds database?

Or, can a 1.2 instance simply be pointed at the "old" database and be
reasonably happy, assuming the checkouts and build results haven't
moved?

Thanks,
-- 
Wendy

Re: Model changes from Continuum 1.1 to 1.2 so far?

Posted by Olivier Lamy <ol...@apache.org>.
When I say "the model has not changed", I mean no new tables or new
colunms in tables.
This means you can use your current db instance.
But if you want a fix for CONTINUUM-1688 (you have to manually update
a colunm definition in your database).
Not tested (just a theory ;-) ).

--
Olivier

2008/6/29 Wendy Smoak <ws...@gmail.com>:
> On Fri, Jun 27, 2008 at 9:51 AM, Olivier Lamy <ol...@apache.org> wrote:
>
>> AFAIK, the model has not changed between 1.1 and current trunk .
>> Here the mdo diff
> ...
>> -          <name stash.maxSize="512">name</name>
>> +          <name stash.maxSize="1024">name</name>
>
> You said the model has _not_ changed, but then you show a difference
> in the files?
>
> This looks like a change in field length, which seems to me that it
> would need the underlying database changed for it to work.
>
> Olivier, can you clarify this?
>
> --
> Wendy
>

Re: Model changes from Continuum 1.1 to 1.2 so far?

Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, Jun 27, 2008 at 9:51 AM, Olivier Lamy <ol...@apache.org> wrote:

> AFAIK, the model has not changed between 1.1 and current trunk .
> Here the mdo diff
...
> -          <name stash.maxSize="512">name</name>
> +          <name stash.maxSize="1024">name</name>

You said the model has _not_ changed, but then you show a difference
in the files?

This looks like a change in field length, which seems to me that it
would need the underlying database changed for it to work.

Olivier, can you clarify this?

-- 
Wendy

Re: Model changes from Continuum 1.1 to 1.2 so far?

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
AFAIK, the model has not changed between 1.1 and current trunk .
Here the mdo diff
bash-3.00$ svn diff
https://svn.apache.org/repos/asf/continuum/tags/continuum-1.1/continuum-model/src/main/mdo/continuum.xml
https://svn.apache.org/repos/asf/continuum/trunk/continuum-model/src/main/mdo/continuum.xml
Index: continuum.xml
===================================================================
--- continuum.xml
(.../tags/continuum-1.1/continuum-model/src/main/mdo/continuum.xml)
 (revision 672319)
+++ continuum.xml
(.../trunk/continuum-model/src/main/mdo/continuum.xml)  (revision
672319)
@@ -790,7 +790,7 @@
       <version>1.0.9+</version>
       <fields>
         <field>
-          <name stash.maxSize="512">name</name>
+          <name stash.maxSize="1024">name</name>
           <version>1.0.9+</version>
           <type>String</type>
         </field>

--
Olivier
[1] http://fisheye6.atlassian.com/changelog/continuum/?cs=664125

2008/6/27 Wendy Smoak <ws...@gmail.com>:
> Are there model changes from Continuum 1.1 to 1.2-SNAPSHOT as of
> r664125 that would require using the data management tools to upgrade
> the builds database?
>
> Or, can a 1.2 instance simply be pointed at the "old" database and be
> reasonably happy, assuming the checkouts and build results haven't
> moved?
>
> Thanks,
> --
> Wendy
>