Wim Deblauwe a écrit :
So, summarizing:

1) we need a lock/edit command in the ScmProvider interface, since the release plugin knows that interface. We then have 2 options: define a special property or let the release plugin call lock/edit always and provide an empty implementation in AbstractScmProvider for the non-clearcase SCM's. For me option 2, seems nicest.

We need these 2 options. Default implementation will do nothing for providers that don't have a specific implementation. The special property will be useful for some provider like cvs. In cvs, we can have 2 modes (with or without lock/edit), so we'll implement the lock/edit command in cvs and users can activate or not it with the special property. Release plugin can't always call lock/edit command, it will depend on users configuration.


2) checkout is currently incorrectly implemented. It currently calls 'cleartool co', but it should not do that. It should create a view dynamically (not impossible), but then? Should it copy the contents to some file location? But then you won't be able to do any clearcase operations on that.

You're our clearcase specialist (With Dan), so implement it like you think it's better. Personnaly, i think it isn't a good idea to copy contents to an other location if we can't do other operations of them

Emmanuel

Reply via email to