Skip to content

Releases: bmplatina/desync-node

Bitmap Dist-Tool

Choose a tag to compare

@bmplatina bmplatina released this 07 Jun 06:41
변경 사항:

 - cmd/desync/tar.go
  - -s/--store 플래그 제거
  - -i 모드에서 내부적으로 WritableStore(defaultTarUntarStoreURL, ...) 사용
  - help/example 문구에서 -s 제거
 - cmd/desync/untar.go
  - -s/--store 플래그 제거
  - -i 모드에서 내부적으로 MultiStoreWithCache(..., defaultTarUntarStoreURL) 사용
  - help/example 문구에서 -s 제거
 - cmd/desync/tar_untar_store.go 추가
  - defaultTarUntarStoreURL = "https://depot.prodbybitmap.com/"
 - 테스트(cmd/desync/tar_test.go, cmd/desync/untar_test.go)
  - 기존 -s 기반 테스트를 고정 URL 변수 오버라이드 방식으로 수정

현재 동작은 사용자가 -s를 줄 수 없고, tar -i/untar -i는 항상 내부 고정 store URL을 사용합니다.
(참고: 전체 저장소 테스트에는 이번 변경과 무관한 기존 실패 1건이 이미 존재합니다: 루트 패키지 TestTar)

Version 1.0.2

Choose a tag to compare

@bmplatina bmplatina released this 29 Jun 14:14
483a72b

프로젝트 내 불필요한 명령어 제거
main.go에서 루트 명령어( rootCmd )에 등록되는 서브 커맨드 중 요청하신 6개( auth , info , tar , untar , verify , verify-index )를 제외한 모든
명령을 제거했습니다.
또한, 기본으로 표시되는 completion 명령어도 숨김 처리( rootCmd.CompletionOptions.DisableDefaultCmd = true )하여 요청하신 목록과 정확히 일치하도록 수정
및 빌드 테스트를 마쳤습니다.

Version 1.0.1

Choose a tag to compare

@bmplatina bmplatina released this 28 Jun 08:45
483a72b

-i 옵션 없이도 알아서 청크서버에 청크를 업로드하고 catar가 아닌 caidx를 생성하도록 수정

수정 요약

tar.go 파일을 다음과 같이 수정했습니다:

변경 항목 내용
createIndex  필드 제거                                           |  tarOptions  구조체에서 삭제
-i  플래그 제거                                                  | 더 이상  -i  옵션 불필요

catar 생성 코드 경로 제거 | 항상 청크 업로드 + caidx 생성 경로로 진입
명령어 설명 업데이트 | caidx 생성 & 청크서버 업로드가 기본 동작임을 명시

이제 desync tar output.caidx /path/to/source 만으로 depot.prodbybitmap.com 청크서버에 청크를 업로드하고 caidx 인덱스 파일을 생성합니다.