# 패키지 매니저 만들기

> Clean Markdown view of GeekNews topic #10520. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=10520](https://news.hada.io/topic?id=10520)
- GeekNews Markdown: [https://news.hada.io/topic/10520.md](https://news.hada.io/topic/10520.md)
- Type: news
- Author: [kuroneko](https://news.hada.io/@kuroneko)
- Published: 2023-08-24T10:36:56+09:00
- Updated: 2023-08-24T10:36:56+09:00
- Original source: [antonz.org](https://antonz.org/writing-package-manager/)
- Points: 12
- Comments: 1

## Topic Body

- SQLite 확장의 비공식 패키지 매니저를 만들어 본 방법.  
- 패키지 매니저에 필요한 요소의 설계와 그 과정을 자세히 공개함.  
  - 소유자, 이름, 버전, 자산 등 패키지를 설명하는 사양 파일의 설계.  
  - 소유자/이름으로 구분되는 계층적 폴더 구조의 설계.  
  - 프로젝트, 전역 범위 관리.  
  - 패키지 저장소, 깃 저장소, 로컬 파일 등 사양 파일 로케이터 구현.  
  - 버전 관리와 latest 버전.  
  - 사양 파일에 각 자산별 체크섬 추가.  
- 최종적으로 go 언어로 구현하여 배포하였으며, 62개의 패키지가 등록되어 있음.

## Comments



### Comment 18557

- Author: kuroneko
- Created: 2023-08-24T10:37:59+09:00
- Points: 1

- [HN 스레드](https://news.ycombinator.com/item?id=37220953)  
  
재미있는 이야기 같습니다.  
  
SQLite 확장에는 종속성이 거의 없어서 종속성을 아예 뺐다고 하는데,  
이렇게 하니 구현이 정말 명확하네요.
