I used to use file server + update person, then CVS for the next generation, and now Subversion.
Before Subversion, it was almost like a place to put programs and how to make them, but now I can't keep up with the development site's movements with such management. Therefore,
/trunk
, /branches
, and /tags
.The general usage rules are as follows.
/trunk
./trunk
, take action there, and merge it into /trunk
when the fix is complete./tags
from /trunk
. (Cut off branch)What I want to ask is how to use different versions. As this is a customer-specific project, there is only one repository allocation, but I also have to manage the following.
Let's say you put these things in /trunk
, depending on when you put these files in and when you cut the development/failure response branch from /trunk
, but creating/deleting files often causes a bit of overhead.
How is it best practice to build a repository if you are not familiar with version control as described above?
11. will have different folder configurations for /trunk
, /branches
, /tags
and /docs
, /test-data
, and /resources
.
I look forward to hearing from you.
That's it
svn
あくまで It's just the way I think of the arrangement, not the best solution.Please read it afterwards.
As mentioned in the same comment, I think it is better to decide whether to include the data in the svn repository based on whether it is necessary for version control.
/trunk
/branches
/tags
and is stored in the same column as the code.However, as the question states, the waiting time at checkout increases (I've actually managed it like that...) and if the amount of documentation is huge depending on the size of the system, consider having a repository dedicated to documentation depends on the size of your system.
One more thing about documentation.The repository I used to manage at my previous office was for the following:
/Department name
/A-system-src
/trunk
/branches
/tags
/A-system-doc
/trunk
/branches
/tags
/B-system-src
/trunk
/branches
/tags
/B-system-doc
/trunk
/branches
/tags
The source code and documentation are in separate subdirectories, so a large amount of document side data does not affect the source side.However, in this configuration, the version control function that came with IDE is almost unavailable, so there was some inconvenience.
I don't manage documents by IDE, so I think it's a good idea to create a /docs
directory and make it a different subdirectory from the source code side.However, I think it would be better to decide whether to manage the version or not (it will end up being a separate management that does not work with the source side).
© 2024 OneMinuteCode. All rights reserved.