A rpm based package manager for Mac
HashiCorp Engineering Services Hackathon 2020
rpmac add-repo ${PWD}/{file}.repo
rpmac search {package}
rpmac install {package} {anotherPackage=1.0.0}
rpmac uninstall {package}
rpmac upgrade {package}
- Download metadata files from remote repos
- Read information from metadata files
- Store package information in local cache
- Install rpm file by name from cached metadata
- Track installed packages
- Install a specific version of a package
- Install package dependencies
- Reconcile dependency versions and dependency graph
- Process install/uninstall hooks
- Global upgrade
- Lock during operations
- Help
- Add Repo
- Install
- Uninstall
- Search
- Upgrade
go build
make test-repo
This will set up a test repo on a local webserver. The repo file will be available at http://localhost/test.repo
. Once that's added, the local repo should be visible to rpmac
./rpmac add-repo ${PWD}/test/repo/test.repo
./rpmac search kpfoo
./rpmac install kpfoo
./rpmac uninstall kpfoo
./rpmac install kpfoo=1.1.0
./rpmac upgrade kpfoo