Focal Point Batch process all images that have not been previously processed by the Focal Point module. Installing Focal Point on an existing site may cause issues if there are entities with a large number of large images attached. This modules tells you how many images have not been processed and provides a way to batch process them.
Drupal Sandbox: https://www.drupal.org/sandbox/kevincrafts/2540958
Drupal: 7.3x
Git Clone Url : git clone --branch 7.x-1.x http://git.drupal.org/sandbox/kevincrafts/2540958.git focal_point_batch
Dependencies:
https://www.drupal.org/project/focal_point
Manual reviews:
https://www.drupal.org/node/2512512#comment-10334117
https://www.drupal.org/node/2541442#comment-10334199
https://www.drupal.org/node/2563333#comment-10337563
Comments
Comment #1
krknth commentedManual Review :
I installed these module with drush command - "drush en focal_point_batch -y"
Then @ admin/config/media/focal_point_batch page, I am getting these error
Fix comment standards
Add @param: Function parameters
Ref : https://www.drupal.org/node/1354
Function : focal_point_batch_trigger_form_submit()
Add $operations = array(); before foreach loop
Comment #2
kevincrafts commentedFixed #1 with query that does not depend on media module: http://cgit.drupalcode.org/sandbox-kevincrafts-2540958/commit/?id=f9a08fa
Comment #3
PA robot commentedWe 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
kevincrafts commentedComment #5
kreynen commentedadded a manual review so move this along
Comment #6
kevincrafts commentedI did a manual review of the Background image formatter project - https://www.drupal.org/node/2506013#comment-10334181
Comment #7
kevincrafts commentedComment #8
nitvirus commentedHi,
Did the manual review of the project. Ran the module through the coder, which no notices or warnings.
In the project description please write the dependencies, as this module had dependency on the Focal Point.
Comment #9
nitvirus commentedAlso,
You needed to remove the $focal_point_estimate after the module has been uninstalled.
Comment #10
kevincrafts commentedComment #11
kevincrafts commentedRegarding #9, I think the task of removing the focal point values, variables, etc should belong to the focal point module.
Comment #12
kevincrafts commentedComment #13
kreynen commentedI don't even understand #9. Projects should only delete variables they create, but that only applies to variable_set. The only reference to $focal_point_estimate I'm seeing is in _focal_point_batch_process_single where it is passed to _focal_point_guess_default where it is stored in db. The module being reviewed doesn't have an install or a single variable_set.
http://cgit.drupalcode.org/sandbox-kevincrafts-2540958/tree/focal_point_...
http://cgit.drupalcode.org/focal_point/tree/focal_point.module#n470
While this function could be rewritten to remove 1 line as...
That is really a style choice and not a release blocker.
Bumping this up to RBTC w/ the bonus.
It's worth noting that @kevincrafts already has commit access to projects owned by https://www.drupal.org/u/university-of-colorado-boulder.
Comment #14
nitvirus commentedOk,
That cleared it up.
Thanks
Comment #15
klausiReview of the 7.x-1.x branch (commit f9a08fa):
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.
manual review:
But otherwise looks good to me, so ...
Thanks for your contribution, kevincrafts!
I updated your account so you can 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 stay 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 reviewer(s) as well.