Skip to content
@seoultech-HAILAB

Human-centered Artificial Intelligence Lab

Welcome to HAILAB GITHUB! πŸ‘‹

more information : https://hai.seoultech.ac.kr/

HAILAB Coding Rule κ·œμΉ™

  • λ‹€μŒ Coding Rule ν•˜μœ„ λ‚΄μš©μ„ 각 ν”„λ‘œμ νŠΈ(Repository) λ§ˆλ‹€ λ³΅μ‚¬ν•˜μ—¬ μž‘μ—…ν•΄μ£Όμ„Έμš”.
  • λ³Έ Coding Rule은 각 ν”„λ‘œμ νŠΈ 사정에 맞게 μˆ˜μ •ν•˜μ—¬ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

문의 : DY-76

Coding Rule

μ œμ • 23.2 | κ°œμ • 23.4 | κ°œμ • 23.8

  • μž‘μ—…, μœ μ§€λ³΄μˆ˜μ˜ νŽΈμ˜μ„± 증진과 효율적이고 κ°•κ±΄ν•œ μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œμ„ μœ„ν•΄ Coding Rule을 μ œμ •ν•œλ‹€.

Naming

  • Class = PascalCase
  • variable, function, method = camelCase
  • constant variable = UPPER_CASE
  • filename, folder = kebab-case

Modulization

개발 방법둠

Branch Naming

  • master(main, origin etc...)
    • master branchλŠ” Repository μƒμ„±μ‹œ μžλ™μœΌλ‘œ μƒμ„±λœλ‹€.
    • 일반적으둜 μ™„μ„±λœ μ΅œμ‹  μž‘μ—…λ¬Όμ„ mergeν•˜λŠ” 곳으둜 μ‚¬μš©ν•œλ‹€.
    • feature branchμ—μ„œ PR을 λ°›μ•„ μ±…μž„ ν˜Ήμ€ λ‹΄λ‹Ή κ°œλ°œμžκ°€ κ²€ν†  ν›„ mergeν•œλ‹€.
  • develop
    • develop branchλŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ˜ κ°œλ°œμ„ 진행할 λ•Œ μ‚¬μš©ν•œλ‹€.
    • 일반적으둜 develop/λ‹΄λ‹Ήμžμ‹λ³„-λͺ©ν‘œVersion ν˜•μ‹μ„ μΆ”μ²œν•œλ‹€. ex) develop/LDY-1.2 λ“±
    • μž‘μ—…μ΄ μ™„λ£Œλœ 경우, master branch둜 PR을 보내고 μ •μƒμ μœΌλ‘œ merge된 경우 μ œκ±°ν•œλ‹€.
  • feature
    • feature branchλŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ˜ κΈ°λŠ₯을 μ œμž‘ν•  λ•Œ μ‚¬μš©ν•œλ‹€.
    • 일반적으둜 feature/κΈ°λŠ₯이름 ν˜•μ‹μ„ μΆ”μ²œν•œλ‹€. ex) feature/login λ“±
    • μž‘μ—…μ΄ μ™„λ£Œλœ 경우, develop branch둜 PR을 보내고 μ •μƒμ μœΌλ‘œ merge된 경우 μ œκ±°ν•œλ‹€.
  • release
    • release branchλŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ„ 배포할 λ•Œ μ‚¬μš©ν•œλ‹€.
    • 일반적으둜 release/Version ν˜•μ‹μ„ μΆ”μ²œν•œλ‹€. ex) release/1.2 λ“±
    • νŠΉμ • μ‹œμ μ˜ μž‘μ—…μ΄ μ™„λ£Œλœ Master branchμ—μ„œ λ°°ν¬ν•˜κ³ μž ν•˜μ˜€μ„ λ•Œ release branchλ₯Ό μƒμ„±ν•˜κ³  더이상 μž‘μ—…ν•˜μ§€ μ•ŠλŠ”λ‹€(기둝용 branch).
  • hotfix
    • hotfix branchλŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ˜ 였λ₯˜λ₯Ό μˆ˜μ •ν•  λ•Œ μ‚¬μš©ν•œλ‹€.
    • 일반적으둜 hotfix/Version.num ν˜•μ‹μ„ μΆ”μ²œν•œλ‹€. ex) hotfix/1.2.2 λ“±
    • μž‘μ—…μ΄ μ™„λ£Œλœ 경우, master branch, feature branch둜 PR을 보낸닀.

Popular repositories Loading

  1. .github .github Public

  2. Multimodal-learning-performance-using-both-VR-derived-and-MRI-biomarkers Multimodal-learning-performance-using-both-VR-derived-and-MRI-biomarkers Public

    Python

  3. AItutor AItutor Public

    Dart

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…