From 231f4f98709b848f95e5414959268917969d560a Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Apr 25 2019 15:32:04 +0000 Subject: Ignore files in a cloned repository - patterns Git will ignore automatically generated files. Ignored patterns can be specified in config. Patterns are applied in '.git/info/exclude' file only when a repository is cloned. And changes are valid only for a local repository. Functionality is implemented in rpkg. This commit includes only patterns. Relates: COMPOSE-2794 Signed-off-by: Ondrej Nosek --- diff --git a/conf/etc/rpkg/fedpkg-stage.conf b/conf/etc/rpkg/fedpkg-stage.conf index ebbdf3c..a3ce8d6 100644 --- a/conf/etc/rpkg/fedpkg-stage.conf +++ b/conf/etc/rpkg/fedpkg-stage.conf @@ -21,6 +21,21 @@ oidc_id_provider = https://id.stg.fedoraproject.org/openidc/ oidc_client_id = fedpkg oidc_client_secret = notsecret oidc_scopes = openid,https://id.fedoraproject.org/scope/groups,https://mbs.fedoraproject.org/oidc/submit-build,https://src.fedoraproject.org/push +git_excludes = + i386/ + i686/ + x86_64/ + ppc/ + ppc64/ + ia64/ + mips/ + arm/ + noarch/ + *.src.rpm + build*.log + .build-*.log + results_* + clog [fedpkg-stage.bodhi] # Refer to fedpkg.conf diff --git a/conf/etc/rpkg/fedpkg.conf b/conf/etc/rpkg/fedpkg.conf index 0b77a8c..f9b23a9 100644 --- a/conf/etc/rpkg/fedpkg.conf +++ b/conf/etc/rpkg/fedpkg.conf @@ -21,6 +21,21 @@ oidc_id_provider = https://id.fedoraproject.org/openidc/ oidc_client_id = fedpkg oidc_client_secret = notsecret oidc_scopes = openid,https://id.fedoraproject.org/scope/groups,https://mbs.fedoraproject.org/oidc/submit-build,https://src.fedoraproject.org/push +git_excludes = + i386/ + i686/ + x86_64/ + ppc/ + ppc64/ + ia64/ + mips/ + arm/ + noarch/ + *.src.rpm + build*.log + .build-*.log + results_* + clog [fedpkg.bodhi] # This is for the bodhi-client 2.x, that do not require an option to switch to