Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Jul 2013 at 23:25 UTC
Updated:
2 Jul 2018 at 08:45 UTC
Jump to comment: Most recent
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxgenox2032173git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
Anonymous (not verified) commentedI cleaned up the reported errors by the PA robot and created a "7.x-1.x" branch (removed "master" branch).
Comment #3
jiong_ye commentedThere are a few uninitialized variables within a switch statement.
Have you consider making your module dependent on the shortcode module. https://drupal.org/project/shortcode
I have used it for company projects. It provides a nice API for handling and processing shortcodes. It frees you from having to handle more complicated attributes and allows you to focus on your column logics
Comment #4
Anonymous (not verified) commentedThanks for having a look. I set error_reporting(-1) and I don't get any reports about uninitialized variables. Can you check again? I adjusted a couple of things meanwhile.
I had a look at the module you mentioned. I would like to avoid introducing dependencies for this rather simple matter. I wouldn't have a need for any of the other shortcodes which are included in the module (yet). But I might reconsider when I add more functionality later on. For now, I would like to avoid dependencies.
Comment #5
Anonymous (not verified) commentedforgot to change status ... :-P
Comment #6
Anonymous (not verified) commentedBy the way, here's an example of the current output: http://d7dev.genox.ch/test
Comment #7
asplamagnifique commentedHi
Some clean you can easy apply :
String used on t() function seems clean.
Comment #8
Anonymous (not verified) commentedThank you for the review. I committed the changes.
Comment #9
hatuhay commentedHello @genox,
Nice work!!
Checking functionality.
Comment #10
Anonymous (not verified) commentedThanks for the review. It shouldn't make a difference wether the the shortcode tags are being encapsulated by HTML tags or not. The module runs the HTML code thru the HTML corrector provided by D7 in order to fix broken semantics (missing closing tags, missing opening tags etc.) after breaking the content into chunks and then removes the empty tags.
I just updated the version in the sandbox with finetuned Columnizer settings and a couple of fixes and optimizations on other ends. I use the module already on a couple of productive websites and it seems to works pretty good so far. It's a lot easier to get a couple of simple columns working here and there, without the need for complicated setups. However, I don't get around getting to test each and every edge case myself..
I would appreciate it if the module were "allowed" to be published in the d.o. catalog.
Comment #11
klausiI'll look at this now in the Project applications sprint
Comment #12
dman commentedHi genox.
I'm afraid that the drupal.org policies explicitly forbid inclusion of third party code libraries :-( .
Not only, but CC-BY-3.0 is incompatible with GPL, which is required by all files uploaded for hosting on d.o. - as per the Terms of service everyone agrees to.
And, even if it were, Simply being GPL is still not enough for inclusion for distribution from here, because drupal.org doesn't host GPL-"compatible" code
That sort of puts a blocker on the module you are putting up for review here.
There are work-arounds - which generally involve removing the conflicting code and providing user instructions for fetching it themselves. It's a bit of a hassle, but it's all about respecting the licenses correctly. As the code review process is all about doing things in the legal way, you'll have to do this right.
Your README and help shows a good start though, and your structure is good.
I'd hope that a contrib module based on code of your own would have a better chance of passing review.
I don't see that adding the requirement of SASS just to use this module is appropriate here. It seems to add complexity and complicates integrating it with existing themes. Can this module not work without that?
I'm tempted to push this right back to 'closed' as the javascript license thing it a total roadblock, but if you think this can be useful without including the licensed code directly, then it could be worked on.
Comment #13
Anonymous (not verified) commentedTo clarify, if I "outsource" the code as a library which has to be manually added, I get green light?
If so, I will add a dependency to the Libraries module and maybe even go the extra mile to create a drush command to fetch the current version and place it in the sites libraries on a user's command. Writing such a library myself is out of the question.
SASS is not a necessity, the SASS files are included providing "added value". As you can see, the CSS is merely a few lines and whoever wants to change those is not dependant on SASS. However, defining which workflow is suiting and wether SASS is appropriate or not is clearly depending on personal opinion. If it makes anyones sleep better, I simply remove the SASS files from the project and keep them to myself, but really, I don't see the point.
Thanks for reviewing, and please let me know about the proposed inclusion of the library.
Comment #14
dman commentedIf you replace the included code with instructions to include it as a library, this can be put up for review again.
It can be said that SASS or not is a choice. I feel that adding it as a requirement to *this* module dilutes its purpose for little gain. I'll leave that judgement open for a second opinion.
I found some elements of the code and what it does to the text a little clunky, it was a little hard to follow, and token-based chopping up of HTML always hurts.
But for Drupal Code Standards review, if you sort out the licenced code issue, someone else can take a look at it and make a call then.
Comment #15
Anonymous (not verified) commentedI will rearrange things accordingly. Thank you for your time.
Comment #16
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.