CVS edit link for rasantiago

We are a consulting shop focused on the nonprofit sector. We develop on Drupal for many of our clients and often find we have code that we would like to contribute. Specifically we have created an integration module for the Domain Access module and the Context module. The request for this can be found here http://drupal.org/node/689972.

Comments

rasantiago’s picture

StatusFileSize
new7.14 KB
avpaderno’s picture

Status: Postponed (maintainer needs more info) » Needs work
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.

As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module/theme; for modules it should include also a comparison with the existing solutions, while for themes a screenshot is also required.

avpaderno’s picture

Status: Needs work » Closed (won't fix)

There have not been replies in the past week. I am marking this application as won't fix.

R.J. Steinert’s picture

StatusFileSize
new31.7 KB

I didn't get an email notification for comment #2. Here is a more detailed description:

Domain Context module is an integration module for the Domain Access module and the Context module.

The Domain Access module allows administrators to set specific settings for each of their domains that are using the same code base. The Context module allows you to target blocks to regions (and more) given certain conditions that can be set in the Context admin. Currently when both modules are installed you have no interface that will allow you to trigger a Context on a specific Domain. This module utilizes the $_domain global variable exposed by the Domain module and adds the Domain condition to the Context admin that will allow you to trigger a Context on a specific Domain.

If you do not want to use Context to target blocks to a Domain, check out the Domain Blocks module

R.J. Steinert’s picture

Status: Closed (won't fix) » Needs review

Please check out our new description.

matt2000’s picture

Minor notes:

-No need to include LICENSE.txt when you commit to CVS. Drupal.org adds it for you.
-There's some commented-out code that should be removed, e.g., domaincontext_init()

I don't have specific experience with the context API, but I've used both Context and Domain Access and this looks useful. I've done a casual security review, and don't see any obvious issues. The module uses provided APIs consistently.

If someone else can toss this in a sandbox and make sure it works as advertised, I say RTBC.

R.J. Steinert’s picture

StatusFileSize
new7.12 KB

Thanks Matt! Commented out code removed.

rwohleb’s picture

I'm taking a look through the code now. Here are my thoughts:

  • The info file lists version and project. These should be removed as they are automatically added by D.O.
  • The license file is still included and should be removed.
  • You have ctools listed as a dependency but never really use ctools directly. You have the ctools plugin hook to integrate with the context module that already requires ctools. You can leave the ctools dependancy out.
  • The code looks clean when it comes to Drupal coding standards.
  • The code works as advertised.
avpaderno’s picture

Status: Needs review » Needs work

I am changing status as per previous comment.

rasantiago’s picture

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

Version and project information removed. License file removed. Dependency on cTools removed.

R.J. Steinert’s picture

Any progress on approving the rasantiago account and this module?

bibo’s picture

I'll say that I am going to use this module, and hope it becomes a contrib module soon :)

(+ subscribe)

R.J. Steinert’s picture

**knock** **knock** Anyone here to approve this module? :)

bribiz’s picture

I'm also interested in seeing this approved. Subscribing.

jide’s picture

+1

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community

As the Domain Access maintainer, I expressly asked that this module be split, since I cannot support Content integration questions. See #689972: Context module support.

There is nothing in the code that should delay this application.

avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. 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.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

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

xjm’s picture

I have created this project and added it to CVS. A development snapshot will be available within the next 24 hours for testing. I will transfer maintainership if/when rasantiago is available.
http://drupal.org/project/domaincontext

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes