Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cleaning up VDrift source tree
10-02-2011, 12:16 PM,
#32
 
Hello joevenzon,

first of all thank you for your elaborate reply. In fact I haven't considered locking and in fact it seems that git does not have any equivalent mechanism:

http://stackoverflow.com/questions/11944...rol-system

I agree that the distributed nature of Git puts an stronger emphasis on this problem, because people might not get notice of a lock, when they work offline. GitHub also adds to this, because it encourages spontaneous contributions more than the svn on sourceforge.

I have never used locking in subversion, myself. The comments on StackOverflow suggest that even though SVN has locking, one can run into the same problems as without it. Was it usual for VDrift to use subversions locking in the past? Were your experiences positive?

I am working on a project (8 developers) that till recently used a mailing list for locking and releasing an unmergeable database dump. That worked pretty well, we only had one situation where two persons made changes concurrently and one had to redo them on the dump of the other.

We did move away from this method because we did not want the overhead of checking/writing emails anymore. Instead we now export our changes in code and automate the import/export of them via scripts. The binary files of VDrift however are not substitutable with more atomic files, as far as I understand.

Therefore I think, handling them is only possible with proper communication and sticking to the necessary protocol of editing. I am in doubt, whether the locking in svn really helps avoiding conflicts better than having split the code into individual cars/tracks/etc on github. With more atomic code and easier and therefore more frequent commits the maximum possible damage could actually be lowered.

I would suggest having a lockfile in the root each repository, that needs to be touched before and after working on the data repositories. An obligatory guide on how to fork, lock, edit, commit and release could be given in each repo's readme, too.

joevenzon Wrote:Other stuff specific to git: I had heard that a git repository size grows much faster with binary file changes than an SVN repository. I had also heard that the way git works on a blob level (versioning the content of files, not the file itself) makes it really slow at scanning for updated files (since it needs to hash everything to determine if it changed) while subversion can cheat by looking at file properties. This info may be out of date. If you set up a test git data repo we can do some experiments.

I would be happy to help testing this. I will deploy something later today or tomorrow.
Reply


Messages In This Thread
Cleaning up VDrift source tree - by thelusiv - 12-24-2010, 12:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-24-2010, 01:23 PM
[No subject] - by NaN - 04-02-2011, 02:54 PM
[No subject] - by antoniovazquez - 06-03-2011, 07:42 AM
[No subject] - by thelusiv - 06-10-2011, 03:21 AM
[No subject] - by antoniovazquez - 06-10-2011, 09:26 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-10-2011, 10:30 AM
[No subject] - by antoniovazquez - 06-10-2011, 05:20 PM
[No subject] - by Timo 6 - 06-11-2011, 04:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-13-2011, 10:01 PM
[No subject] - by NaN - 06-14-2011, 09:06 AM
[No subject] - by antoniovazquez - 06-14-2011, 09:12 AM
[No subject] - by NaN - 06-14-2011, 09:17 AM
[No subject] - by Timo 6 - 06-14-2011, 10:20 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-14-2011, 10:21 AM
[No subject] - by NaN - 06-14-2011, 11:00 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-16-2011, 12:05 AM
[No subject] - by NaN - 06-16-2011, 03:26 PM
[No subject] - by NaN - 06-16-2011, 03:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-18-2011, 11:43 PM
[No subject] - by BiGBeN87 - 09-25-2011, 10:20 PM
[No subject] - by alex25 - 09-26-2011, 10:57 AM
[No subject] - by BiGBeN87 - 09-26-2011, 09:14 PM
[No subject] - by alex25 - 09-27-2011, 09:24 AM
[No subject] - by BiGBeN87 - 09-27-2011, 02:15 PM
[No subject] - by alex25 - 09-27-2011, 04:06 PM
[No subject] - by BiGBeN87 - 09-27-2011, 07:24 PM
[No subject] - by antoniovazquez - 09-28-2011, 05:07 PM
[No subject] - by BiGBeN87 - 09-29-2011, 06:25 AM
[No subject] - by antoniovazquez - 09-29-2011, 10:17 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-01-2011, 04:35 PM
[No subject] - by BiGBeN87 - 10-02-2011, 12:16 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-02-2011, 02:57 PM
[No subject] - by BiGBeN87 - 10-05-2011, 05:43 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-06-2011, 10:35 AM
[No subject] - by BiGBeN87 - 10-07-2011, 01:55 PM
[No subject] - by BiGBeN87 - 10-08-2011, 08:18 PM
[No subject] - by BiGBeN87 - 10-19-2011, 11:45 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-22-2011, 01:37 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-22-2011, 01:48 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-22-2011, 02:08 PM
[No subject] - by BiGBeN87 - 10-23-2011, 05:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)