Tuesday, 15 May 2012

svn - Polling subversion file status of all team members -


We are going to set up a subscription for a development project where most of the code will be edited in VisualStudio 2012.

To prevent people from locking files, we want to establish a voting mechanism in order to issue warning to team members that someone else has started editing a special file. The warning will tell them that if they make changes they will have to merge their changes against other ongoing changes which are currently being made.

The only reference I can get for voting, but it is not fit in VS2012 / VisualSVN setup

I expected that in case of remote SVN used for monitoring the situation Will be common. Has anyone got any solution for this?

Installing some form of voting, and possibly with the change of trigger on all machines or files posted for the hook that may be included on the special property may appear if it appears If you do not have the solution then can you give me the signal to set it?

I do not think anything in SVN has been made that will do this for you. This is not a common use case because concurrent editing is handled by SVN, and therefore it is not considered a problem to inform other developers.

If you want to be informed when the developer starts editing, an SVN-tracked file, you will probably need to develop a system itself, there may be a script running on every developer's machine Which does "svn status / grep ^ m" (or whatever is equivalent to Windows) every 5 minutes and then returns the resulting text output to a (custom) server. The server then can compare text obtained from each developer machine, and if it is different from the text received before that machine, then it can email other developers to inform them of the change.

It seems that a lot of work for a lot of profit, though. I do not even know that developers too can infiltrate too.

No comments:

Post a Comment