Openscad dependencies manager wrotten in Go.
Openscad Package Manager (opm)
curl -L -O https://github.com/Akrobate/openscad-package-manager/releases/download/0.0.2/opm_0.0.2_linux_amd64.tar.gz
tar xvf opm_0.0.2_linux_amd64.tar.gz
sudo mv opm /usr/local/bin/Download
https://github.com/Akrobate/openscad-package-manager/releases/download/0.0.2/opm_0.0.2_windows_amd64.tar.gz
Extract
opm_0.0.2_windows_amd64.tar.gz
opm initopm install
opm install https://gitlab.com/openscad-modules/housing.git
opm install https://gitlab.com/openscad-modules/housing.git#0.0.2
opm install https://gitlab.com/openscad-modules/housing.git#develop
opm install https://gitlab.com/openscad-modules/housing.git#5ebc661`,opm uninstallopm listopm info https://gitlab.com/openscad-modules/housing.gitName: housing
Descrition: housing libraries helper
Latest commit: 5d18bef
Versions:
0.0.1 https://gitlab.com/openscad-modules/housing.git#0.0.1
0.0.2 https://gitlab.com/openscad-modules/housing.git#0.0.2
0.0.3 https://gitlab.com/openscad-modules/housing.git#0.0.3
0.0.4 https://gitlab.com/openscad-modules/housing.git#0.0.4
5d18bef https://gitlab.com/openscad-modules/housing.git#5d18bef
https://raw.githubusercontent.com/Akrobate/openscad-package-manager/refs/heads/master/data/sources-list/akrobate.source-list.json
- Go 1.21 or newer
go build -o opmgo build -o opm
sudo mv opm /usr/local/bin/go build -o opm && sudo cp opm /usr/local/bin/go test ./...go test -cover ./...go test -coverprofile=coverage.out -coverpkg=./... ./...
go tool cover -html=coverage.out -o coverage.html
cmd/: Commands CLI (install, uninstall, list, search)pkg/manager/: Business rules of package managementinternal/utils: Commons functionsmain.go: Entry point
- Add renderer mecanic
- Document anotating tags
- create simple command for rendering
- opm unistall should throw an error if no scad file in current folder
- Info Read module's package scad.json file
- Normalize tmp folder when installing package
- Do not create tmp folder in .opm on init manager
- Info command normalize output (tag + full specification url)
- Build CI to build packages on tags
- Able to install a dependency of inexisting tag. Should not be possible
MIT