A yaml based source-code to package bundler.
| Format | Host | Status |
|---|---|---|
.deb |
Ubuntu/Debian (apt, dpkg) |
Active |
.rpm |
RHEL, Yum | TODO |
.tar.gz, .tar.xz |
ArchLinux/Pacman | TODO |
- Create multiple package formats from your source code through a single command
packagerlog tightly integrated withgithistory andCHANGELOG-- Coming soon!- Publish your packages via CLI -- Coming soon!
Clone the repository and install using pip installer. This project requires Python 3.x.
$ pip install .Initialize packager in your project repository.
$ packager initThis creates a .packager folder and a config.yml inside. Update the config.yml with required settings. Below is an example config.yml.
package:
name: example-deb
version: 1.0.0
description: "An example packager config for a debian package"
build: cmake
authors:
- Harish Navnit <[email protected]>
targets:
- debianCheck if the config.yml is valid.
$ packager validate .packager/config.yml
Config file at .packager/config.yml is validBuild the package
$ packager build .packager/config.yml
dpkg-deb: building package 'example-deb' in '/tmp/deb-pkg-tools-build-5ef82tfb/example-deb_1.0.0_all.deb'.
Lintian is not installed, skipping sanity check.