You are on page 1of 7

Hng

dn s dng Redmine v SVN


Table of Contents
1 Thng tin c bn ............................................................................................................... 1
1.1 Thng tin ti nguyn dnh cho mn hc TTCNPM ...................................................... 1
1.2 Thng tin ti khon ............................................................................................................... 1
2 Hng dn s dng Redmine ....................................................................................... 2
2.1 Tng quan chung Project ..................................................................................................... 3
2.2 Issue trong Redmine ............................................................................................................. 3
2.2.1 Giao din qun l Issue .................................................................................................................. 4
2.2.2 Trng thi ca cc issue ................................................................................................................ 4
2.2.3 Cc trng ca mt issue ............................................................................................................. 5
2.2.4 Cp nht thng tin cho issue ....................................................................................................... 5
3 Hng dn checkout vi SVN ....................................................................................... 7

1 Thng tin c bn
Redmine l mt chng trnh dng qun l Project.

H thng Redmine ca mn hc c th truy cp ti a ch
http://cse.hcmut.edu.vn/rm2

1.1 Thng tin ti nguyn dnh cho mn hc TTCNPM

Cc nhm trong mn hc TTCNPM s c to vi cc id c mu nh sau ttcnpm-

2013-xx vi xx l s th t ca nhm. Khi cc nhm s c project trn


Redmine v workspace SVN vi id tng ng.
Link truy cp cc ti nguyn:
Redmine: http://cse.hcmut.edu.vn/rm2/projects/<id>
SVN: http://cse.hcmut.edu.vn/svn2/<id>
V d nhm th 26 s c cc thng tin:
Id: ttcnpm-2013-26
Redmine: http://www.cse.hcmut.edu.vn/rm2/projects/ttcnpm2013-26
SVN: http://www.cse.hcmut.edu.vn/svn2/ttcnpm-2013-26/
1.2 Thng tin ti khon
Mc nh, thng tin c bn dng login nh sau:

Hng dn s dng Redmine & SVN

LoginID: <StudentID>
Email: <Student stu.hcmut.edu.vn email>
Password: <StudentID>@redmine
V d:
Login: 51000019
Fistname: An
Lastname: Phan Trn Ngc
Email: 51000019@stu.hcmut.edu.vn
Password: 51000019@redmine


Ghi ch:
Thng tin ng nhp ny dng chung cho h thng Redmine & SVN.
Cc bn SV ch thay i password sau khi ng nhp vo h thng bng
cch vo link My Account nh trong Hnh 1

Hnh 1. Giao din "My account".

2 Hng dn s dng Redmine



Phn ny hng dn mt s thong tin c bn s dng Redmine dnh cho mn
TTCNPM. Cc bn c th tm hiu thm thng tin ti a ch
http://www.redmine.org/guide

Hng dn s dng Redmine & SVN

2.1 Tng quan chung Project


Giao din tng quan chung ca project nh trong Hnh 2. Cung cp cc thng tin c
bn v project cng nh cc subproject qun l.

Hnh 2. Giao din tng quan

ngha ca cc tabs/sections trong Redmine:


Sections
Ni dung
Activity
Tng hp cc hot ng, s kin ca project.
Issues
Qun l cc issue ca project.
New issue
To mt issue mi.
Gantt/Calendar Xem cc biu ca project.
News
ng cc thng tin v project.
Documents
ng cc document v project. (nh hng dn s dng, hay cc
ti liu)
Wiki
ng cc wiki v project.
Files
Upload cc file dung chia s chung trong project.
Repository
Xem thng tin v SVN.
Code Reviews Xem thng tin cc yu cu v code reviews.

2.2 Issue trong Redmine


Issue l thnh phn c bn trong Redmine, dng qun l cc task c giao.

Hng dn s dng Redmine & SVN

2.2.1 Giao din qun l Issue


Giao din qun l cc Issues nh trong Hnh 3.

Ch :
Mc nh cc Issues c status completed hoc rejected s khng c hin
th.
Bn c th lp cc b lc hin th cc issue cn thit. VD nh trong Hnh 3,
cc b lc c thit lp ch hin th cc issue c gn cho user Thuan Le,
c trng thi open v khng hin th cc issue trong cc project con.

Hnh 3. Giao din qun l Issue

2.2.2 Trng thi ca cc issue


Mt issue trong Redmine c cc trng thi (status) sau:
New: Issue mi c to.
In progress: Issue ang c hin thc/x l.
Resolved: Issue c hon tt, nhng cha c review bi ngi to.
Feedback: Feedback ca TA/ngi to SV/assignee chnh sa.
Rejected: Issue khng c cc TA/PM chp nhn.
Closed: Issue hon tt.

Workflow cho issue:

Ni dung
Trng thi
1. TA to issue mi v gn cho SV.
New
2. SV bt u hin thc cc task c giao.
In progress
3. SV hon thnh task c giao.
Resolved
4. TA review cng vic ca

Hng dn s dng Redmine & SVN

a. Nu SV hon thnh tt.


b. Nu cn feedback SV sa cha:
- TA feedback.
- SV quay li bc 2 hin thc li yu cu

Closed

Feedback
In Progress

2.2.3 Cc trng ca mt issue


Trng
ngha
Tracker
phn loi v qun l issue
Subject
Tn issue.
Description
M t v issue.
Status
Trng thi ca mt issue. Xem thm trong phn 2.2.1
Priority
Mc u tin.
Assignee
Ngi c giao phc trch chnh hin thc issue.
Due date
Deadline ca issue.
Estimated time
Thi gian d kin cn thit hin thc issue.
% Done
Khi lng hon thnh cng vic.
Watcher
Nhng thnh vin lin quan n issue. Cc watchers cng
nhn c cc email thng bo khi c cp nht v cc issue.
2.2.4 Cp nht thng tin cho issue
cp nht thng tin cho issue, ta c th click vo id ca issue c lit k giao
din qun l issue nh trong Hnh 4.

Hnh 4. Link cp nht thng tin cho issue

Hng dn s dng Redmine & SVN

Hnh 5. Giao din thng tin chi tit ca 1 issue

Khi cp nht thng tin cho issue, bn c th log li thi gian b ra hin thc
thay i ny (thi gian ny s c t ng cng dn) bng cch in vo trng
spent time nh trong Hnh 6.

Hnh 6. Cp nht thng tin cho issue

Hng dn s dng Redmine & SVN

3 Hng dn checkout vi SVN

SVN workspace ca group c to km theo project trn Redmine. Thng tin v url
ca SVN xem trong phn 1.1.

checkout SVN ta c th dng phn mm Tortoisesvn download t a ch
http://tortoisesvn.net/downloads.html
Vic s dng SVN t server http://cse.hcmut.edu.vn/svn2/ cng ging nh vic s
dng SVN t cc server khc. y, ta ch im nhanh qua hng dn ny, cc
nhm c th t tm hiu thm thng tin

To 1 th mc trng trong my tnh. Vo th mc, nhn chut phi, chn SVN
Checkout ri dn a ch project trn server svn2 vo, nhn OK.
T nay v sau, cc thnh vin s vit code trn th mc va to. Mi ln trc khi
vit code, nhn chut phi, chn SVN Update kim tra cc cp nht c th c
project do cc thnh vin khc to ra.
Mi khi vit code xong, thnh vin nhn chut phi, chn SVN Commit Cc
file c thnh vin thm vo hoc sa i s c thng k li, thnh vin kim
tra chn cc file cn thit ti ln server ,svn xong nhn OK. Nu c yu cu
nhp Username v Password, thnh vin nhp Username v password ca
Redmine c lu li lc trc. Thnh vin c th chn TortoiseSVN ghi nh
cc thng tin ny, khng cn in li vo cc ln sau. Nn in Message ghi r
nhng thay i do mnh to ra trn project.
Th mc project ca cc nhm c t chc nh sau: Mt th mc Code cha m
ngun chng trnh, mi tun s c mt th mc mang tn Report 1, Report 2,
cha bo co v cng vic lm c trong tun ca cc thnh vin.

Hng dn s dng Redmine & SVN