This module integrates with the Po.st social sharing service.

Drupal Version: 7.x

Po.st Project Page

Git Repository

CommentFileSizeAuthor
#5 errors.txt1.63 KBmuneer1st
#1 drupalcs-result.txt8.57 KBklausi

Comments

klausi’s picture

StatusFileSize
new8.57 KB

Welcome!

you have not listed any reviews of other project applications in your issue summary as strongly recommended in the application documentation.

It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

jswainst’s picture

Most of the issues found above have now been fixed.

rrbambrey’s picture

Status: Needs review » Needs work

Hi there,

Automated review:
There's still a few outstanding issues from the automated review, check them out here http://ventral.org/pareview/httpgitdrupalorgsandboxjswainst1547216git
It also looks like you've got extra files in your master branch still too. Have a read of http://drupal.org/node/1127732

Manual review:

  • You don't need to specify package = other in your info file, it will default to this if no package is defined
  • In post.admin.in you've got concatenation inside your t() function, use placeholders instead so that it's all one string literal. Have a look at this comment in the api docs.
  • Line 172 in the same file, probably best to wrap this in a t() as well.
  • For ease of reading, wrap your README.txt to 80 characters
  • post.module line 57 - might be more readable to multi-line this if statement

Other than that for a first look through it looks like nice tidy code. Good stuff!

jswainst’s picture

Status: Needs work » Needs review

Thanks for looking over the code and for the suggestions.

I committed another update to fix the issues mentioned above and in the automated review.

muneer1st’s picture

Status: Needs review » Needs work
StatusFileSize
new1.63 KB

Still I can find some error with Drupal Code Sniffer, Refer to the attached file.

klausi’s picture

Status: Needs work » Needs review

Very minor coding standards errors do not justify "needs work". Please provide a manual review.

jswainst’s picture

Priority: Normal » Major
Elvar’s picture

Hi jswainst.

I have taken a look at your code, this is what i came up with

1. A suggestion, would be to do some cleaning in your file structure, putting css files under a css folder, and templates under a template folder & js etc.
2. post_button.tpl.php: keep in mind that i'm not familiar with the the po.st API, but is it really necessary to have a

in a template file? 3. you got 2 stylesheet files, both have less 15 lines of code, why not just use one file, and use a comment as seperator? 4. post.theme.inc: this should use Drupal.behaviors, right? http://drupal.org/node/756722 Last, your README, seems a bit short on info, maybe you should work on it a bit :). Hope you can use my tips, happy developing :-)
jswainst’s picture

Thanks for the review Elvar.

Below are my comments on the items above:

1. I agree additional structure is important, but not necessary for a small module.
2. The tpl.php file makes it easy for a themer to override the generated html code.
3. The two stylesheets have a purpose. One is for an admin page, and the other for when content is loaded.
4. I changed the js to use Drupal.behaviors.

jswainst’s picture

Priority: Major » Critical
Anonymous’s picture

Priority: Critical » Normal

Why do you keep putting a higher priority ? If you want to get there faster get a review bonus

Bartuc’s picture

I reviewed the module and everything looks good. I use separate tpl.php files for much of my theming and, at least for me, it seems to make things cleaner and easy to work with.

greggmarshall’s picture

Status: Needs review » Reviewed & tested by the community

I too have reviewed the module and it looks fine by me.

I don't see the automated review messages as any major issue worth blocking this.

sreynen’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution, jswainst!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

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 get involved!

Thanks, 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 to the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

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