Fix Usergroup filter #382
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#382
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR will fix the usergroup filter this section of code has been changed:
I am struggling to get line endings right against your repo for some reason? currently set to CRLF.
I can't merge this request there is like crazy amount of lines changed. What editor are you using?
Can you not just pull the staging branch and then change just the lines above, and make a pull request with those, instead of auto formatting of the whole file in your IDE?
I am working on Ubuntu, Netbeans.
It's a line ending change, just using phpstorm. But it depends what system
you are developing on as to how you have stored them in JCB Github. Can you
confirm how they are stored?
My editor hasn't reformatted the file.
So just to confirm I am on a pure Linux box, and so all files are saved on a UNIX file system. That is also my weakness I have never done development on Windows or any other... just Linux.
So can you try again?
Ok so you are likely using LR, I saved are CRLF for cross compatibility.
I’m on Linux too, so will change it and do it again soon.
From what I can see, line endings are not consistent across the whole project. For instance:
script.php
in the root folder has LF line endings, wherascomponentbuilder.php
in the site folder has CRLF line endings.@Llewellynvdm can you please update the projects line endings?
https://help.github.com/en/articles/dealing-with-line-endings
So you can have cross platform / user help.
And if you're like me and find the Github help somewhat confusing, this might be another good place to have a look:
https://git-scm.com/book/it/v2/Customizing-Git-Git-Configuration#_code_core_autocrlf_code
Okay we have an issue here, firstly the script.php file is auto generated, and in the compiler we are using
PHP_EOL
which means depending on what platform you compile the line-ending will change.At the moment this pull request is dealing with the groups selecting filter and therefore not the place to resolve line endings.
So we can move this issue to its own place, yet to merge this pull request I need you to just push the update of the lines in question, and not change the whole file's line-endings.
I can add the code, but then your contribution will be "unseen" I would like to give you the open door to actually contribute code. So I am giving this a few more days hoping to get a updated pull-request that only targets the code in question.
Secondly the current staging branch has moved, and so you will need to update your repo with the upstream.
There you go! Used my mac in the end. Need to figure what GIT is going on ubuntu to my files!
Okay I will pull this down and run some test. Thanks!