일반

사용자정보

초기화면

파이브웍스 레드마인입니다.

파이브웍스

홈페이지 바로가기

FiveWorks specializes in providing artificial intelligence and big data solutions and system integration businesses based on five visions called LABSS.

Redmine

Redmine 프로젝트 생성

  1. 프로젝트 생성

  2. 내용 기입

이슈트래킹

  1. 각 프로젝트 > Settings > Integrations > Redmine 선택

  2. 내용 입력

    Redmine service | GitLab

Redmine에 레파지토리 연결

  1. redmine docker container 안에서 깃 프로젝트 미러링
# 레드마인 도커 컨테이너로 진입
docker exec -it $(docker ps --filter name="redmine/*" -q) /bin/bash

# 프로젝트 모아둔 경로로 이동
cd repositories

apt-get update
apt-get install -y vim
apt-get install -y cron
apt-get install -y systemd

# credentials 등록 
# 리모트에 유저네임, 비밀번호 적어주는 것으로 대체
# git config --global credential.helper 'store --file ~/.credentials'

# 원하는 프로젝트 미러링 클론
git clone --mirror http://gitlab.5works.co.kr/<group_name>/<project_name>.git

# 프로젝트에 credentials 추가
cd <project_name>.git
git remote set-url origin https://<username>:<password>@gitlab.5works.co.kr/<group_name>/<project_name>.git

# 업데이트하는 배시 쉘 편집
vi update.sh
    # 내용 추가
    cd /usr/src/redmine/repositories/<project_name>.git
    git remote update
    # <ESC> :wq

#나가기
exit
exit

update.sh

#!/bin/bash
# 프로젝트를 업데이트 한다.
cd /usr/src/redmine/repositories/<project_name>.git
git remote update

cron

crontab으로 1분마다 땡기는 중

# crontab -e 
# 매 분마다 update.sh 실행
* * * * * /usr/redmine/repositories/update.sh
  1. Redmine > Project > Settings > New repository

  2. 내용기입

Path to repository에 /usr/src/redmine/repositories/<project_name>.git 값 기입

GitLab

깃랩 바로가기

작성자 변경

git config --local user.name <email id>
git config --local user.email <5works full email>

커밋 메시지 작성법

작성 템플릿

<레드마인 프로젝트 명>-<이슈번호> #<이슈번호> [<작업타입>] <제목>
1. <작업내용 1>
2. <작업내용 2>

EX)

ECL-1 #1 [document] 테스트 작업
1. 커밋 테스트
2. 이슈 링크 되는 지 테스트

작업 타입

타입 내용
[feat] 새로 작성하는 기능
[fix] 수정사항
[document] 문서작업
[...] 그 외 적합하다 생각하는거 적어주시면 됩니다

타입스크립트 핸드북