Repository navigation
Import update rework (#1412) - #3029
Conversation
|
@objecttothis now we have three commits while there should have been only one. Could you try to remove the branch locally and force push the branch back
|
|
@objecttothis I'llt try to clean it up otherwise, it seems you have the changeset under your name as well here (don't understand directly why I see two commits now one with your name and one with mine) |
909018e to
a68c63e
Compare
jekkos
left a comment
There was a problem hiding this comment.
@objecttothis The pull request is huge.. I think we should not mix general cleanup with functional changes in this case, it makes review very hard.
It seems that you replaced most of the double quotes in html with single quotes
but some quite some parts suffer from some weird indendation issues.
Also it's good that you got rid of the _ in the private methods. The fact that they are private is normally sufficient.
a68c63e to
a9e6597
Compare
The code cleanup got mixed in the pr because in many places it was part of the optimisation of the code. For example in the PHP replacing " with ' and array() with [] were all optimisation changes. Yes, the " for ' in the HTML was for consistency rather than optimisation. I can check out and fix the indentation issues on Tuesday when I'm back in the office. |
|
@jekkos I've addressed or commented on all the sections that you pointed out. Let me know what else needs to be corrected or changed. |
f9208f9 to
7e6286d
Compare
|
@objecttothis Beside those indentation issues I think it looks fine. Maybe @daN4cat was double checking some stuff (as I saw one commment) so I would wait for more feedback (if any). I think a next step would be to deploy the branch and do some exploratory testing on it. First we need to get 3.3.3 out. |
7e6286d to
1126b16
Compare
Yes, he commented on an indentation issue and I got that fixed. I'll stand by for any other issues that others report.
Agreed. I've been running this in production for the last four months, but having people deploy and give it a run for it's money will be invaluable. One feature in this PR that really needs people kicking the tires is the Update Import. Several have asked for the ability to do importing to update items and this PR has that. It's been working great for me, but the more people trying to break it, the better. I'm also getting more versed with PhpStorm, so my next step is to figure out how to get PhpUnit running and write a few unit tests. |
|
@objecttothis Ok nice to hear you already have it up and running! Yes I think that adding some unit tests here would certainly make sense.. Let me know how far you get as I'll need to hold back the merge until we release 3.3.3. I think after that we can merge to master to have it available to more users (and let's tackle any other issues after) |
|
Quite some merge conflicts now.. I guess we need to rebase again.. |
Yes. I was waiting until the bugfix release to do that so that I didn't need to keep doing it every time something got merged into the master. |
|
@jekkos, once I finish this online payment method for our website, I will turn my attention to any fixes that need to be made and merging this. Aside from rebasing on the master and resolving any conflicts, are there any changes to the rework itself that I need to make? |
|
@objecttothis I think it's just the rebase, this is good to go imo. |
- Remove indentation problems - Replace custom_array_filter with functional call to array_filter
4c1b2e8 to
b18f166
Compare
|
@jekkos this has been merged with the master. The rebase took awhile but I got it done. |
|
oh my ... not looking forward to rebasing the customer due tracking branch onto this. :-) |
Hehe. It looks big and scary, but much of it is little stuff like replacing the quote operator where not needed in PHP, so that it doesn't invoke the parser. I just looked at a side-by-side comparison with your branch and it doesn't look like there is much in terms of conflicting files. When you do the rebase, depending on which IDE you are using, it should be pretty straight forward to accept all non-conflicting changes and then side-by-side compare the rest. |
|
Thanks for the kick @objecttothis . Maybe I wasn't very clear with 'good to go', I actually meant ready to merge after 3.3.4. I've been rather busy so did not have a lot of time to follow up/coordinate. I was planning to do an easter release after the christmas version. @SteveIreland do you still have something open? I saw you commented on #3138 but I'm not sure what the status is there. So possible plan of attack
|
|
@jekkos so sorry. For some reason I thought we pulled the trigger on 3.3.4 awhile ago so when I read 'good to go' I didn't even think to check the releases to make sure you had indeed already done the release. I don't feel strongly one way or another about which option we choose. I'm available to submit fixes for issues my code inadvertently has caused. |
|
@jekkos No worries. I'm working on the Customer Due Tracking changes. So far it has touched close to a dozen files. I was going to catch up with changes last night but after the fetch and merge there were a gazillion differences between what I had and what was now in master. Since @odiea reports that it's not working I'll just waiting to rebase until after the serious issues are resolved. Otherwise I won't be able to test my changes. Good luck! |
|
@SteveIreland Any chance your work on the Customer Due Tracking changes affects #3138 ? Just wondering if they're related. |
|
@chunter2 It is possible that an earlier effort might have triggered it. I don't understand what triggers the error, but I'm going to take a look at it as part of the customer due tracking effort, but none of the customer due tracking changes have yet been pushed up. |
@objecttothis I'm opening this PR to show you where the squashed version of your branch is. Up to you to check out, amend the commit and remove me as an author (so we keep correct copyrights). Then create a new PR with your name on this commit.
I know that in some OSS projects the --signoff is required in git, so that even after rebase, it remains clear who actually owns the authorship. Might be worth our consideration here.