Packager, pkg management and building.
This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Raine bd589d8b45
ci/woodpecker/push/woodpecker Pipeline was successful Details
feat: new stuff
2023-10-14 22:39:52 +02:00
.idea feat: new stuff 2023-10-14 22:39:52 +02:00
bootpkg fix: pkgr->ext pkgrfile 2023-10-14 22:39:52 +02:00
docs docs: name to proper file 2023-10-14 22:39:47 +02:00
manifest fix: pkgr->ext pkgrfile 2023-10-14 22:39:52 +02:00
pkgfile feat: implement packagequeue 2023-10-14 22:39:50 +02:00
pkgr feat: new stuff 2023-10-14 22:39:52 +02:00
.gitignore feat: added packages for pkgr and bootpkg 2023-10-14 22:39:50 +02:00
.woodpecker.yml ci: add rustup clippy 2023-10-14 22:39:46 +02:00
LICENSE feat: added command functionality to install 2023-10-14 22:39:43 +02:00
README.md docs: some details 2023-10-14 22:39:51 +02:00
build feat: new stuff 2023-10-14 22:39:52 +02:00
package.example.toml docs: change names 2023-10-14 22:39:52 +02:00
pkg.py build: changed build scripts 2023-10-14 22:39:50 +02:00

README.md

Packager

CI Status

"A package manager and builder but like rust."
-- Gandhi (2050)

Almost to a point you can use it :)

Packager is a simple yet powerful package manager

Install a package

pkgr supports fetching packages with a:

  • path
  • url (http/https)
  • package locator
# example with path
pkgr install ./foxy/snek.pkg
# example with url
pkgr install https://example.com/doggo.pkg
# example with package locator
pkgr install foo:stable,bar

Composing a package

Right now, pkgr does not have a compose/package command. (it's in the works dw!)
You can create a package with pkg.py!

# Usage: pkg.py <package_toml_path> <output_path> [<directories_to_include> ...]
# example:
python pkg.py manifest.toml example.pkg root/ source/ scripts/
# this will create a package with an archive that look like this:
# [header+manifest]
# ...
# [archive: 
#   root/
#   source/
#   scripts/
# ]

It's not perfect, but it'll get the job done :)