Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Experience with Subversion?
Experience with Subversion? [message #52088] Thu, 17 July 2008 06:23 Go to next message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
Is there anybody out there who is managing EPF models with Subversion?
(i.e., NOT with config mgmt tools using check-in/check-out mechanisms)

Beside general exchange of thoughts, I'd especially be interested in the
question if there is experience with potential model inconsistencies in
case multiple people are working in parallel on model elements, merging
the changes afterwards via SVN.

Are there good practices that should be used with SVN?

I'd be willing to collect the feedback and to prepare a paper from it.

Best regards,
Gerhard
Re: Experience with Subversion? [message #52112 is a reply to message #52088] Thu, 17 July 2008 07:56 Go to previous messageGo to next message
Henrik Terävä is currently offline Henrik TeräväFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

we've had some experience with SVN.

Most merging problems occur with the "plugin.xmi" -file, and this is
usually
when two persons have added elements at the same time. SVN can
automatically
merge most changes, but the additions to the same place must be done
manually. This is quite straight-forward manual editing though.

One natural way to reduce possible conflicts is to do commits/updates
frequently (automatic batches etc.).

Best regards,
Henrik
Re: Experience with Subversion? [message #52391 is a reply to message #52088] Tue, 29 July 2008 09:54 Go to previous messageGo to next message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
Well, there's not too much activity in this thread - does it mean that
(almost) nobody is working with Subversion to manage EPF models?
Re: Experience with Subversion? [message #52423 is a reply to message #52391] Fri, 01 August 2008 09:57 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

we've been using it as well - same experience as Henrik's. That's why I
didn't reply.

Regards,

Roman

"Gerhard Schneider" <gerhard.schneider@HOOD-Group.com> wrote in message
news:12a87c0b2e2c435e93602f164fc206fe$1@www.eclipse.org...
> Well, there's not too much activity in this thread - does it mean that
> (almost) nobody is working with Subversion to manage EPF models?
>
Re: Experience with Subversion? [message #52450 is a reply to message #52423] Mon, 04 August 2008 06:59 Go to previous messageGo to next message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
That's an important information, thanks.

All the other SVN users: please be encouraged to reply with your
experiences. It would be extremely helpful to get a big picture of do's
and don't's.
Re: Experience with Subversion? [message #53169 is a reply to message #52088] Tue, 02 September 2008 12:12 Go to previous messageGo to next message
jan masaryk is currently offline jan masarykFriend
Messages: 50
Registered: July 2009
Member
Hi Gerhard,

we use it with svn as well. we needed intuitive and easy VCS with atomic
changes over model and cheap branching/tagging.

important to know is that SVN is a optimistic VCS, which means that
naturally no locking mechanism are applied over repository and SVN try
merge automatically.
therefore problem is in changing reference files of model (what are:
plugin.xmi and library.xmi). especially plugin.xmi can be change quit
often. we try prevent problem in this place with combination of rules:
1. commit often - even when requirement is not fullfilled
2. inspired with this guideline
http://www.ibm.com/developerworks/rational/library/feb07/per aire/index.html
we have one person responsible to prepare model sketch (which contains
method atributes changed in plugin.xmi)
3. one person is responsible for solving merge conflict (the same as
preparing model sketch)

concerning point 1. we use branching and tagging. we have 2 branches:
- trunk (stabile) which contains version ready to publish
- modeling branch - which contains preparing version which is after
review merged to trunk

definitelly SVN is better choise as cvs. :-)

all the best,
jan masaryk



Gerhard Schneider wrote:
> Is there anybody out there who is managing EPF models with Subversion?
> (i.e., NOT with config mgmt tools using check-in/check-out mechanisms)
>
> Beside general exchange of thoughts, I'd especially be interested in the
> question if there is experience with potential model inconsistencies in
> case multiple people are working in parallel on model elements, merging
> the changes afterwards via SVN.
>
> Are there good practices that should be used with SVN?
>
> I'd be willing to collect the feedback and to prepare a paper from it.
>
> Best regards,
> Gerhard
>
Re: Experience with Subversion? [message #54360 is a reply to message #53169] Fri, 07 November 2008 13:08 Go to previous messageGo to next message
Isabela is currently offline IsabelaFriend
Messages: 16
Registered: July 2009
Junior Member
Hi Gerhard,
We are using SVN in EPF with the same rules:
- commit often
- have a model sketch prepared by only one person
As we are a small team modelling the processes (5 persons), we talk to
each other if there is a locked file.
We never used the merge function. Does it work well?

Best Regards,
Isabela
Re: Experience with Subversion? [message #54656 is a reply to message #52088] Wed, 19 November 2008 11:58 Go to previous message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks for your feedback. We ourselves made some experiences in the
meantime; I hope that I'll find the time to prepare a paper concluding all
that in the near future (say: January 2009).

The usage of EPF and SVN together is pretty tricky, and although we took
care, we reached out to corrupt the model two times.

We will have a guideline to use EPF and SVN only via Subclipse
(TortoiseSVN is forbidden for EPF models); in addition, we implemented
some hooks for SVN, ensuring that locks exist and are to be used. This
combination of measures seem to lead to a robust and multi-user-able
solution.
Re: Experience with Subversion? [message #589928 is a reply to message #52088] Thu, 17 July 2008 07:56 Go to previous message
Henrik Terävä is currently offline Henrik TeräväFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

we've had some experience with SVN.

Most merging problems occur with the "plugin.xmi" -file, and this is
usually
when two persons have added elements at the same time. SVN can
automatically
merge most changes, but the additions to the same place must be done
manually. This is quite straight-forward manual editing though.

One natural way to reduce possible conflicts is to do commits/updates
frequently (automatic batches etc.).

Best regards,
Henrik
Re: Experience with Subversion? [message #590017 is a reply to message #52088] Tue, 29 July 2008 09:54 Go to previous message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
Well, there's not too much activity in this thread - does it mean that
(almost) nobody is working with Subversion to manage EPF models?
Re: Experience with Subversion? [message #590026 is a reply to message #52391] Fri, 01 August 2008 09:57 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

we've been using it as well - same experience as Henrik's. That's why I
didn't reply.

Regards,

Roman

"Gerhard Schneider" <gerhard.schneider@HOOD-Group.com> wrote in message
news:12a87c0b2e2c435e93602f164fc206fe$1@www.eclipse.org...
> Well, there's not too much activity in this thread - does it mean that
> (almost) nobody is working with Subversion to manage EPF models?
>
Re: Experience with Subversion? [message #590034 is a reply to message #52423] Mon, 04 August 2008 06:59 Go to previous message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
That's an important information, thanks.

All the other SVN users: please be encouraged to reply with your
experiences. It would be extremely helpful to get a big picture of do's
and don't's.
Re: Experience with Subversion? [message #590326 is a reply to message #52088] Tue, 02 September 2008 12:12 Go to previous message
jan masaryk is currently offline jan masarykFriend
Messages: 50
Registered: July 2009
Member
Hi Gerhard,

we use it with svn as well. we needed intuitive and easy VCS with atomic
changes over model and cheap branching/tagging.

important to know is that SVN is a optimistic VCS, which means that
naturally no locking mechanism are applied over repository and SVN try
merge automatically.
therefore problem is in changing reference files of model (what are:
plugin.xmi and library.xmi). especially plugin.xmi can be change quit
often. we try prevent problem in this place with combination of rules:
1. commit often - even when requirement is not fullfilled
2. inspired with this guideline
http://www.ibm.com/developerworks/rational/library/feb07/per aire/index.html
we have one person responsible to prepare model sketch (which contains
method atributes changed in plugin.xmi)
3. one person is responsible for solving merge conflict (the same as
preparing model sketch)

concerning point 1. we use branching and tagging. we have 2 branches:
- trunk (stabile) which contains version ready to publish
- modeling branch - which contains preparing version which is after
review merged to trunk

definitelly SVN is better choise as cvs. :-)

all the best,
jan masaryk



Gerhard Schneider wrote:
> Is there anybody out there who is managing EPF models with Subversion?
> (i.e., NOT with config mgmt tools using check-in/check-out mechanisms)
>
> Beside general exchange of thoughts, I'd especially be interested in the
> question if there is experience with potential model inconsistencies in
> case multiple people are working in parallel on model elements, merging
> the changes afterwards via SVN.
>
> Are there good practices that should be used with SVN?
>
> I'd be willing to collect the feedback and to prepare a paper from it.
>
> Best regards,
> Gerhard
>
Re: Experience with Subversion? [message #590851 is a reply to message #53169] Fri, 07 November 2008 13:08 Go to previous message
Isabela is currently offline IsabelaFriend
Messages: 16
Registered: July 2009
Junior Member
Hi Gerhard,
We are using SVN in EPF with the same rules:
- commit often
- have a model sketch prepared by only one person
As we are a small team modelling the processes (5 persons), we talk to
each other if there is a locked file.
We never used the merge function. Does it work well?

Best Regards,
Isabela
Re: Experience with Subversion? [message #590984 is a reply to message #52088] Wed, 19 November 2008 11:58 Go to previous message
Gerhard Schneider is currently offline Gerhard SchneiderFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks for your feedback. We ourselves made some experiences in the
meantime; I hope that I'll find the time to prepare a paper concluding all
that in the near future (say: January 2009).

The usage of EPF and SVN together is pretty tricky, and although we took
care, we reached out to corrupt the model two times.

We will have a guideline to use EPF and SVN only via Subclipse
(TortoiseSVN is forbidden for EPF models); in addition, we implemented
some hooks for SVN, ensuring that locks exist and are to be used. This
combination of measures seem to lead to a robust and multi-user-able
solution.
Previous Topic:Model Meta-Doc?
Next Topic:news task... problem with content variability
Goto Forum:
  


Current Time: Thu Apr 25 22:09:27 GMT 2024

Powered by FUDForum. Page generated in 0.03675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top