URL: https://github.com/freeipa/freeipa/pull/972
Author: tomaskrizek
 Title: #972: build: checkout *.po files at the end of makerpms.sh
Action: opened

PR body:
"""
*.po are re-generated during build. These changes shouldn't be
comitted to git unless translation have been updated (during
release).

Fixes https://pagure.io/freeipa/issue/6605

Signed-off-by: Tomas Krizek <tkri...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/972/head:pr972
git checkout pr972
From bbf5e9ce6f988de0e84751bff8f07e4f8d743ae5 Mon Sep 17 00:00:00 2001
From: Tomas Krizek <tkri...@redhat.com>
Date: Mon, 14 Aug 2017 17:47:23 +0200
Subject: [PATCH] build: checkout *.po files at the end of makerpms.sh

*.po are re-generated during build. These changes shouldn't be
comitted to git unless translation have been updated (during
release).

Fixes https://pagure.io/freeipa/issue/6605

Signed-off-by: Tomas Krizek <tkri...@redhat.com>
---
 makerpms.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/makerpms.sh b/makerpms.sh
index bdf0231fd2..9cbc1cf73a 100755
--- a/makerpms.sh
+++ b/makerpms.sh
@@ -26,4 +26,8 @@ test ! -f "Makefile" && ./configure --enable-silent-rules \
 	"$@"
 make rpms
 
+# Workaround to ignore re-generated *.po files in git repo
+# See https://pagure.io/freeipa/issue/6605
+git checkout po/*.po
+
 popd
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to