Needs work
Project:
Project
Version:
7.x-2.x-dev
Component:
Releases
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 May 2007 at 15:52 UTC
Updated:
16 Apr 2019 at 19:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
agentrickardI would go with option #2 -- bulk unpublish everything associated with a project.
Should be a fairly simple implementation of hook_nodeapi() in both the project_issue and release modules.
Comment #2
drummWith #2072309: PHP notices when visiting a release or issue node belonging to a deleted project and what happens when duplicate release nodes try to get packaged, this would be good to solve.
For packaging, unpublishing is not enough. The packaged files want to be named the same in the filesystem and
files_managedtable. The collisions are not handled well.I would be okay with either approach. If bad releases aren't automatically deleted, I can go ahead and delete them myself.
Comment #3
drummDangling releases actually cause all sorts of problems on Drupal.org now - they jam up Solr indexing and make the packaging queue noisy. For Drupal.org, we want to make it difficult to delete a project.
Comment #4
avpadernoI am proposing a slightly different patch that doesn't allow to delete a project if there are commits or issues. Users who can bypass the node access permissions can still delete projects with committed code or issues.
Comment #6
drummThe
projectproject containsproject_release, but notproject_issue. This patch should be checking for releases, not issues.As a www.drupal.org priority, #3046921: Make it possible to delete spam projects’s allowance for deleting projects without code makes this issue lower-priority or unnecessary. A project with releases will always have code.