This project just defines a library for RiotJS (see http://riotjs.com/). It assumes the minified JS file has been downloaded to /libraries/riotjs/riotjs.min.js. I have not seen any module already doing this, which is why I'm creating one.

The sandbox project is over at https://www.drupal.org/sandbox/yusufhm/2838889.

Clone command: git clone --branch 8.x-1.x https://git.drupal.org/sandbox/yusufhm/2838889.git

Comments

yusufhm created an issue. See original summary.

PA robot’s picture

Issue summary: View changes

Fixed the git clone URL in the issue summary for non-maintainer users.

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.

jover’s picture

I did a review on your module.

Manual Review

Individual user account
[Yes: Follows] the guidelines for individual user accounts.
No duplication
[Yes: Does not cause] module duplication and/or fragmentation.
Master Branch
[No: Does not follow] the guidelines for master branch.
Currently the module only has 1 branch which follows the correct naming convention: "8.x-1.x"
So this means there's currently no alpha, beta or release candidate I suppose?
Anyway, the master branch should be deleted.
Licensing
[Yes: Follows] the licensing requirements.
3rd party assets/code
[Yes: Follows] the guidelines for 3rd party assets/code.
README.txt/README.md
[Yes: Follows] the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
[No: Does not follow] the guidelines for project length and complexity.
Secure code
[Yes: Meets the security requirements.]
Coding style & Drupal API usage
PAreview.sh
PAreview.sh gives some errors, see https://pareview.sh/node/842
Please make sure you have set a default branch for your module (more information about Setting a default branch).
composer.json
Maybe it's a good idea to include a composer.json file in the project so you can set the library as a dependency for the project.
And even more useful would be to add a section to the README on how to add RiotJS to someones project using Composer.
See the FlexSlider module for an example on how to add the Composer installation instructions (http://cgit.drupalcode.org/flexslider/tree/README.md?h=8.x-2.x).

If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.

This review uses the Project Application Review Template.

jover’s picture

Status: Needs review » Needs work
yusufhm’s picture

Status: Needs work » Needs review

Hi @jover,

I have made some changes to the module:

  • I removed the master branch and set 8.x-1.x as the default branch.
  • I added a composer.json file, with instructions on how to include the library as well with composer.

With regards to project length, the article on that link says that a git admin can still promote the project without giving me the git vetted user role; can it be done for this one?

What else would you suggest otherwise?

vlad.dancer’s picture

Status: Needs review » Needs work

Manual review

Code long/complex enough for review
Following this text from How much code do we need to approve a user:

I propose two simple rules that can be used to deny the "create full projects" permission:
* The project has less than five function or class method definitions
* The PHP/Javscript source code is less than 120 lines long (including comments and whitespace).

and that

This does not mean that projects that satisfy these rules will automatically result in the "create full projects" permission. We can always discuss if there are other reasons why a project in not enough for the "create full projects" permission.

I assume that this module should not be promoted as a full project.

Personal opinion:

You can use github.com to host your module instead of drupal.org, because this module isn't helpful at all.

It just provides a library definition (!) that you should download firstly before use this module.
I understand if you'll be created something like angularjs module (but I personally don't like modules that integrates some frontend frameworks with Drupal backend via modules) but you didn't.
It looks like doing for doing.
BTW: Every additional module will impact on Drupal performance.

klausi’s picture

Status: Needs work » Needs review

@vlad.dancer: thank you for your review, but short modules are perfectly fine. Anything else that you found or should this be RTBC instead?

vlad.dancer’s picture

Status: Needs review » Reviewed & tested by the community

...

apaderno’s picture

Assigned: Unassigned » apaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution!

I updated your account so you can opt into security advisory coverage now.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!

Thank you, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks go the dedicated reviewer(s) as well.

apaderno’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.