unnamed package manager - next generation, a simple package manager written in python
- databases: uses sqlite3
- packages: compressed with .tar.xz, lossless and better packages
- simple: built with simplicity in mind
- python: built in python
upk-ng buildUtil is a simple script written for easy compilation/packaging of the upk-ng package manager make sure you have the dependencies to use buildUtil
- nuitka: required for compiling the package, install with
pip
- python: required for nuitka and the package itself
- bash: for running buildUtil
- ccache, distcc: optional for speeding the compilation times
- compile using buildUtil
./buildUtil.sh build <version> <release> <maintainer>
tip: you can put your own version, release and maintainer, probably you already noticed it
this will compile upk-ng to the output/ directory
- package the build
you should put in
version
andmaintainer
the same you put in the first step
./buildUtil.sh package <version> <maintainer>
- bootstrap the package install it to your system, or to a different root using the compiled upk from output/, as root
./output/upk install-local ./upk-ng-<version>.upk <root>
is optional
bootstrap the precompiled upk from the main repo (run all commands as root)
python ./src/upk.py addrepo main https://juanvel4000.serv00.net/upk-ng/main
python ./src/upk.py update
python ./src/upk.py install upk-ng
this is a mechanism that allows to snapshot the current version of a package to restore it later if it starts causing problems, this is useful when installing a nightly/development version of a package
upk checkpoint <package> # create a checkpoint
tip: replace with --all
to create a checkpoint of every available package in the system
rollback allows to restore a snapshot created with checkpoint
upk rollback <package> [version]
[version]
is optional, it will rollback to the latest checkpoint if not specified- you can also replace with
--all
to rollback all packages, specifing[version]
will not change anything if the package is set to--all
note: rollbacking a version will delete the checkpoint you rollbacked it from, so be careful when to rollback it
this is the only way to update upk-ng (for now) (run commands as root, this assumes you already have the main repository)
git clone https://github.com/juanvel4000/upk-ng
cd upk-ng/src
python upk.py update
python upk.py install upk-ng
upk-servertools is a repository manager written in python, it is an easy way to manage Release files if you maintain a repository
ensure you have the main repository (as root)
upk addrepo main https://juanvel4000.serv00.net/upk-ng/main
upk update
install the stools package
upk install stools
if you dont want to type your repository folder everytime you open stools you can create a file called .stools.env
in your home directory with these contents
[stools]
folder = <folder>