Needs review
Project:
Gist Input Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2015 at 14:42 UTC
Updated:
24 Dec 2017 at 16:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
capuleto commentedAnd a tarball to make things easier to review.
Comment #3
fl3a commentedOn a fresh 8.21 with standard profile:
BTW: What about a 8.x branch?
Comment #4
capuleto commented@fl3a.. Things might have changed since I opened this issue and submitted the D8 port.
I think we need a re-roll
Comment #5
fl3a commentedHi capuleto,
i created a sandbox https://www.drupal.org/sandbox/fl3a/2819998 , just to have git, you should have all permissions.
Regards
Comment #6
capuleto commentedThanks @fl3a.. I will have a look to the issue as soon as I get a second.
I've noticed that you have also committed several files that are not part of the submitted patch. http://cgit.drupalcode.org/sandbox-fl3a-2819998/commit/?id=251bb3f
Would it be possible to remove them from the sandbox repository?
Comment #7
swentel commentedTested the sandbox version, don't have the fatal error, so not sure if that error is still in the module at all.
Comment #8
swentel commentedActually scratch that last comment, got it now too, will test the patch in the sandbox queue.
Comment #9
fl3a commentedSandbox is good to go. Asked Jake Bell (theunraveler) for co-maintainership regarding allignment or official 8.x release/dev snapshot,
Thx capuleto for initial work und swentel for reviewing/testing of capuletos patch!
Comment #10
MaskyS commentedAttached a new patch that applies the changes mentioned in #7 of https://www.drupal.org/node/2624572.
Comment #11
gvso#10 is to respect to the sandbox project and not the 7.x version. This means that the patch can not be applied to the 7.x-1.x branch.
Also, can you please explain why you changed the gist type select for more filters?
Comment #12
MaskyS commentedJust realised what a mess I made. Sorry for any confusions I may have caused. Hiding up the previous patch; as gvso pointed out, that one wouldn't apply to the 7.1x branch. I'm now attaching two new patches, both of which will apply to the 7.x branch. One of them rerolls capuleto's patch (it wouldn't apply) and completes the port by adding a README file and removing the .info file. The second patch does the same as the first, but it also reworks the features to allow all three display methods to be used at once. (More details in https://www.drupal.org/project/2819998/issues/2931949) . Also attached an interdiff for making it easier to see the difference between the two attached patches.
Comment #13
gvsoCorrect all the "No newline at end of file" errors
I couldn't apply any of the patches at all. I got errors when applying them.
Also, please just provide a patch with an interdiff and remember to change the status to "Needs review"
Comment #14
MaskyS commentedFound out that I couldn't apply capuleto's patch and you couldn't apply mine because I was working on the master branch instead of the 7.1x branch. This should be good to go.
git clone --branch 7.x-1.x https://git.drupal.org/project/gist_filter.gitgit apply -v rework-features-port-to-drupal8-2624384-14.patchComment #15
gvsoRemove all the @file doc blocks from classes
Pass the callbacks as strings
for using the default embed method.', '
';
+ $output = $this->t('You can use
[gist:#####]for displaying just the code of your gist, or[gistlink:#####]for displaying the link of your gist.', '';
The second statement is overwriting what the string has in the previous statement. You want to concatenate instead.
Also the first statement is missing a parenthesis
No newline at end of file
Please install CodeSniffer and fix all the coding standard violations.
Comment #16
MaskyS commentedThanks gvso! I ran drupalcs and fixed the issues.
Comment #17
MaskyS commentedSome issue with the previous interdiff.
Comment #18
MaskyS commented