git-buildpackage代替dpkg-buildpackage之间的区别是什么? - What is the difference between git-buildpackage instead of dpkg-buildpackage?

- 此内容更新于:2016-02-02
主题:

违约和推荐方法构建一个dpkg-buildpackagedeb包。git-buildpackage的优势是什么?我想与自己建立包在bash和python脚本编写。我需要计划这个脚本分发给linux机器公园。没有构建阶段或前/后脚本。这是一个简单的包。我所需要的东西:自动化与git版本控制建造包标记和提交,如0.3-e848588debian的更新日志文件的自动生成

原文:

Default and recommended way to build a deb package is dpkg-buildpackage.

What is the advantages of git-buildpackage ?

I want to build package with my own scripts written in bash and python. I need package for distribute this scripts to linux machines park. There is no build stage or pre/post scripts. It's a trivial package.

What I need:

  1. Automated versioning builded packages with git tag and commit, like 0.3-e848588

  2. Automated generation of debian changelog file