Hi everyone,
I would like to announce the first version of PackPack [1] - a convenient
tool to build RPM and Debian packages from git repositories:
+ Fast reproducible builds using Docker containers
+ Semantic versioning based on annotated git tags
+ Support for all major Linux distributions as targets
PackPack performs all required steps to create Linux packages by the single
command [2]:
~/gitrepo$ OS=fedora DIST=24 packpack # Build for Fedora 24
~/gitrepo$ OS=centos DIST=7 packpack # Build for CentOS 7
~/gitrepo$ OS=debian DIST=stretch packpack # Build for Debian Stretch
~/gitrepo$ OS=ubuntu DIST=xenial packpack # Build for Ubuntu Xenial
PackPack automatically bumps version in the RPM spec, packs a source tarball,
creates a source RPM and then builds binary packages. You only need to have
a proper RPM spec at `rpm/` and `major.minor` annotated git tag.
This tool works best with GitHub, Travis CI and PackageCloud:
- Push your code to GitHub
- Build packages using Travis CI
- Host repositories on PackageCloud
Feel it like an alternative to `copr`, but hosted on Travis CI and PackageCloud.
It is also possible to use `packpack` locally on your host (see above).
Please see GitHub project [1] and a demo video [3] for additional details.
Your feedback is welcome ;)
[1]:
https://github.com/packpack/packpack
[2]:
https://asciinema.org/a/3unm4sw4g889ddk7tr0uettbn
--
WBR,
Roman Tsisyk <roman(a)tsisyk.com>