Skip to content

개발환경

Jonghyon Seo edited this page Mar 20, 2019 · 2 revisions

intellij 사용 플러그인 목록

  • Lombok Plugin
  • CheckStyle-IDEA

컨벤션

indent

  • tab

들여쓰기

import statements

  • import java.*
  • import javax.*
  • blank line
  • import all other imports
  • blank line
  • import org.springframework.*
  • blank line
  • import static all other imports

새탭에서 이미지 확인! imports

force braces

  • if() statement
  • for() statement
  • while() statement
  • do ... while() statement

새탭에서 이미지 확인! 괄호

브랜치 전략

브랜치 목록

  • master branch
  • feature branch
  • hotfix branch

master branch

  • 각 기능이 완성된 버전
  • 네임 컨벤션 없음

feature branch

  • 각 기능을 구현하는 버전
  • 네임 컨벤션 - feature-v${version}-${name}
  • 띄어쓰기 대신에 '-' 사용
  • 버전은 현재 있는 feature 버전 중 가장 높은 버전 + 0.0.1 / 10이 증가할 때마다 0.1.0 처럼 앞에 버전을 증가
  • e.g.) feature-v0.1.3-user-login

hotfix branch

  • 버그 픽스 브랜치
  • feature 브랜치와 동일한 컨벤션

머지 전략 개발 완료 - pr 리뷰 - rebase - merge

pr 전략

  • 해당 팀 인원의 반 이상이 승인할 때만 merge
  • 단, 팀장 판단 하에 승인 인원이 반 미만이여도 가능 e.g.) 긴급한 버그 픽스
Clone this wiki locally