#585 Include `fmf` config in the list of reserved files
Merged 2 years ago by onosek. Opened 2 years ago by psss.

file modified
+3 -1
@@ -1814,7 +1814,9 @@ 

          # while importing a SRPM.

          # The list also contains files, that are important and should

          # not be removed by import command.

-         reserved_ourfiles = ['README.md', 'gating.yaml', 'tests/*', '*.rpmlintrc']

+         reserved_ourfiles = [

+             'README.md', 'gating.yaml', 'tests/*', '*.rpmlintrc',

+             '.fmf/*', '*.fmf']

  

          # Get a list of files we're currently tracking

          ourfiles = self.repo.git.ls_files().split('\n')

Do not remove fmf files during fedpkg import as these are
configuration files used for enabling tmt tests. See the Fedora
CI docs for details: https://docs.fedoraproject.org/en-US/ci/tmt/

Resolves https://pagure.io/fedpkg/issue/452

Signed-off-by: Petr Šplíchal psplicha@redhat.com

rebased onto 290859c

2 years ago

Looks good to me. @onosek should be available next week to merge and hopefully release the patch.

Thanks for the update.

Pull-Request has been merged by onosek

2 years ago

After three months it seems the change has still not been released. @onosek, @lsedlar, do you plan a fedpkg update in the near future?

@psss yes, the release is in progress.

Metadata