Recently, we started cooperative development. We have four people working on a project and will start cooperative development of the data center charging system later. cooperative Development, as its name implies, is working with several people to build a project, instead of relying on their own capabilities to complete the software as before. Many Capabilities of cooperative developers: cooperation, expression (Text language, discourse communication), and communication skills. It can be said that a person who cooperates with developers is more popular than a person who has advanced technology but is hard to cooperate with others. Therefore, we need to learn from our current cooperative development, and change our own shortcomings so that we can better work together with others to complete the difficulties one by one.
However, it is still not enough to rely on people. For example, how can we achieve a clear division of labor and combine our own sweat? SVN! SVN (subversion) is a version management tool that has emerged in recent years and is the successor of CVS. Currently, most open-source software uses SVN as the code version management software!
What is SVN? A piece of software cannot be completed in one day, and some of them need to be developed for a long time. During this period, the version issue may occur. Cooperation is the process of completing tasks together, so we need to combine the tasks we have done. This manual solution requires a lot of effort, and SVN can solve these problems well: it controls the version well and has a software merging body, each person can update his/her own module at any time, upload his/her own module, and achieve a perfect combination of division of labor and integration! Let's take a look at the working principle of SVN:
After learning about the role of Svn in cooperative development, we can see what SVN needs to be installed (install vs if we are working on ):
Tortoisesvn (SVN core) download URL:Http://tortoisesvn.net/downloads.html
Vsiualsvn (vs plug-in, client) download link: http://www.visualsvn.com/visualsvn/download/
Vsiualsvnserver download URL: http://www.visualsvn.com/server/download/
The installation process of the three software is very simple. I will not talk about it here, but I can check it online. First, install tortoisesvn and right-click our mouse on the desktop.
Because SVN is in English, it cannot be used in English. You can install it. Remember the meaning of these words for checkout download, which is the part you are responsible for downloading on the server, repo-Browser: view the content on the server through a browser, and import the content to the server. We can perform a simple operation. Take a look at this figure:
Install vsivalsvn
Server, we can create a server project based on. Open the installed vsivalsvn Server Manager in the Start Menu.
After a server project is created, we can add accessors or groups with the necessary permissions. Then upload the created Project framework, and you can download the modules you are responsible for, write them, and upload them!
Of course, the client needs to install our client vs plug-in visualsvn for the above operations. After installation, we open our visual
Studio has multiple items,
This item can help us to download our own module on the server. After compilation, the display is different from that on the server, and the functions such as updating and uploading the server are implemented, the red part in the figure is the icon we often use.
To sum up, we have prepared all the preparations for using SVN, and we will need to use it when we leave it. However, there are still many things to be standardized and paid attention to during use, I will bring you my next blog!