mate-desktop / pluma

A powerful text editor for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
157 stars 65 forks source link

Avoid tracking .po files by Git yet managed by Transifex #558

Closed tamplan closed 4 years ago

tamplan commented 4 years ago

"git commit -a" can upload .po files with no reason with "git push". .po files are provides by Transifex synchronization. I think it's better to avoid this.

rbuj commented 4 years ago

You can use git command to avoid it (git checkout -- po/*.po). Your proposal has other unwanted effects, for that reason I don't agree with your PR. It's just my opinion and other developers may find it useful.

tamplan commented 4 years ago

Just to know, could you explain me, please, the unwanted effects you "speak" about?

What is the function of git.mk and .gitignore files? For me is to avoid pull files unwanted to be trackend by git.

Imagine a newbie developer (more or less my case :)) using the command git status in case of no use of git.mk and .gitignore files, after a command ./autogen.sh && make with a lot unwanted files to push. To be clear, git status indicates changes and purpose use of git commit -a.

Before use of git.mk, i use 2 repositories, one every time updated with upstream and unchanged and another to play with on with use of branches. Before pushing, i use Meld to compare and copy/paste changes to be sure to not push unwanted files.

raveit65 commented 4 years ago

I think it's better to avoid this.

And i think it's better to leave it like it is :tomato: Except from your personal opinion, why we shouldn't track translation changes at github? Github is our master and transiflex is not more than a helper. And please open a report for discussion first if you think we did all wrong before you open a PR, to avoid needless work :P

tamplan commented 4 years ago

Ok, understood, discussion open first.

Thanks

raveit65 commented 4 years ago

Ok, understood, discussion open first.

Really, I am i doubt that you understood what i said. Once again, why we shouldn't track translation changes at github? Github is our master and transiflex is not more than a helper. So, every code change should be tracked here at github.

tamplan commented 4 years ago

Yes i have understood the first time but my sentence is not clear.

Without your explanation, i thank about the translation file changes were tracked on transifex site where there is a historic like here and some PR about translation problems are some time closed indicating to contribute directly on transifex.

I would like to write: I understand your explanation AND the next time i have a doubt about a subject, it's better to open a discussion first by a issue to speak about the subject instead of make a PR perhaps needless (update repository, code review...).

My fault, clear in my minf but not in my message here.