<VirtualHost *>
ServerAdmin xblueb@gmail.com
ServerName trac.blueb.net
ServerAlias trac.blueb.net
DocumentRoot /var/lib/trac/
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracUriRoot ""
AuthType Basic
AuthName "Trac"
AuthUserFile /var/lib/trac/.htpasswd
#AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
<Location /trac.cgi>
SetEnv TRAC_ENV "/var/lib/trac"
# SetEnv TRAC_ENV_PARENT_DIR "/var/lib/trac"
</Location>
<Directory /var/lib/trac/>
Options FollowSymLinks MultiViews
AllowOverride FileInfo
Order allow,deny
allow from all
</Directory>
<Location /dev> #set up Trac handling
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
#PythonOption TracEnvParentDir /var/lib/trac // 주석처리 후 아래 라인을 추가
PythonOption TracEnv /var/lib/trac/dev
PythonOption TracUriRoot /dev
SetEnv PYTHON_EGG_CACHE /tmp/trac-eggs
</Location>
<Location /svn/dev>
DAV svn
SVNPath /var/lib/svn/dev
AddDefaultCharset utf-8
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /var/lib/trac/.htpasswd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
ErrorLog /var/log/apache2/trac.blueb.net.error.log
CustomLog /var/log/apache2/trac.blueb.net.access.log combined
</VirtualHost>
'웹프로그래밍™/Trac, SVN, Eclipse'에 해당되는 글 17건
- 2008/05/09 Trac VirtuaHost Apache 설정
- 2008/01/18 Trac Command List
- 2008/01/15 Trac에 추가설치된 plugin 반영
- 2008/01/08 TortoiseSVN
- 2008/01/08 Eclipse PHP Development Tools = PDT Project
- 2008/01/08 Eclipse 설치에 필요한 플러그인
- 2008/01/06 Trac XmlRpc plugin 설치 방법
- 2008/01/04 Bug Tracking System에서 알아두어야 할 용어
- 2008/01/04 Trac AccountManagerPlugin 설치 및 설정
- 2008/01/03 우분투 Trac webadmin 설치 및 Trac login 설정법
- 2008/01/03 우분투 Trac Project 추가 방법
- 2006/08/18 TRAC 프로젝트 생성 및 [슈퍼]유저 등록
- 2006/08/18 Subversion 사용법
- 2006/08/18 [KLDP] Trac 설치 가이드
- 2006/05/30 Trac 설치
Usage: trac-admin </path/to/projenv> [command [subcommand] [option ...]]
Invoking trac-admin without command starts interactive mode.
about
-- Shows information about trac-admin
help
-- Show documentation
initenv
-- Create and initialize a new environment interactively
initenv <projectname> <db> <repostype> <repospath> <templatepath>
-- Create and initialize a new environment from arguments
hotcopy <backupdir>
-- Make a hot backup copy of an environment
resync
-- Re-synchronize trac with the repository
-- Subversion 저장소를 다시 연결 설정한다.
resync <rev>
-- Re-synchronize only the given <rev>
-- Subversion 저장소를 변경한다.
upgrade
-- Upgrade database to current version
wiki list
-- List wiki pages
wiki remove <name>
-- Remove wiki page
wiki export <page> [file]
-- Export wiki page to file or stdout
wiki import <page> [file]
-- Import wiki page from file or stdin
wiki dump <directory>
-- Export all wiki pages to files named by title
wiki load <directory>
-- Import all wiki pages from directory
wiki upgrade
-- Upgrade default wiki pages to current version
permission list [user]
-- List permission rules
permission add <user> <action> [action] [...]
-- Add a new permission rule
permission remove <user> <action> [action] [...]
-- Remove permission rule
component list
-- Show available components
component add <name> <owner>
-- Add a new component
component rename <name> <newname>
-- Rename a component
component remove <name>
-- Remove/uninstall component
component chown <name> <owner>
-- Change component ownership
ticket remove <number>
-- Remove ticket
ticket_type list
-- Show possible ticket types
ticket_type add <value>
-- Add a ticket type
ticket_type change <value> <newvalue>
-- Change a ticket type
ticket_type remove <value>
-- Remove a ticket type
ticket_type order <value> up|down
-- Move a ticket type up or down in the list
priority list
-- Show possible ticket priorities
priority add <value>
-- Add a priority value option
priority change <value> <newvalue>
-- Change a priority value
priority remove <value>
-- Remove priority value
priority order <value> up|down
-- Move a priority value up or down in the list
severity list
-- Show possible ticket severities
severity add <value>
-- Add a severity value option
severity change <value> <newvalue>
-- Change a severity value
severity remove <value>
-- Remove severity value
severity order <value> up|down
-- Move a severity value up or down in the list
version list
-- Show versions
version add <name> [time]
-- Add version
version rename <name> <newname>
-- Rename version
version time <name> <time>
-- Set version date (Format: "YYYY-MM-DD" or "now")
version remove <name>
-- Remove version
milestone list
-- Show milestones
milestone add <name> [due]
-- Add milestone
milestone rename <name> <newname>
-- Rename milestone
milestone due <name> <due>
-- Set milestone due date (Format: "YYYY-MM-DD" or "now")
milestone completed <name> <completed>
-- Set milestone completed date (Format: "YYYY-MM-DD" or "now")
milestone remove <name>
-- Remove milestone
TRACKBACK :: http://blueb.net/blog/trackback/1062
아래와 같이 upgrade 명령어을 실행해야 한다.
# trac-admin /var/lib/trac/[project] upgrade
TRACKBACK :: http://blueb.net/blog/trackback/1057
TortoiseSVN 1.4.7
http://tortoisesvn.tigris.org/
Features of TortoiseSVN/Subversion
- Easy to use
- all commands are available directly from the windows explorer.
- 모든 명령은 widows explorer 에서 쉽게 사용할수 있다
- only commands that make sense for the selected file/folder are shown. You won't see any commands that you can't use in your situation.
- See the status of your files directly in the Windows explorer
- descriptive dialogs, constantly improved due to user feedback
- allows moving files by right-dragging them in the windows explorer
- All Subversion protocols are supported
- http://
- https://
- svn://
- svn+ssh://
- file:///
- svn+XXX://
- Powerful commit dialog
- integrated spell checker for log messages
- auto completion of paths and keywords of the modified files
- text formatting with special chars
- The big picture
- Can create a graph of all revisions/commits. You can then easily see where you created a tag/branch or modified a file/folder
- Graphs of commit statistics of the project
- Easy comparing of two branches or tags
- Per project settings
- minimum log message length to avoid accidentally committing with an empty log message
- language to use for the spell checker
- Integration with issue tracking systems
TortoiseSVN provides a flexible mechanism to integrate any web based bug tracking system.
- A separate input box to enter the issue number assigned to the commit, or coloring of the issue number directly in the log message itself
- When showing all log messages, an extra column is added with the issue number. You can immediately see to which issue the commit belongs to.
- Issue numbers are converted into links which open the webbrowser directly on the corresponding issue
- Optional warning if a commit isn't assigned to an issue number
- Helpful Tools
- TortoiseMerge
- Shows changes you made to your files
- Helps resolving conflicts
- Can apply patchfiles you got from users without commit access to your repository
- TortoiseBlame: to show blames of files. Shows also log messages for each line in a file.
- TortoiseIDiff: to see the changes you made to your image files
- SubWCRev: to include the revision numbers/dates/... into your source files
- TortoiseMerge
- Available in many languages
- TortoiseSVN is stable
- Before every release, we create one or more 'release candidates' for adventurous people to test first.
- During development cycles, many people test intermediate builds. These are built every night automatically and made available to all our users. This helps finding bugs very early so they won't even get into an official release.
- A big user community helps out with testing each build before we release it.
- A custom crash report tool is included in every TortoiseSVN release which helps us fix the bugs much faster, even if you can't remember exactly what you did to trigger it.
- Support
- Extensive and descriptive documentation is available in several formats and languages
- A big list of frequently asked questions and problems with all the answers is also available
- For your specific problems, we have a mailing list where many users can help you. Usually you get an answer for your problem within a few hours.
TRACKBACK :: http://blueb.net/blog/trackback/1042
http://www.eclipse.org/pdt/
PHPeclipse 를 조금 써보다가 구문강조가 맘에 안들어 PDT로 바꿔보니 PHPeclipse 보다는 좀 나은듯..
하지면 역시 editplus보다는 못하다는
물론 사용자가 직접 변경도 가능하지만 이상하게 내 PC에 설치된 eclipse는 뭔가 이상하다..
패널에서 설정 항목들이 모두 보이지 않는다.. ㅠ.ㅠ
그리고 또 프로젝트 생성 패널에서도 역시나...
뭐가 문제인지 64bit 라서 그런간가?? ㅠ.ㅠ
TRACKBACK :: http://blueb.net/blog/trackback/1041
-
PDT(Eclipse)로 PHP 작성하기 Vol.1 설치에서 설정까지
: BENEGLO BLOG 2008/04/12 00:32
PHP를 프로그래밍하시는 대부분의 프로그래머는 메모장이나 울트라에디트, 아크로에디트와 같은 텍스트 편집기를 사용할 것입니다. 간혹 사용 IDE 도구인 Zend Studio를 사용하시는 분들도 있겠지요. 하지만 Zend의 제품들은 대부분이 많은 돈을 지불해야 하는 상용 소프트웨어이므로 일반인들이 사용하기에는 부담이 따릅니다. 그래서 요즘은 오픈소스 소프트웨어를 자주 이용하게 됩니다. 오픈소스 Office인 OpenOffice.org까지 생겨났으니 점...
http://www.eclipse.org/downloads/
[JDK]
http://java.sun.com/javase/downloads/index.jsp
[Eclipse Plug-in List]
[AnyEditTools]
http://andrei.gmxhome.de/eclipse/
[Subversive] - Subversion 관리 툴
http://www.polarion.org/projects/subversive/download/update-site/
[PHPeclipse] - PHP coding 툴
http://phpeclipse.sourceforge.net/update/releases
[RSE] - Remote System 툴 (원격 FTP)
http://www.eclipse.org/downloads/download.php?file=/dsdp/tm/downloads/drops/R-2.0.2-200711131300/RSE-SDK-2.0.2.zip
[Mylyn]
http://download.eclipse.org/tools/mylyn/update/e3.3
[Aptana] - Javascript coding 툴
http://update.aptana.com/install/3.2/
TRACKBACK :: http://blueb.net/blog/trackback/1035
XmlRpc plugin
root@devserver:~# easy_install http://trac-hacks.org/svn/xmlrpcplugin/0.10/trac.ini 파일에 아래 코드 추가
Downloading http://trac-hacks.org/svn/xmlrpcplugin/0.10/
Doing subversion checkout from http://trac-hacks.org/svn/xmlrpcplugin/0.10/ to /tmp/easy_install-qmqCpp/0.10
Processing 0.10
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-qmqCpp/0.10/egg-dist-tmp-uUDNXR
Adding TracXMLRPC 0.1 to easy-install.pth file
Installed /usr/lib/python2.5/site-packages/TracXMLRPC-0.1-py2.5.egg
Processing dependencies for TracXMLRPC==0.1
Finished processing dependencies for TracXMLRPC==0.1
root@devserver:~#
[components]
tracrpc.* = enabled
TRACKBACK :: http://blueb.net/blog/trackback/1036
출처 : http://blog.naver.com/eddykim72?Redirect=Log&logNo=40040460022
버그 관리의 중요성
팀 단위로 개발을 할 경우 서로가 서로의 버그를 발견하는 경우가 있는데, 많은 경우 구두로 이러한 과정이 이루어진다. 간단하면서도 심각한 버그라면 발견시 바로 해결하기도 하지만, 많은 버그들이 뒤로 미루거나 다른일과 겹치거나 하면서 잊혀져 버진다. 그 결과 버그가 계속적으로 누적되고, 발생했던 버그가 또 다시 발생하고 이 버그가 해결했던 버그인지 아닌지도 헷갈리고 해결해야 되는건지 아닌건지도 헷갈리는 최악의 상황에 도달하게 된다. 때에 따라서는 소모적인 책임공방도 벌어지게 된다.
메일로 발견된 버그를 보고하면 그나마 좀 낳긴 하지만 임시방편일 뿐이라는 건 사용해본 사람은 안다.
결국 프로젝트는 이런저런 자잘한 버그들 때문에 문제가 계속되고 어찌어찌해서 급하게 출시를 하더라도 완성도가 떨어지는 제품을 고객에게 내놓게 된다.
버그 관리
버그를 관리하고 감시하기 위해서는 버그에 대해서 심각도와 우선순위등을 할당하게 된다. 그래서 아래의 용어에 대해서 명확히 이해를 하고 있어야 버그관리가 제대로 이루어질 수 있을 것이다.
버그 심각도 (Severity)
Blocker :개발 혹은 테스트 작업을 진행할 수 없게 만듦
Critical : 프로그램이 깨지거나, 데이터 손상 및 메무리 누수가 발생함
Major : 기능상 중요한 결정이 발견됨
Normal : 일반적인 문제로 반드시 고쳐야할 버그
Minor : 기능상 그리 중요하지 않은 결점 혹은 쉽게 해결할 수 있는 문제
Trivial : 오탈자, 텟스트 정렬 문제와 같은 외형적인 문제
Enhancement : 기능 및 성능 개선 관련 사항
버그 처리 우선순위 (Priority)
즉시 (P1) : Prevents work from getting done, causes data loss, or BFI("Bad First Impression") 가장 먼저 처리해야함
긴급 (P2) : Workaround required to get stuff done.
보통 (P3) : Like P2, but rarely encountered in normal usage.
낮음 (P4) : Developer concern only, API stability ro cleanliness issue.
없음 (P5) : Nice to fix, but in a pinch we could live with it. 가장 나중에 처리해도 됨
버그 상태 정보
UNCONFIRMED (승인되지 않음)
: 최근에 테이터베이스에 등록된 버그로, 아무도 이 버그에 대해서 확인을 해보지 않았다. 즉 아직 버그인지 아닌지도
검증이 되지 않은 상태다. 등록된 버그를 Confirm할 수 있는 사용자는 이 버그를 승인할 수 있으며, NEW(새로운 버그)로 하거나
해결될 경우 RESOLVED등의 상태로 변경이 가능하다.
NEW (신규 버그)
: 이 버그는 최근에 버그를 할당받은 담당자에 의해서 버그로 인정되었으며, 이에 대한 처리가 이루어져야 한다.
이 상태의 버그는 수락(accept)될 수 있으며, 필요한 경우 다른 사람에게 전달될 수(ASSIGNED)있다.
만약 다음 단계로 더 이상 진행이 안된다면 계속 NEW상태로 남아 있을 것이고, 문제가 해결된다면 RESOLVED 상태로
전이될 수 있을 것이다.
ASSIGNED ( 할당됨 )
: 이 버그는 아직 해결되지 않았지만, 버그를 처리할수 있는 적합한 사람에게 할당되어져 있음을 의미한다.
REOPENED (다시 오픈됨)
: 이전에 해결(CLOSED)되었던 버그라고 하더라도 다시 재현될 수 있고, 혹은 담당자가 봤을 때 버그처리가 명확하게 되어있지
않음을 인지할 수도 있을 것이다. 이 경우 REOPENED 상태가 될수 있을 것이다. 이 상태의 버그들은 ASSIGNED
혹은 RESOLVED 상태로 전이될 수 있다.
RESOLVED (처리됨)
: 처리가 되었으며, 품질보증(QA) 담당자의 검증을 기다린다. 이 상태의 버그들은 REOPENED, VERIFIED 상태로
혹은 CLOSED 상태로 전이될 수 있다.
VERIFIED (검증됨)
: QA 담당자가 버그와 처리결과를 보고 적절하게 처리가 완료되었는지를 검증하게 된다.
CLOSED (닫힘)
: 버그가 완전히 사라졌다고 간주되는 상태다. 그러나 불행히도 다시 살아나는 경우가 발생할 수 있는데,
이때는 REOPENED 상태가 되어야 한다.

버그 처리 결과
버그에 어떤 일이 발생했는지 나타낸다.
FIXED (해결됨)
: 테스트가 완료되었으며 버그 트리에 해결되었다고 표시된다.
INVALID (버그아님)
: 기술된 문제는 버그가 아니었음.
WONTFIX (해결불가)
: 기술된 문제는 해결될 수 없는 버그이다.
LATER (나중에)
: 기술된 문제는 본 제품에서는 수정될 수 없다. 차후 제품에 수정이 가능할 수 있다.
REMIND (기억할 것)
: 기술된 문제는 본 제품의 현재 버전에서는 수정할 수 없는 버그이지만, 앞으로 계속 영향을 끼칠 것으로 예상된다.
DUPLICATE (중복됨)
: 기술된 문제는 기존의 버그와 중복되었다.(혹은 유사 버그가 이미 존재함) 버그를 중복되었다고 표시하기 위해서는
기존의 버그 번호를 필요로 한다.
WORKSFORME (파악할 수 없음)
: 버그를 재현해 보려고 많은 노력을 기울였지만 실패했으며, 생성된 코드를 분석해봐도 왜 보고된 문제가 발생했는지를 파악할 수
없는 상태이다. 이 문제를 해결하기 위해서는 추가적인 정보가 필요하고, 그럴경우 이 버그는 다시 할당될 수 있다. 혹은 문제를
파악할 수 있을 만한 다른 개발자에게 할당할 수 있을 것이다.
출처 : http://blog.naver.com/eddykim72?Redirect=Log&logNo=40040460022
