An extremely in progress package manager
Find a file
2019-09-04 11:46:44 -05:00
scripts Build is now in lua 2019-09-03 16:47:27 -05:00
src unpacks and adds binaries to bin 2019-09-04 11:46:44 -05:00
.BUILDINFO unpacks and adds binaries to bin 2019-09-04 11:46:44 -05:00
.gitignore better env detection 2019-09-03 10:44:47 -05:00
.MTREE unpacks and adds binaries to bin 2019-09-04 11:46:44 -05:00
.PKGINFO unpacks and adds binaries to bin 2019-09-04 11:46:44 -05:00
Cargo.lock A bit of rebranding... 2019-09-03 16:41:20 -05:00
Cargo.toml A bit of rebranding... 2019-09-03 16:41:20 -05:00
README.md Revert "Updated README" 2019-09-04 10:09:29 -05:00

Pack

Extremely in progress

Disclaimer

This has hardly been worked on and is essentially useless at its current state. Please don't use this unless you plan on developing it.

TODO

[ ] Parse cmdline options well, including parsing the package name from the package repo

[ ] Make a KO

[ ] Correctly download from several repos

[ ] Unpack tarballs of various types

[ ] More, probably

Building and Setup

This project is made in the rust programming language, so a simple cargo run will suffice to build the binary. In addition, you may wish to run scripts/setup.sh to configure your environment. Soon, the setup script will be written in lua and instructions on how to do so from bash will be here.

Usage

Firstly, to setup your environment, run scripts/arch.sh. The syntax of the command is as follows:

sudo pack {url}::{repo type}

This will add the tarball found at {url} to /usr/pack/repo/{repo type}/tarballs.