Information.management.with.redmine thai nguyenfoss.nguyen.vu.hung.20101121-01

Preview:

Citation preview

2010/11/21 Nguyen Vu Hung

Information Management with Redmine

Nguyen Vu Hung

vuhung@vinicorp.com.vn

2010/11/21

2010/11/21 Nguyen Vu Hung

Change History

No Date Author Details Slides

1 2010/10/09 vuhung Newly created All

2 2010/10/12 vuhung Updated 5, 80

3 2010/11/21 Vuhung Updated

2010/11/21 Nguyen Vu Hung

Agenda

• Project Management Overview• IT Project Management• Life Cycle• Development Models• Redmine Installation• Process (Quy trình)• Comparison with other products• Ticket Driven Development• Basic Redmine Features and Administration• Redmine Customization for Real World Process• Workflow• Useful Plugins

2010/11/21 Nguyen Vu Hung

Project Management (PM) Overview

• Project constraints– Scope (What to do?)– Time (Deadline)– Budget (Money, Facilities, Human Resources)

• PM (to archive to goals)– Planning, organizing, – Securing (budget, scope, time– Managing

2010/11/21 Nguyen Vu Hung

IT Project PM

• Planning– Requirement Analysis– Project Scope– Function List

• Implementation– Implementation

• Basic design, Detail Design, Coding, Unit Test.– Testing

• Integration, System, Regression, Acceptance, Alpha, Beta– Documentation

• Deployment and maintenance– Approved to be released– Training and Support– Maintaining

2010/11/21 Nguyen Vu Hung

Basic Life Cycle

• Planning• Implementation, Testing

– Documenting

• Deployment, maintenance

2010/11/21 Nguyen Vu Hung

Software Development Models

• Waterfall• Spiral Model• Iterative and

Incremental Development

• Agile Development Model

2010/11/21 Nguyen Vu Hung

Process Improvement Models

• CMMI (Capability Maturity Model Integration)

• ISO 9000• ISO 15504

2010/11/21 Nguyen Vu Hung

Redmine history

• Ruby on Rails framework based• Cross database (sqlite, MySQL, Postgres)• Open source (GPL version 2)

2010/11/21 Nguyen Vu Hung

Redmine Requirement

• Requirements– CentOS 5.4+– Database MySQL > 4.1– Ruby & Ruby on Rails (version == 2.2.2)– OS user to run Redmine (optional)

2010/11/21 Nguyen Vu Hung

Redmine installation (1)

#useradd redmine

#passwd redmine

#gem install rails -v=2.2.2

# cd /var/www/html/# mkdir redmine# cd redmine# wget http://rubyforge.org/frs/download.php/67144/redmine-0.8.7.tar.gz# wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz

# cd /var/www/html/# mkdir redmine# cd redmine# wget http://rubyforge.org/frs/download.php/67144/redmine-0.8.7.tar.gz# wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz# tar xvzf rubygems-1.3.5.tgz# tar xvzf redmine-0.8.7.tar.gz # cd rubygems-1.3.5

2010/11/21 Nguyen Vu Hung

Redmine installation (4)

# mysql #create database redmine character set utf8;#create user 'redmine'@'localhost' identified by 'my_password';#grant all privileges on redmine.* to 'redmine'@'localhost';## /etc/init.d/mysqld restart# cd /var/www/html/redmine/redmine-0.8.7/config# cp database.yml.example databse.yml#vi database.yml

vi database.yml

production: adapter: mysql database: redmine host: localhost username: redmine password: my_password socket: /var/lib/mysql/mysql.sock

2010/11/21 Nguyen Vu Hung

Redmine installation (5)

#cd /var/www/html/redmine/redmine-0.8.7/# rake config/initializers/session_store.rb # RAILS_ENV=production rake db:migrate # RAILS_ENV=production rake redmine:load_default_data

# su - redmine# mkdir –p tmp public/plugin_assets# sudo chown –R redmine:redmine files log tmp public/plugin_asets# sudo chmod –R 755 files log tmp public/plugin_assets

#su – redmine#cd /var/www/html/redmine/redmine-0.8.7# ruby script/server webrick –e production

=> Booting WEBrick...[2010-06-14 18:31:36] INFO WEBrick 1.3.1[2010-06-14 18:31:36] INFO ruby 1.8.5 (2006-08-25) [i386-linux][2010-06-14 18:31:36] INFO WEBrick::HTTPServer#start: pid=5132 port=3000192.168.52.16 - - [14/Jun/2010:18:35:59 ICT] "GET /my/page HTTP/1.1" 304 0http://192.168.52.123:3000/timesheet -> /my/page

2010/11/21 Nguyen Vu Hung

Webrick Web Server

Check: http://host_IP:3000Login: admin Password: admin

2010/11/21 Nguyen Vu Hung

Themes

http://www.redmine.org/wiki/redmine/Theme_Lis

2010/11/21 Nguyen Vu Hung

Plugins

2010/11/21 Nguyen Vu Hung

Plugins

http://www.redmine.org/wiki/redmine/Plugin_List

2010/11/21 Nguyen Vu Hung

Trac

• Project management (Roadmap, Milestones, etc.) • Ticket system (bug tracking, tasks, etc.) • Fine-grained permissions (since 0.11) • Timeline of all recent activity • Wiki (syntax similar to MoinMoin) • Customized reporting • VCS web interface (subversion)• RSS Feeds • Multiple project support • Environment extensibility (via Python plugins) • iCalendar export[4] • Multiple Repository Support per environment (since 0.12)

2010/11/21 Nguyen Vu Hung

Trac + ? = Redmine

• Project management (Roadmap, Milestones, etc.)

• Ticket system (bug tracking, tasks, etc.)

• Fine-grained permissions (since 0.11)

• Timeline of all recent activity • Wiki (syntax similar to MoinMoin) • Customized reporting • VCS web interface (subversion)• RSS Feeds • Multiple project support • Environment extensibility (via

Python plugins) • iCalendar export[4] • Multiple Repository Support per

environment (since 0.12)

• Multiple projects support • Flexible role based access control • Flexible issue tracking system • Gantt chart and calendar • News, documents & files management • Feeds & email notifications • Per project wiki • Per project forums • Time tracking • Custom fields for issues, time-entries,

projects and users • SCM integration (SVN, CVS, Git,

Mercurial, Bazaar and Darcs) • Issue creation via email • Multiple LDAP authentication support • User self-registration support • Multilanguage support • Multiple databases support

http://www.redmine.org/wiki/redmine/Features

2010/11/21 Nguyen Vu Hung

Mantis + = Redmine

• The Mantis importer migrates:– http://www.redmine.org/wiki/1/RedmineMigrate#Mantis

– Users – Projects – Project versions, categories and news – Project memberships – Bugs – Bug notes, files, relations and monitors – Custom fields

2010/11/21 Nguyen Vu Hung

TestLink += Redmine

• Integrate Testlink with Redmine:– http://www.teamst.org/index.php/news-mainmenu-2/13-development/10-ftr1

– Use TestLink to compose rich test plans containing an chosen set of test cases.

– Each Test Plans can collect test results for particular builds and platforms. Testing could be prioritized, assigned to testers, defined milestones.

2010/11/21 Nguyen Vu Hung

Planning (1)

• Calendar• Gantt Chart• Redmine Estimations plugin

– COCOS– Function Point

2010/11/21 Nguyen Vu Hung

Planning (Gantt Chart)

2010/11/21 Nguyen Vu Hung

Planning (Gantt Chart)

2010/11/21 Nguyen Vu Hung

Design, Implementation, Testing

2010/11/21 Nguyen Vu Hung

Deployment, Maintenance

• Use trackers and/or Categories

2010/11/21 Nguyen Vu Hung

Ticket First

2010/11/21 Nguyen Vu Hung

What is a Ticket

Ticket– Issues– Bugs– Task– Meeting– Question/Answer– Any Activities– Divide and Conqueror

• Manage all Activities in ONE place

2010/11/21 Nguyen Vu Hung

2010/11/21 Nguyen Vu Hung

2010/11/21 Nguyen Vu Hung

Multi Projects

• Internal– 31 Projects (21 Open)– 2002 Tickets– 50 Users (38 Active)

• External– 3 Projects– 192 Tickets– 15 Users

2010/11/21 Nguyen Vu Hung

Project Activities

To monitor project activities

Daily Report: Obsolete

2010/11/21 Nguyen Vu Hung

WorkTime

2010/11/21 Nguyen Vu Hung

Roadmap

The roadmap provides a highly-configurable, version-based view on the issue tracking system that helps planning and managing the development of a project.It also provides an in-depth (version-based) overview of the current state of your project.

2010/11/21 Nguyen Vu Hung

Change Log

Provides a project-level overview of all closed issues, sorted per target version. Considering the fact that this is an overview of what has changed in the specified target-versions, only closed issues which have the target-version field filled are shown in this overview.

2010/11/21 Nguyen Vu Hung

Issue Summary

2010/11/21 Nguyen Vu Hung

Issue Summary (2)

2010/11/21 Nguyen Vu Hung

Issue Summary (3)

2010/11/21 Nguyen Vu Hung

Project Settings

2010/11/21 Nguyen Vu Hung

Repository

2010/11/21 Nguyen Vu Hung

Pepository Statistics

2010/11/21 Nguyen Vu Hung

Administrator Page

2010/11/21 Nguyen Vu Hung

Project List/New

2010/11/21 Nguyen Vu Hung

User Management

2010/11/21 Nguyen Vu Hung

Roles

Non member: this role lets you define the permissions that a registered user has on projects which he is not a member of. Anonymous: this role lets you define the permissions that anonymous users have on the projects.

2010/11/21 Nguyen Vu Hung

Trackers = Type of Activities

2010/11/21 Nguyen Vu Hung

Issue Status

2010/11/21 Nguyen Vu Hung

Workflow (1)

2010/11/21 Nguyen Vu Hung

Workflow (2)

2010/11/21 Nguyen Vu Hung

Workflow (3)

2010/11/21 Nguyen Vu Hung

Custom Fields

2010/11/21 Nguyen Vu Hung

Enumerations

2010/11/21 Nguyen Vu Hung

Enumerations

2010/11/21 Nguyen Vu Hung

Issue Priorities

2010/11/21 Nguyen Vu Hung

Email notifications

2010/11/21 Nguyen Vu Hung

Wiki Syntax

http://www.redmine.org/wiki/redmine/RedmineTextFormatting

2010/11/21 Nguyen Vu Hung

Time Tracking

2010/11/21 Nguyen Vu Hung

Multi Language

2010/11/21 Nguyen Vu Hung

User Groups

• 0.9.0+• Vinicorp: 0.8.7

2010/11/21 Nguyen Vu Hung

Scrum

2010/11/21 Nguyen Vu Hung

Agile Style

• Short development, release cycle– Quickly– Dirty– Nightly

• Iteration – Small features– Small bug fixes

• Software Configurtion Management– Continuous Integration– Test Driven

2010/11/21 Nguyen Vu Hung

Kanban

2010/11/21 Nguyen Vu Hung

Chart

2010/11/21 Nguyen Vu Hung

Code Review

日本製です

2010/11/21 Nguyen Vu Hung

Google Calendar

2010/11/21 Nguyen Vu Hung

Lunch Order

2010/11/21 Nguyen Vu Hung

MTG Reservation

2010/11/21 Nguyen Vu Hung

[vnc_all:06043] Thông báo đến muộn (12/10/2010)

Đơn xin nghỉ ngày 08/10/2010

2010/11/21 Nguyen Vu Hung

Speech Management

2010/11/21 Nguyen Vu Hung

Ex: TODO List Management

Tracker = TODO List Management

Filter Calendar by the Tracker

2010/11/21 Nguyen Vu Hung

MTG Room Booking Management

Tracker = MTG Room Booking

Filter Calendar by the Tracker

2010/11/21 Nguyen Vu Hung

Thank you!

Q&A

2010/11/21 Nguyen Vu Hung

Information Management with Redmine

Nguyen Vu Hung

vuhung@vinicorp.com.vn

2010/12/21

2010/11/21 Nguyen Vu Hung

References

• PMBOK 4th Edition• http://www.visitask.com/closure-phase.asp• Redmine_guide_install.doc• Redmine Wiki http://www.redmine.org/wiki/• http://www.redmine.org• チケットファーストでアジャイル開発!~チケットに分割して統治せよ• ETWest2009 講演資料「 TestLink でアジャイルにテストする」• http://www.slideshare.net/machu/yet-another-tdd• SPES2009 経験論文~チケット駆動開発: BTS によるアジャイル開発の改善• XP 祭り関西 2010 発表資料「チケット駆動開発のプラクティス集」• チケット駆動開発の概要と体験談• http://en.wikipedia.org/wiki/Software_testing• http://www.flickr.com/photos/somerslea/145022630/#/• http://www.flickr.com/photos/orcmid/3879260297/• http://www.redmine.org/wiki/1/PluginCharts

• http://powerbacks.com/sampler_thumbs/tech/technologythumbsset2.htm

Recommended