From f5b8f6432ba6d6a09cfaa71d52d948be4ce1382b Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Wed, 4 Nov 2020 14:21:02 +0100 Subject: [PATCH 1/2] Document 'copy_upstream_release_description' config option --- content/docs/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/docs/configuration.md b/content/docs/configuration.md index e028c17427..1f3f439569 100644 --- a/content/docs/configuration.md +++ b/content/docs/configuration.md @@ -166,6 +166,11 @@ notifications: You can disable the commenting by setting `successful_build` to `false`. +#### copy_upstream_release_description +(*bool*) When doing a new update in Fedora dist-git, the upstream release description +is copied to the spec-file changelog when set to `true`. By default (`false`), +all messages of new commits are copied. + ### Minimal sample config This is a sample config which is meant for [packit](https://github.com/packit/packit) itself. From ebd5d28bd70f77d0fdbd8aa46320fe46eeb5421a Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Thu, 5 Nov 2020 08:36:19 +0100 Subject: [PATCH 2/2] Add an example --- content/docs/configuration.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/content/docs/configuration.md b/content/docs/configuration.md index 1f3f439569..3b412cdedd 100644 --- a/content/docs/configuration.md +++ b/content/docs/configuration.md @@ -167,9 +167,24 @@ notifications: You can disable the commenting by setting `successful_build` to `false`. #### copy_upstream_release_description -(*bool*) When doing a new update in Fedora dist-git, the upstream release description +(*bool*) When doing a new update in Fedora dist-git, the Github upstream release description is copied to the spec-file changelog when set to `true`. By default (`false`), all messages of new commits are copied. +e.g. +- `copy_upstream_release_description = True`: +``` +%changelog +* Thu Oct 15 2020 Packit Service - 0.18.0-1 +Packit got new archive_root_dir_template config option to get custom archive root dir. +You can find more info in the documentation. +``` +- `copy_upstream_release_description = False` (default): +``` +%changelog +* Thu Oct 15 2020 Packit Service - 0.18.0-1 +- Use inner archive directory in %setup macro +- Use archive_root_dir_template +``` ### Minimal sample config