From d7e329f4fba644d0951bff2f7d85778281ef9d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 16 Mar 2023 19:04:00 +0100 Subject: [PATCH] do not overwrite packit.yaml and its variants https://packit.dev/docs/configuration/ packit.yaml can be used in dist-git for pull-from-upstream and for creating builds, or bodhi updates --- src/tito/release/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tito/release/main.py b/src/tito/release/main.py index c0fcb13..8010bec 100644 --- a/src/tito/release/main.py +++ b/src/tito/release/main.py @@ -29,7 +29,8 @@ from tito.exception import TitoException from tito.config_object import ConfigObject # List of files to protect when syncing: -PROTECTED_BUILD_SYS_FILES = ('branch', 'Makefile', 'sources', ".git", ".gitignore", ".osc", "tito-mead-url", "tests", "gating.yaml") +PROTECTED_BUILD_SYS_FILES = ('branch', 'Makefile', 'sources', ".git", ".gitignore", ".osc", "tito-mead-url", + "tests", "gating.yaml", ".packit.yaml", ".packit.yml", "packit.yaml", "packit.yml") RSYNC_USERNAME = 'RSYNC_USERNAME' # environment variable name