-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔧 fix repository on Linux or MacOS dev machines #139
Conversation
On my linux, a fresh clone of the repository gives me this error: > warning: CRLF will be replaced by LF in <path to expertnation .PNG>. > The file will have its original line endings in your working directory Files concerned by this are all in hclient/widgets/expertnation/assets/: - beyond1914/documents/beyond1914_help_search.PNG - beyond1914/documents/beyond1914_help_search_dropdown.PNG - beyond1914/documents/beyond1914_help_search_facets.PNG - beyond1914/documents/beyond1914_help_search_simple_plus_facet.PNG - uadelaide/documents/nov1918_help_person.PNG - uadelaide/documents/nov1918_help_search.PNG - uadelaide/documents/nov1918_help_search_dropdown.PNG - uadelaide/documents/nov1918_help_search_facets.PNG Problem was due to the fact that those are .PNG files, and not .png. Remember that filters in .gitattributes are case-sensitive. I modified the .gitattributes to make these files explicitely binary. Another solutions would have been to rename these 8 files, but I don't know if this would have had unintended behaviour in these apps. Any of these solutions is NOT sustainable however anyway : if you don't wanna be bothered by case (wich is debatable), what should be done is to update the whole .gitattribute file as I did. You don't have this problem on Windows because this OS is case insensitive, but in other situations, it can bite you in the nose.
As a side note, this pull request allows to use tools like |
Hey @wiztigers, does the |
Thanks for the bugfix too! |
Hi @michaelgfalk , thanks for the merge
First, I'd want to reiterate that allowing Gitflow wasn't my main purpose in this PR, it's just that IMO the repo wasn't in a clear state for Linux devs. I did't like that To answer you now, there isn't only one development strategy allowed by Gitflow, there are many. Gitflow is only a tool that standardizes the way you branch in the usual cases (new feature, hot fix, release). So deciding to use Gitflow is, in my opinion, not enough to be "good to go". What constitutes a feature ? What constitutes a hotfix ? How should branches be merged (rebasing or not? squasing or not?) I agree with you that Gitflow makes development easier in many cases ; personally, I'll use it in my fork of Heurist on Huma-Num Gitlab, because it allows me to be more understandable from the outside (eg. by you guys). What I could do before that however, is to document how I do things regarding to git, and why it's good for me. This could maybe lay the first stones of a future "developer guide". |
On my linux, a fresh clone of the repository gives me this error:
Files concerned by this are all in
hclient/widgets/expertnation/assets/
:beyond1914/documents/beyond1914_help_search.PNG
beyond1914/documents/beyond1914_help_search_dropdown.PNG
beyond1914/documents/beyond1914_help_search_facets.PNG
beyond1914/documents/beyond1914_help_search_simple_plus_facet.PNG
uadelaide/documents/nov1918_help_person.PNG
uadelaide/documents/nov1918_help_search.PNG
uadelaide/documents/nov1918_help_search_dropdown.PNG
uadelaide/documents/nov1918_help_search_facets.PNG
Problem was due to the fact that those are .PNG files, and not .png.
As it turns out, filters in
.gitattributes
are case-sensitive.I modified the .gitattributes to make these files explicitely binary.
Another solutions would have been to rename these 8 files, but I don't know if this would have had unintended behaviour in these apps.
Any of these solutions is NOT sustainable however anyway ; if you don't wanna be bothered by case (which is debatable), what should be done is to update the whole
.gitattribute
file as I did.You don't have this problem on Windows because this OS is case insensitive, but in other situations, it can bite you in the nose.
As a side question, shouldn't ExpertNation specific assets be in their own project, and not in Heurist core repository ?