0. ๋ค์ด๊ฐ๋ฉฐ
์๋ ํ์ธ์ใฐ ์ค๋์ ์ฝ๋๊ฐ ์๋ TIP์ ๋ค๊ณ ์์ต๋๋ค. ๋ฐ๋ก ๊นํ๋ธ(GitHub)์์ Issue๋ Pull request๋ฅผ ์์ฑํ ๋ ์ฌ์ฉํ๋ ๋ผ๋ฒจ(labels)์ ๊ดํ ๋ด์ฉ์ ๋๋ค. ์ฐ๋ฆฌ๋ ๊ฐ์ธ ํ๋ก์ ํธ๋ฅผ ํ ๋๋ ํ ํ๋ก์ ํธ๋ฅผ ํ ๋ ์ด์ ๊ตฌ๋ถ · ์ญํ ๊ตฌ๋ถ · ๋ด์ฉ ๊ตฌ๋ถ ๋ฑ์ ์ ํํ๊ฒ ์ํด์ ๋ผ๋ฒจ์ด๋ผ๋ ๊ฒ์ ์ฌ์ฉํฉ๋๋ค.
์ด๋ฆํ ์ ๋๋ก ์๊ฐํ๋ฉด ํธํ๊ฒ ์ฃ ? ํนํ๋ ํ ๊ฐ๋ฐ์ ํ ๋์๋ ๋์ฑ ์ ์ฉํ๊ฒ ์ฌ์ฉ์ด ๋์ฃ . ์ด๊ฒ์ด ์ด๋ค ๊ฒ์ ๊ตฌํํ๊ฑด์ง ๋๊ฐ ๊ตฌํํ๊ฑด์ง ํ ๋ฒ์ ์์๋ณผ ์ ์๋ ์ฉ๋๋ก๋ ์ฌ์ฉ์ด ๋ฉ๋๋ค. ํ์์ ์ฐ๋ฆฌ๋ ์ด๋ฌํ ๋ผ๋ฒจ์ ํ์์ ๋ง๊ฒ ์์ ํ๊ณ ์ถ๊ฐํ๊ณ ํ๋๋ฐ์.
๋งค๋ฒ ์๋กญ๊ฒ ๋ผ๋ฒจ์ ์ค์ ํ๋ ๊ฒ๋ ์ด์ ๋ ์ง๊ฒน๊ณ ํ์ด ๋ญ๋๋ค... ์ด๋ฌํ ๋ถํธํจ์ ์กฐ๊ธ์ ํด์ํ๊ณ ์ ์ค๋์ ํ์ ๋ค๊ณ ์์ต๋๋ค. label์ ์ง์ ํด ๋ ํ์์ผ๋ก ํ ๋ฒ์ ์ ๋ฐ์ดํธ ํ๋ ๋ฐฉ๋ฒ์ ํน์ ์๊ณ ๊ณ์ จ๋์?
๐์ค๋์ ๊นํ๋ธ ๋ผ๋ฒจ(label)์ ํ ๋ฒ์ ์ ๋ฐ์ดํธ ํ๋ ๋ฐฉ๋ฒ์ ์์๋ณด๋ ค๊ณ ํฉ๋๋ค.
๊ทธ ๋์ label์ ์์์ ์ผ๋ก ํ๋์ฉ ์์ฑํ์ จ๋ค๋ฉด ๊ทธ ์๊ณ ๋ฅผ ์กฐ๊ธ์ ๋ ์ ์๋ ์๊ฐ์ด ๋์ง ์์๊น ์ถ๋ค์.
1. ์คํฌ๋ฆฐ์ท
๊ฒฐ๊ณผ ํ๋ฉด์ ์ด๋ ๊ฒ ๋ง๋ค์ด๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.
2. ์งํ๊ณผ์
STEP 1. ์ค๋น๋ฌผ์ ์ค๋นํด์ฃผ์ธ์.
์ฐ๋ฆฌ๊ฐ ์ค๋นํ ์ค๋น๋ฌผ์ 2๊ฐ์ง์ ๋๋ค.
โ labels.json ํ์ผ
โ ๊นํ๋ธ personal access token
1. labels.json ํ์ผ ์ค๋นํ๊ธฐ
์๋ labels.json ํ์ผ์ labels.json ํ์ผ๋ก ์ ์ฅํด์ฃผ๊ณ , ์ฐ๋ฆฌ์ Desktop(๋ฐ์คํฌํ) ๋๋ ํฐ๋ฆฌ๋ก ์ฎ๊ฒจ์ค๋๋ค. (๊ฒฝ๋ก ๊ฐ์ ๊ฒฝ์ฐ๋ ์๋ฌด๋ฐ๋ ์๊ด์์ง๋ง ํธ์์ Desktop ๋๋ ํฐ๋ฆฌ๋ก ์งํํ๊ฒ ์ต๋๋ค.)
[
{
"name": "Assignee1",
"color": "d5ecc2",
"description": "๋ด๋น์1"
},
{
"name": "Assignee2",
"color": "ffd3b4",
"description": "๋ด๋น์2"
},
{
"name": "Assignee3",
"color": "dbe6fd",
"description": "๋ด๋น์3"
},
{
"name": "bug",
"color": "ee0701",
"description": "๋ฒ๊ทธ์
๋๋ค."
},
{
"name": "chore",
"color": "8c001a",
"description": "์ธํ
๊ด๋ จ์
๋๋ค."
},
{
"name": "cleanup",
"color": "fef2c0",
"description": "์ฝ๋๋ฅผ ๋ ๊น๋ํ๊ฒ ๋ง๋ค๊ธฐ๋ง ํ๊ณ , ์ฝ๋ ์๋ ๋ฐฉ์์ด๋ ์ถ๋ ฅ์ ๋ํ ๋ถ๋ถ์ ๋ณ๊ฒฝํ์ง ์์ต๋๋ค."
},
{
"name": "docs",
"color": "d4c5f9",
"description": "๋ฌธ์๋ง ๋ณ๊ฒฝ๋ฉ๋๋ค."
},
{
"name": "feat",
"color": "84b6eb",
"description": "๊ตฌํ·๊ฐ์ ์ฌํญ์ ๊ด๋ จ๋ ๋ด์ฉ์
๋๋ค."
},
{
"name": "fix",
"color": "de5b7b",
"description": "๋ฒ๊ทธ๋ฅผ ์์ ํฉ๋๋ค."
},
{
"name": "help wanted",
"color": "0e8a16",
"description": "๋๊ตฌ๋ ์ฒ๋ฆฌํ ์ ์๋ ์ด์๋ฅผ ๋ํ๋
๋๋ค."
},
{
"name": "question",
"color": "cc317c",
"description": "์ง๋ฌธ๋ง ์๋ ์ด์, ์ง๋ฌธ์ด ํด๊ฒฐ๋๋ฉด ์ด์๋ฅผ ์ข
๋ฃํฉ๋๋ค."
},
{
"name": "refactoring",
"color": "fbca04",
"description": "์ฝ๋๊ฐ ๋ด๋ถ์ ์ผ๋ก ์๋ํ๋ ๋ฐฉ์์ ๋ณ๊ฒฝํฉ๋๋ค. cleanup๊ณผ๋ ๋ค๋ฆ
๋๋ค."
},
{
"name": "test",
"color": "bfe5bf",
"description": "ํ
์คํธ ์ฝ๋๋ง ๋ณ๊ฒฝ๋ฉ๋๋ค."
}
]
2. personal access token ์ค๋นํ๊ธฐ
๋ค์ ๋งํฌ(GitHub/Settings/Developer settings)๋ก ์ ์ํด์ฃผ์ธ์.
๋ฐ๋ก๊ฐ๊ธฐ ๋งํฌ : https://github.com/settings/apps
GitHub: Where the world builds software
GitHub is where over 65 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...
github.com
Personal access tokens ๋ฒํผ์ ํด๋ฆญํด์ฃผ์ธ์.
Generate new token๋ฅผ ํด๋ฆญํด์ฃผ์ธ์.
- Note : ๋ชฉ์ ์ ๋ง๊ฒ ์ด๋ฆ์ ์ ์ด์ฃผ์ธ์. (์๋ฌด๊ฑฐ๋ ์ ์ด๋ ๋ฉ๋๋ค.)
- repo ์นดํ ๊ณ ๋ฆฌ๋ฅผ โ ์ฒดํฌ๋ฐ์ค On ํด์ฃผ์ธ์!
token ์ ๋ฐ๊ธ๋ฐ์๋ค๋ฉด copyํด์ ์ ๊ฐ์ง๊ณ ์์ด์ฃผ์ธ์. (๊ณง ์ฌ์ฉํ ์์ ์ ๋๋ค.)
STEP 2. labels.json ์ ์ฉํ๊ธฐ
์์์ ์ค๋น๋ฌผ 2๊ฐ์ง(json, token)๋ฅผ ์ ์ค๋นํ๋ค๋ฉด ์ด์ ์ฐ๋ฆฌ๋ ์ฌ์ฉํ๊ธฐ๋ง ํ๋ฉด ๋ฉ๋๋ค.
1๏ธโฃ ๋จผ์ , desktop(๋ฐ์คํฌํ) ๋๋ ํฐ๋ฆฌ๋ก ์ด๋ํด์ฃผ์ธ์. ๊ฑฐ๊ธฐ์ json์ ๋ค์ด๋ฐ์์ผ๋๊น์!
cd desktop
2๏ธโฃ ์๋ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํด์ ๋ผ๋ฒจ์ ์ ๋ฐ์ดํธ ํฉ๋๋ค. (token์ด๋ repository ์ด๋ฆ์ ์ ํํ ์ ๋ ฅํด์ฃผ์ธ์!!)
npx github-label-sync --access-token {๋ณธ์ธ์ token} --labels ./labels.json {๋ผ๋ฒจ์ ์
๋ฐ์ดํธํ๊ณ ์ถ์ ๋ณธ์ธ์ ๋ ํฌ์งํฐ๋ฆฌ}
npx github-label-sync --access-token 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 --labels ./labels.json 29th-WE-SOPT-iOS-Part/KimTaeHyeon
3. ๊ฒฐ๊ณผํ๋ฉด
์ง๊ธ์ ์ด๋ฏธ ๋ง๋ค์ด์ง ๊ธฐ๋ณธ ํ์ ์ฌ์ฉํด์ ์ด๋ฐ์์ผ๋ก ๋์ค์ง๋ง, ๋ณธ์ธ์ด ์์ฃผ ์ฌ์ฉํ๋ ๋ผ๋ฒจ(์ด๋ฆ, ์์, ์ค๋ช )์ ๋ฏธ๋ฆฌ ๋ง๋ค์ด๋์ผ๋ฉด ํธํ๊ฒ ์ฃ ? ์ธํ ์ ๋ฐ๊พธ๊ณ ์ถ์ผ๋ฉด ์์์ ๋ค์ด๋ฐ์๋ json์ ์์ ํด์ ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค.
์์ ์ฝ๋ ์ฐธ๊ณ ํ ์ ์๋ ํ์ด์ง๋ ์ฒจ๋ถํ ๊ฒ์.
Color Palettes for Designers and Artists - Color Hunt
Color Palettes for Designers and Artists - Color Hunt
Discover the newest hand-picked color palettes of Color Hunt. Get color inspiration for your design and art projects.
colorhunt.co
4. ๋ง๋ฌด๋ฆฌ
๋์์ด ์กฐ๊ธ ๋์ จ์๊น์? ๋ฐ๋ณต๋๋ ์์ ์ ์ค์ด๋ ๊ฒ์ด ๊ฐ๋ฐ์์ ์๋ฌด๋ผ๋ฉด ์ฐ๋ฆฌ๋ ์ค๋ ๊ทธ ์๋ฌด๋ฅผ ํ๋ ๋ฌ์ฑํ๋ค์ .. ใ ใ ๋ ํฌ๋ง๋ค, ํ๋ก์ ํธ๋ง๋ค ๋งค๋ฒ ์๋กญ๊ฒ ๋ผ๋ฒจ์ ๋ง๋ค๊ธฐ ๊ท์ฐฎ๋ค๋ฉด ์์ ๋ฐฉ๋ฒ์ ์ฌ์ฉํ์ธ์.. ์ด์ ๋ผ๋ฒจ ์ธํ ํ๊ธฐ ํธ์ด์์ต๋๋ค๐ฅ
'๐ Tip' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Git] CLI๋ก .gitignore ์์ฑํ๊ธฐ (0) | 2023.10.27 |
---|---|
[TIP] ์ฌ๋์ ๊นํ๋ธ ๋ด ์ฐ๋ํ๊ธฐ (2) | 2021.09.20 |
[Github] ์ปค๋ฐ ํ ํ๋ฆฟ ์ ์ฉํ๊ธฐ (3) | 2021.03.09 |