I18N - gitlab.pot --> does it belong in the repo, or should it be .gitignore?
Summary
The current HEAD of the master branch includes locale/gitlab.pot
which at present moment only contains default contents generated during the launch of the GDK.
As a build artifact, does it belong in the repository?
Steps to reproduce
- install gitlab GDK
-
gdk reconfigure
-> (replaceslocale/gitlab.pot
with new contents) -
git status
-> (showslocale/gitlab.pot
which only contains a diff with date/time stamps)
What is the current bug behavior?
-
git diff locale/gitlab.pot
contains:
8 8 msgstr ""
9 9 "Project-Id-Version: gitlab 1.0.0\n"
10 10 "Report-Msgid-Bugs-To: \n"
11 -"POT-Creation-Date: 2017-05-04 19:24-0500\n"
12 -"PO-Revision-Date: 2017-05-04 19:24-0500\n"
11 +"POT-Creation-Date: 2017-05-24 19:07+0800\n"
What is the expected correct behavior?
file should not be included in repository unless it has relevant persistent state.
Possible fixes
git rm "locale/gitlab.pot"
echo "locale/gitlab.pot" > .gitignore
Related
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11573#note_30852818