trac project management platform

Original link: http://www.cnblogs.com/xcsn/p/3484631.html

This article from Wikipedia, due to the non-Python developers, so the only broaden their knowledge

 

1Software

Trac is a software development project needs an integrated Wiki and issue tracking system management application platform, is an open source software application. Trac simple way to set up a software project management Web applications to help developers write better quality software; Trac application does not seek to affect the existing team development process. [1]

2Development language

Trac is developed in Python, so Trac in the running, needs the support of the Python environment, in this manual using Python 2.5, Trac uses 0.11Beta version, Apache 2.2.
Trac is based on the whole and WIKI TICKET basis, WIKI act as a tool in a document written grammar, TICKET, etc., which contains a number of similar but simplified HTML syntax, grammar are detailed in the Guide document. WIKI specific meaning will be described in detail in "Trac in WIKI" section. TICKET is another important component of the Trac, using Trac Ticket (small piece of paper) to transmit information. Ticket is a specific need to do carrier, also contains a lot of descriptive information. [1]

3model

Trac is a model for the progress of the project management model, the obvious characteristic is its project management to milestone (Milestone) mode. What are the specific things to do each milestone, on the use of Ticket to define, track, and so on. What milestone is it? Why I do not have time to point it? The reason is that the point of use time is often mistaken, is a landmark designed in accordance with the time, rather than in accordance with established events.
In addition, Trac do a SCM configuration management platform, which means it has good scalability. Plugin function by WebAdmin interface, you can easily install the downloaded plug-ins , you can also view the installed plug-in by this function, and for which the plug-in to enable or disable operation. [1]

4Architecture

Trac system permissions

Trac permissions system is relatively complete design, trac has two properties anonymous and authenticated users group by default. Anonymous Anonymous group that is, as long as the default access trac apache instance of the service provided, then belongs to this group, this group trac instance when browsing interface, will provide content to browse under the authority of the program trac instance set.
Under normal circumstances, we gave a trac instance of the specified admin user that the competence of the biggest users. By trac-admin instance name permission add user name TRAC_ADMIN, the command creates the instance under the dos prompt the administrator account. Note that permissions are case-sensitive. After successful, the user authentication login, will be able to see the Admin webadmin management interface. Trac instance can be managed through this interface visualization.
Action Trac Use Subject and method bindings to empowerment. Subject i.e. the operation target, i.e., you can perform actions Action. By mapping this relationship in order to achieve the right management Trac. By default, authenticated and anonymous Trac comprising two Subject, back through the front trac-admin, appears the third subject, i.e., the user name.
Subject to the specific operation of the empowerment, can be accomplished by the FIG. Action by the distribution of the Subject of empowerment to complete the operation, you can cancel a Subject authority has been allocated by Remove selected items. Note that TRAC_ADMIN is the greatest privilege. But also can be grouped management of Subject. A group has permission, members will automatically inherit.

The Trac WIKI

Trac can be seen everywhere in the shadow of the WIKI. Trac's welcome page, Ticket written and so on, throughout the Trac interface can be used in both the WIKI syntax for writing documents. WIKI contains its own set of syntax, using Genshi before rendering Web pages, or explain WIKI syntax to HTML syntax.

Roadmap

Roadmap Chinese translation roadmap. Use a Roadmap demonstrated in the Trac software development process. In the Roadmap, the Milestone to break through the software throughout the life cycle of development. More Milestone constitutes a Roadmap. Of course, a software delivery after the change in the course of future maintenance, modification and so create a new Milestone management.

Timeline

Timeline Timeline can be translated Chinese, which is based on the time schedule as a reference axis, the display operation of this example trac reverse chronological order so that the way of the log . It monitors objects include:
  • WIKI Event: Create and change action;
  • Ticket Event: create, change, completion of the Ticket and all events;
  • Source chanege event: the code repository be some action event;
  • Milestone event: Milestone end event.

The Trac Ticket

Ticket management is a core element in trac project, it is used in mission projects in trac, functional requirements, bug reports , software publishing support, it uses a syntax that describes WIKI as part of the text.

Trac in Report

Report for trac in the main display ticket, can be filtered according to ticket all the properties mentioned above, but can also define which fields are displayed properties ticket, if that is of great value set by the user query and display, then you can save this query Report, to be used directly in the next. In this menu you see this report "VIEW TICKETS" in. Note that the Report only queries ticket.

Trac in Search

Search mainly on the ticket and WIKI query, the query content for ticket and wiki content, all content is actually query timeline listed in the menu. Trac using full-text search methods to search. Not specifically described. Search Set minimum length input box Trac.ini configured in the configuration file, the reference Help / Guide.

Trac is Admin

The admin Trac are some important operations, but also a very simple operation, are set to do some basic information trac environment as a whole. It comprises two portions disposed, i.e., general and ticket. [1]

5Project Cycle

Trac uses for the progress of the development model, thus creating the concept of Milestone, Milestone although it established a milestone stage, but how to reach specific milestones it? This requires ticket manner for processing. When the ticket so defined all closed, it means reach the milestone, but it does not mean that all reached the ticket is fixed, perhaps other reasons closed. Although there are milestones reached, but may not be completed on time, but the overall stage end point is very clear.
So with a trac project management, we should focus on the following aspects:
  • Divided milestone
  • Project components division
  • Divide ticket
  • Master of the operating mechanism Ticket
  • Master view and use the Change History
  • Milestone master view and use
Front three belong to the project scope of the architecture, the rear part of the operating category three. For each of the previous three division principle is:
The principle of division of Milestone
Milestone events, we set up these events is to show that when these events occur, our work has reached a certain degree. And we can not just use to divide the milestone point in time.
As for the choice of what event as a milestone, in fact, is to choose an event project stakeholders who are most concerned about as a milestone. If the planned timetable for the project to open a meeting, there must be a lot of people care about their proposed event or point in time, such as sales staff will ask developers when completed alpha testing, so that they do beta testing to find customers, listening to the boss ask what time to come up with the first version to run, developers will be able to ask what time so you can start signing formal work after the general plan. The event or point in time is the best milestone, a milestone has been able to mark the progress of the project, because it is an event project stakeholders concerned, the meaning is the meaning of milestones marking the progress of the event.
In the actual project work, a milestone has been reached, the matter is very clear. Whether the event occurred should be very clear, if not explicitly stated milestones choice is not an event, such as "review by" client sign a contract, needs analysis document is approved by the owner, bug convergence tests, whether these things are happen very clear, it is a definite point in time.
The principle of division of Component
Generally divided by function modules, such as collaborative office systems can be divided into document processing, personal office, e-mail and so on. The relationship between the components and milestones, a component can belong to more milestones, of course, a landmark which may also comprise a plurality of components, many to many relationship between them, but there is a milestone in trac-oriented, so we should stand milestone this axis to manage software projects.
How Specific Component division, which requires a decision with the actual situation.
Ticket principle of division
Ticket System Introduction Ticket Trac system is an important element on project management, it is a simple and effective version of differences and Bug Tracking System.
Any problems in the project development process, can be used to identify a Ticket, for example Bug, project planning, functional improvements, project proposals, Todo, etc., can be written as a Ticket, Ticket system developers view by visiting, can promptly We understand the progress of the project, to be local solutions, and so on
Each Ticket can be modified and description (Description attributes), and indicate this is a Bug Ticket or project proposal or something else (Type Properties), which is assigned by the person in charge (Assigned to / Owner properties) of the Ticket, setting Ticket priority (priority attribute), Ticket final set completion time (Milestone property), which set the Ticket module (Component attribute) belongs. Milestone contains a name and a time, which is the time the project is expected to end this phase of time, we have by setting this property to indicate which Milestone, which belongs to the stage of project you want to create Ticket belong completed before the time at which . [1]

6Trac installation

Trac has a large number of documents on the home page, guide the user to install and upgrade. Specific installation procedure, see the home page related documents [2]
There is also provided a number of pre-packaged items "Portable" installation [3]

Reproduced in: https: //www.cnblogs.com/xcsn/p/3484631.html

Guess you like

Origin blog.csdn.net/weixin_30294295/article/details/94793247