bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
216 stars 174 forks source link

Add changelog attribute to pkg_deb #725

Closed k0walik closed 1 year ago

k0walik commented 1 year ago

Allow passing changelog file to pkg_deb rule. This addresses #696 issue.

k0walik commented 1 year ago

The open question is if we want to propagate content of the changelog file to generated .changes file (see make_deb.py). According to Debian documentation the Changes field is usually extracted from the changelog file. Thoughts?

aiuto commented 1 year ago

It should not automatically propagate to the .changes file. That choice should be up to each target. Personally, I would never put the raw changelog into a binary distribution anyway.