Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2015 at 00:06 UTC
Updated:
17 Aug 2015 at 16:25 UTC
Jump to comment: Most recent
Comments
Comment #1
alex43210 commentedIt's better to use Drupal's code style. As one method, you can use http://pareview.sh/ .
About code - all must work right, but isn't it better to make regex configurable (for easy adaptation to ther formats)?
Comment #2
sandiracy commentedI have applied drupal coding standard to this module code and this module works properly also i have added the configuration page for user to change the regex if they want to change
Comment #3
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
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 #4
sandiracy commentedComment #5
sandiracy commentedI have fixed some errors, but i have no idea with the remaining errors
http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
Comment #6
jadhavdevendra commented1. Correct your git repository address in the issue summary. (search for git clone in below link)
2. Mention drupal version in the issue title. [D7] Indonesian Phone.
Please follow https://www.drupal.org/node/1011698 documentation.
Comment #7
k_zoltan commentedFor resolving the Pareview issues please have a look at Drupal Coding standards
You could try the followings:
Comment #8
sandiracy commentedComment #9
sandiracy commentedNow i just have one error on git http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
How can i solve it ?
Comment #10
sandiracy commentedComment #11
k_zoltan commentedOn Drupal.org branches are for development, so you should merge all the development into the branch 7.x-1.x
You will have to deal with releases only after you module is approved. Sandbox modules can't have releases.
Releases will be done using tags not branches.
See the naming conventions
Comment #12
sandiracy commentedComment #13
sandiracy commentedNow on my sandbox i have 3 branch, there are 7.x-1.x, 7.x-1.0, 7.x-1.0-dev
I just want 7.x-1.x branch
How to remove other branch ?
I have tried git branch -d -r origin/7.x-1-0 and git branch -d -r origin/7.x-1.0-dev and then git push
On my local repository when i type git branch -a, that just shown 7.x-1.x branch only, but on my sandbox the other branches is still exist
Am i wrong ?
Comment #14
jyotisankar commentedHi Sandiracy
I have few suggestion for your module. Please refer below for the same.
1. hook_help() is missing in this module.
2. You have used variable_set(), variable_del(), variable_get() to store, delete and retrive the regular expression in your module. It can be done by defining a constant in your module.
Thanks
Comment #15
sandiracy commentedI used variable_* because i want the regex configurable as suggestion from alex43210 (https://www.drupal.org/node/2428393#comment-9634635), if i used constant, the regex cant configurable
I have implemented hook_help and i have no error on http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
Comment #16
sandiracy commentedComment #17
gownikarunakar commentedHello Sandiracy,
I installed the module and please find the coder module review comments:
indonesian_phone.module
severity: minorreview: style_button_submitLine 141: When labelling buttons, make it clear what the button does, "Submit" is too generic. [style_button_submit]
'#value' => t('Submit'),
severity: minorreview: sniffer_commenting_functioncomment_returncommentnewlineLine 157: Return comment must be on the next line [sniffer_commenting_functioncomment_returncommentnewline]
* @return string return the regex
severity: minorreview: style_trailing_spacesLine 170: There should be no trailing spaces [style_trailing_spaces]
return '
' . t('Indonesian phone module is a module that provides an indonesian phone format
severity: minorreview: style_trailing_spacesLine 171: There should be no trailing spaces [style_trailing_spaces]
field. You can change the configuration on indonesian phone administration
Thanks & Regards,
Karunakar
Comment #18
sandiracy commentedTo review your comment, i have tried to install coder sniffer based on https://www.drupal.org/node/1419988
But i have no idea with "installed_paths" on command below
phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer
Comment #19
mpdonadiosadiracy, the easiest way to check for code style issues is with the pareview.sh website, http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
Comment #20
mpdonadioIf that fails for whatever reason please get back to us and set this back to "needs review".
Comment #21
sandiracy commentedI have no error on http://pareview.sh/pareview/httpgitdrupalorgsandboxsandi-racy2428375git
I created this module because module phone doesnt support indonesian phone number format
Comment #22
darol100 commented@sandiracy just like @mpdonadio mention
The reason why you would created a patch is to added the Indonesian Phone support to the Phone Module.
Comment #23
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #24
darol100 commentedAs we change our project application process in #2453587: [policy, no patch] Changes to the project application review process we are not allowed to block applications base on module duplication. We can still recommend collaboration over competition, but we should not enforce it.
Comment #25
klausimanual review:
The empty project page is a blocker right now, please fix that and the other issues. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #26
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.