I. Introduction
Google Code project hosting provides a simple and convenient platform for project development, especially for projects with multi-person cooperation. The communication and communication between project members are faster and more efficient, and project development is more reasonable and orderly.
Common Open-Source Project hosting platforms include SourceForge and Google Code. sourceForge is the world's largest open-source community. Many important open-source projects choose SourceForge as their development and communication platform. google Code project hosting is an emerging open-source platform. It is favored by more and more people with its simple and convenient operations and fast speed. For general projects, Google Code is more popular, more practical options.
2. Create a new project
To use Google Code project hosting, you must first create a new project.
First you need to apply for a Google Code account, login and open the following address: http://code.google.com/hosting. Click Create a new project on the page to go to the following page:
To create a new project, you need to enter some information. The content on the right is described and required.
Project nameIs part of the project URL, used by the svn client to locate the project version library. The name must be concise. It must be a combination of uppercase and lowercase letters, numbers, and dashes. No other characters (including spaces) are allowed. Different meanings of the names are divided by break numbers, for example, easy-access-web.
Project SummaryIt is a supplementary description of the project name. Because there are many restrictions on the project name form, you can make a detailed summary of the project here and express it in Chinese.
Project DescriptionIt is the main content description of the project. It is written using the Wiki markup syntax. Here we will introduce the entire project in detail, so that others can fully understand the background, objectives, functions, news, and other aspects of the project.
Version Control SystemSelect the method for project version control, including mercurial and subversion. Here we use subversion (SVN.
Source code licenseSelect the license agreement. Open-source projects must follow certain standards. The license agreement specifies how to share source code, documents, and other resources with others, which is equivalent to a contract. There are multiple protocols available here, which can be selected as needed.
Use a separate content licenseUse a separate content license. Project labels are keywords related to projects for easy query and classification. After entering the relevant information, click Create project to create a project.
Iii. system functions
After the project is successfully created, go to the following page:
This is the main interface of the project. You can see that there are projects home, downloads, wiki, issues, source,
Several administer labels. The following describes the functions of each part in sequence.
1. Project home
The content under this label is the overall project situation, status, and so on, including three sub-labels summary, updates, and people.
SummaryThe basic information of the project is provided. The project description is displayed on the left of the page during creation, and the basic project information is displayed on the right.
UpdatesRecords all changes and updates made since the project was created.
PeopleShows the extremely high Roles and Responsibilities of project participants.
2. downloads
This section provides download of project-related files, such as the project release version and related tools. Upload a file: click New downld. The following page is displayed:
Summary: File description
File: File to be uploaded
Labels: Keyword related to the file. You can set the attribute of the description file. The default value is as follows:
After entering the information, click submite file to complete the upload. Download file: the uploaded file can be downloaded and shared by others, as shown below:
Click the file entry to be downloaded to go To the download page. If the project owner is a project owner, you can also modify or delete the file information, as shown below:
Search for files: when there are a large number of files, you can use the search function to improve query efficiency. Search by resource file name, summary, label, and other information, find the desired file, as shown below:
3. Wiki
This part Stores project-related documents and materials. Create a new wiki:
Click new page. The following page is displayed:
Page name: It must be a combination of letters or numbers and cannot contain spaces. It cannot be modified after creation.
Content: Document content, following the Wiki syntax http://code.google.com/p/support/wiki/W ikisyntax
Labels: Content-related keywords. You can set the description attributes. The default value is as follows:
After entering the information, you can click the preview at the bottom to preview it, and then click Save page to save it. Add Comment:
Project participants can exchange comments and replies to the Wiki as follows:
Enter in the text box below enter a comment, and click Submit. The comment will appear on the page, as shown below:
Search Wiki:
Similar to the download part, the search function is also provided here, as shown below:
Edit and delete a wiki:
The project owner can edit or delete the Wiki, for example, the two links on the right:
4. Issues
This part is used to track project progress, report problems and bugs, and facilitate communication among team members.
Create a new issue:
Click new issue. The following page is displayed:
Template: The template type of issue.
Summary: Summary name of issue.
Description: Detailed description of issue. You can add attachments through attach a file.
Status:
Issue status, which can be set. The default value is as follows:
Owner: The current owner of the issue, that is, who is responsible for processing the issue.
CC: List of members notified after an issue change.
Labels: Meaningful text about this issue, in the form of key-value. The text before the first break number is separated by one or more break numbers as the prefix ), that is, the meaning of the label. The text after the first break is the value, such as priority-high and priority-low.
Blocked on: Which issue gets stuck with this issue.
Add Comment:
Related members can comment on and communicate with issue as follows:
Click the text box below, enter the comments, add attachments as supplementary materials, and click Save changes, as shown below:
Update issue:
Issue is a problem that needs to be solved. It is proposed by a member and then solved through cooperation between himself and others. The owner of an issue is a member who needs to handle the problem. After processing, the owner determines the next state of the issue, whether to continue to process it for another person, or disable the issue. The issue status has been mentioned earlier. The open status indicates that the issue still needs to be processed, and the closed status indicates that the issue is closed, so the method to disable issue is to set its status to closed.
The issue owner clicks add a comment and make changes below on the issue page. The following content is displayed:
Here, you can modify the issue information, including the aforementioned owner and status, or delete the issue in the more actions drop-down box below.
Search for issue:
In addition to basic search, advanced search is also provided as follows:
Click Advanced Search on the right to enter advanced search. You can search for multiple types of information as follows:
5. Source
The project repository facilitates project members to jointly maintain the same source code without any confusion caused by modifications by multiple users. Access the repository through the svn client software as follows:
Two access methods:
1.HTTPS: Project members can access and update the repository in this way. the user name and password must be provided by the Project creator. The user name is in the Google account @ before the part, the password is generated by the system, you can see in the Creator's https://code.google.com/hosting/settings page, as shown below:
2.HTTP: Non-project members can only browse and cannot change the repository.
In Windows, the svn client can enable tortoisesvn.
6. Administer
This part manages and sets the project. It must be the owner of the project. The following describes some of the settings.
1.Project Member Management
Click the project members subtab. The following page is displayed:
You can add or delete project members here. There are three types of members: project owner, project committer, and project contributor. The project owner is the project owner and has the permission to make all changes to the project. There can be multiple project owners. The project committer is also a project worker, but has less permissions. The project contributor is a contributor to the project, the permission is basically the same as that of a non-project member, but the role in the project is clearly identified. Project Members must apply for a Google account and add it here.
In addition, you can also set the member permissions separately. There is a project member list under the People subtab of the previous project home. Click the member to be modified to modify the permissions, as shown below:
2.Set notification email address
The processing of issue generally involves multiple people. New information needs to be promptly notified to relevant members.
To send a notification by email, you need to set the notification email list.
Click the issue tracking sub-tab and drag down. The following page is displayed:
Here, you can set the email address to send notifications when the issue changes. You can also use the Google group email list to notify multiple members. You only need to enter the email list address here.
Similarly, you can send notifications when the source code library is updated. Click the source subtab and drag down. The following page is displayed:
Here you can set up code review updates and notifications when new submissions are made.
3.Delete a project
You can delete a project when it is no longer in use. Click the advanced subtab. The following page is displayed:
Click Delete project to delete the project. It should be noted that the project is not actually deleted here, which is equivalent to being put into the recycle bin. It takes 30 days to delete the project and can be restored during this period.
The personal information is displayed at the right of the page, as shown in the following figure:
Click "Profile". Under the my profile tab, you can see all the projects you have created, as shown below:
Projects pending deleted is the project in the recycle bin. You can click undelete to restore the deleted project.
References:
[1] Google Code help support documentation. http://code.google.com/p/support/wiki/GettingStarted
Google Code and SourceForge advantages and disadvantages compared who better. http://developer.51cto.com/art/201005/201346.htm
[3] How to Use SVN coordination source code, synchronous development of many people. http://www.webwoo.net/SVN/svnsy/2009/1211/51315.html