Subversion space consumption... how do you cope with that?
-
Hello all, I would like to know how do you cope with the space consumption of the subversion repositories. Of course meanwhile you are developing a project it is important to keep a history of what is going on, but once it has been finished, it should be archived and all the versions should be removed except the last one. At least this is what would be interesting on my company. the only problem is that I've not been able to find any step to do that automatically. Do you do this in that way? if you do it, how? and if you don't, what do you do and why? As always, thank you in advance. :rose:
As for why you want to keep your history around in some form, when you resume work on an app and are looking at a line of code going WTF!; the revision history will at least let you know what the guilty party thought it was supposed to do. If you just want to start each version of your dev with revision 1 you should be able to just import into a new repository, but this will make tracking history to older code more painful.
The latest nation. Procrastination.
-
Hello all, I would like to know how do you cope with the space consumption of the subversion repositories. Of course meanwhile you are developing a project it is important to keep a history of what is going on, but once it has been finished, it should be archived and all the versions should be removed except the last one. At least this is what would be interesting on my company. the only problem is that I've not been able to find any step to do that automatically. Do you do this in that way? if you do it, how? and if you don't, what do you do and why? As always, thank you in advance. :rose:
I do not archive anything from the repository so I do have 8 year old stuff in there. I am still using cvs though so the 2 million lines of code could fit on a single cd if needed. I believe the last time I tested moving that to svn it was less than 4GB which is pretty insignificant considering whatever server I have it on has > 2TB of raid..
John
-
Hello all, I would like to know how do you cope with the space consumption of the subversion repositories. Of course meanwhile you are developing a project it is important to keep a history of what is going on, but once it has been finished, it should be archived and all the versions should be removed except the last one. At least this is what would be interesting on my company. the only problem is that I've not been able to find any step to do that automatically. Do you do this in that way? if you do it, how? and if you don't, what do you do and why? As always, thank you in advance. :rose:
-
Hello all, I would like to know how do you cope with the space consumption of the subversion repositories. Of course meanwhile you are developing a project it is important to keep a history of what is going on, but once it has been finished, it should be archived and all the versions should be removed except the last one. At least this is what would be interesting on my company. the only problem is that I've not been able to find any step to do that automatically. Do you do this in that way? if you do it, how? and if you don't, what do you do and why? As always, thank you in advance. :rose:
For starters have differing projects in separate repositories. As for history I would probably keep the lot disk space is cheap < 10p per GB. Or archive it if necessary.
-
For starters have differing projects in separate repositories. As for history I would probably keep the lot disk space is cheap < 10p per GB. Or archive it if necessary.
David Wong wrote:
For starters have differing projects in separate repositories.
That will save an enormous amount of space with subversion.
John
-
David Wong wrote:
For starters have differing projects in separate repositories.
That will save an enormous amount of space with subversion.
John
-
I am not sure of the exact reason but I have seen the huge difference in size while testing importing cvs repositories to svn.
John
-
David Wong wrote:
For starters have differing projects in separate repositories.
That will save an enormous amount of space with subversion.
John
John M. Drescher wrote:
That will save an enormous amount of space with subversion.
I did not mean that having separate repositories would save space. I was more coming from the angle that it is easier to then archive unused repositories and delete them as opposed to what I have seen in some companies that have 1 repository and all their projects dumped into this, and wondering why the repository is so large.
-
Hello all, I would like to know how do you cope with the space consumption of the subversion repositories. Of course meanwhile you are developing a project it is important to keep a history of what is going on, but once it has been finished, it should be archived and all the versions should be removed except the last one. At least this is what would be interesting on my company. the only problem is that I've not been able to find any step to do that automatically. Do you do this in that way? if you do it, how? and if you don't, what do you do and why? As always, thank you in advance. :rose:
I go with the "disk space is cheap" and "losing information is expensive" camps.
-
I go with the "disk space is cheap" and "losing information is expensive" camps.
I admire the way that you distill thousands of words into a couple of cogent, concise bullet points. Well done. :)
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
I admire the way that you distill thousands of words into a couple of cogent, concise bullet points. Well done. :)
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
Thanks. I once had someone say that one word from me is worth ten from someone else. I think it helps my coding.