ansible-pcp/0001-build_ignore-unnecessary-files.patch
Maxwell G d1ababd8b2
build_ignore unnecessary files
> Packagers should exclude [unnecessary] files, which SHOULD be done by
> patching the collection’s galaxy.yml to add these files to the
> build_ignore configuration. These files SHOULD NOT be removed with rm.

-- https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_unnecessary_files

This change should be upstreamed.
2022-11-19 14:28:48 -06:00

38 lines
950 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From b89ff30a83b3e38369d6d4f4854855d492f1b31a Mon Sep 17 00:00:00 2001
From: Maxwell G <gotmax@e.email>
Date: Sat, 19 Nov 2022 14:11:20 -0600
Subject: [PATCH] build_ignore unnecessary files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
> Packagers should exclude [unnecessary] files, which SHOULD be done by
> patching the collections galaxy.yml to add these files to the
> build_ignore configuration. These files SHOULD NOT be removed with rm.
-- https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_unnecessary_files
---
galaxy.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/galaxy.yml b/galaxy.yml
index 1651456..1226558 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -31,5 +31,12 @@ tags:
- grafana
- redis
- pcp
+build_ignore:
+ - .github
+ - .gitignore
+ - .ansible-lint
+ - "*.yml"
+ - ".*.yaml"
+ - tests
dependencies: {}
--
2.38.1