vishap package manager
Find a file
antranigv 3706bb5f7d
WIP: Fix the command length issue
Based on tests, looks like in many cases we need more than 120 chars for
the cmd variable
2022-04-05 15:42:28 +04:00
src WIP: Fix the command length issue 2022-04-05 15:42:28 +04:00
tst test.c for checking sizes of struct stat on freebsd. 2022-02-23 04:53:22 +04:00
.gitignore Version files are able to download 2019-05-12 12:07:02 +04:00
makefile tests updated. 2022-02-23 04:54:29 +04:00
makefile_freebsd added empty CFLAGS variable 2022-04-01 21:58:48 +04:00
readme.md readme update. build instructions. 2022-02-23 03:44:26 +04:00
VersionFile.json VersionFile.json change 2020-03-27 19:01:03 +04:00

vipack

vipack is a language or dependency agnostic package manager.

currently it has a backend to retrieve dependencies from the vipack tree.

that is a list of json files, each containing information about the package dependencies, where to download the packages, and how to build those.

build

requirements: git, gmake, cc, voc

git clone https://github.com/vishaps/vipack cd vipack gmake

or on freebsd:

gmake -f makefile_freebsd

usage

try vipack --help.

some examples:

vipack -s — syncs the default package tree to ~/.vipack/vipackTree.

vipack -d -p irc_bot — only resolves/shows dependencies of the package irc_bot, does not download or build packages.

vipack -f -p irc_bot — resolves and fetches required packages.

vipack -p irc_bot — will build the package and dependencies in the default prefix: ~/vpkLocal

vipack -a -p irc_bot — ask for confirmation before building the package and dependencies in the default prefix: ~/vpkLocal

vipack -p irc_bot -P /tmp/coolprefix — will do the same in the custom prefix.

vipack -p irc_bot -P /tmp/coolprefix -t /tmp/myothertree — the same, but the dependency resolution will be conducted by using custom package description tree.

todo

json parser can be improved. it does not contain lists yet.

though we have http module, only git downloads are currently supported by using external git tool.

port to oberon system.

lots of other things.