OpenMRS에 기여하기
이 페이지에서는 OpenMRS 조직의 저장소에 변경 사항을 제출하는 방법을 설명합니다.
준비
- OpenMRS Atlassian 계정이 없다면 먼저 계정을 만듭니다. OpenMRS JIRA에서 필요한 기능의 티켓을 찾거나 새 티켓을 만듭니다: https://issues.openmrs.org 티켓 상태가 "Ready for Work"가 되면 이슈를 담당자로 지정합니다.
변경 사항 제출
- 아직 fork하지 않았다면 OpenMRS 조직의 해당 저장소를 본인의 GitHub 계정으로 fork합니다(help.github.com 참고). 터미널 창을 열고 새 개발 브랜치를 만드는 명령을 입력합니다. 변경 사항을 Git에 commit하고 GitHub 계정으로 push합니다. 작업이 끝났다고 판단하면 다른 Bahmni 개발자에게 code review를 요청합니다. OpenMRS 조직의 해당 저장소에 올바른 branch 이름으로 pull request를 생성합니다(help.github.com 참고). OpenMRS JIRA 카드의 상태를 변경하고 생성한 pull request 링크를 댓글로 추가합니다. OpenMRS 커뮤니티의 피드백을 기다립니다.
# Store the repository and ticket to be worked on in variables
OPENMRS_REPO_NAME="" # e.g. "openmrs-core"
OPENMRS_TICKET_ID="" # e.g. "TRUNK-4445"
GITHUB_ACCOUNT="" # e.g. "jdoe"
# Checkout the repository
git clone https://github.com/$GITHUB_ACCOUNT/$OPENMRS_REPO_NAME
cd $OPENMRS_REPO_NAME
# Add the connection to the OpenMRS repository
git remote add upstream https://github.com/openmrs/$OPENMRS_REPO_NAME
# Update your master branch
git pull upstream master
# Checkout a new development branch
git checkout -b $OPENMRS_TICKET_ID# Review your changes and then submit them
git status
git add .
git commit # see example commit message: https://github.com/openmrs/openmrs-core/commit/9fd5bafcd8ea4d807a5c5038de53b322828f2317
# Push your branch to GitHub
git push origin $OPENMRS_TICKET_ID추가 정보
OpenMRS
- https://wiki.openmrs.org/display/docs/Pull+Request+Tips https://issues.openmrs.org
원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0