CVS edit link for amrit_b

Recently I developed a module to delete ALL nodes of any content-type from the admin panel. I want to make that available to the drupal.org community. I searched a lot for this type of module but couldn't find any, so I took the initiative to develop one.

In future I want to contribute more modules to drupal.org.. I am an engineering student and want to be a drupal.org developer and themer professional. I also work on Android and iPhone platforms, but not much.

CommentFileSizeAuthor
#1 delete_all_nodes.tar_.gz1.05 KBamrit_b

Comments

amrit_b’s picture

StatusFileSize
new1.05 KB

here I am attaching a zipped file of my new module named as delete_all_nodes. This module give a admin page, there the administrator can select a content type and press the delete button. Then the module deletes all the nodes of that content type. Its for Drupal 6.x

This is my first drupal module.... little scared :(

thanks

amrit_b’s picture

Status: Postponed (maintainer needs more info) » Needs review

I have uploaded the module. Now it needs your reviews..

avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Module review

Hello, and thank you for applying for a CVS account.

The feature implemented from the proposed module is already present in Drupal: in the page admin/content/node is possible to filter the list of nodes by the content type, and delete the selected nodes.

amrit_b’s picture

Status: Needs work » Needs review

Thanks for replying.

Yes I know that if we go admin/content/node then we can delete the selected nodes of a specific content type.

BUT, what if i have 8000 nodes of type 'Story' and want to flush the databases..?? is is possible to go the default drupal way to delete all those 8000 nodes by selecting them?

I my module, you have to only select the content type, and press delete button. tats it! no need to select individual nodes, like the default way.

I faced this problem lats week. When my client wanted to import around 6000+ product nodes from filemaker pro. and then she asked me to delete all the older ones and do the import once again. I ended up with flushing the ALL the database tables (i took a backup before the import)..

I made this module for Drupal 6.x to help users in situations like these.. Can't you reconsider your decision once again?

thanks

avpaderno’s picture

As per requirements, the motivation message should include a description of the features of the proposed module (more than two sentences), and a comparison with the existing solutions.

amrit_b’s picture

Okay. I am extremely sorry for not writing those lines in the motivation. This is my first module and will never make these type of mistakes again.

So what should I do now?

thanks

amrit_b’s picture

any instructions on my module.....?

drupalshrek’s picture

Hi,

Glad you want to contribute!

Here as part of your CVS application you need to compare your module with other existing similar modules on Drupal. Things like:
- what other modules/ways to do similar things (e.g. http://drupal.org/project/massdelete)
- what the differences are between yours and the similar modules
- if there are really none, what modules are at least in the same domain and why they are completely different.

Hope that helps.

drupalshrek’s picture

Status: Needs review » Needs work
amrit_b’s picture

Status: Needs work » Needs review

As far as I know, currently there are two modules available to do similar kind of jobs.
1) http://drupal.org/project/delete_allt
2) http://drupal.org/project/massdelete

Both of these modules are not being maintained and also compatible only Drupal 5.x

My module if compatible for Drupal 6.x and soon i'll release a Drupal 7.x version (if Drupal 7 doesn't have this feature inbuilt, which it should have btw) :-)

thanks

drupalshrek’s picture

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

Hi,

The correct approach is to take over (or assist) with the existing 2 modules rather than start a new one with the same functionality. You can contribute patches without even having CVS access.

I would suggest you talk (via the module issue queues) to the owner of the module which you think is closest match.

You can make the module exactly as you want it for your own use, but for general Drupal use, it's best to have 1 well-maintained module rather than 3 almost identical modules where the effort is divided by 3, so unfortunately that's the approach to go.

awolfey’s picture

Additionally, the devel module (devel_generate) can also delete all nodes by content type.

avpaderno’s picture

Component: Miscellaneous » new project application
Issue summary: View changes

Please read the following links as this is very important information about CVS applications.