Currently, the settings for comments (allowed/disallowed), file attachments to the nodes themselves, and default node promotion are not what they are on d.o itself.

The attached patch disallows comments and file attachments on project_project and project_release nodes, and prevents project_project, project_issue, and project_issue nodes from being promoted by default.

Comments

aclight’s picture

Assigned: Unassigned » aclight
Status: Active » Needs review

This is CNR, obviously.

dww’s picture

Status: Needs review » Needs work

disabling comments and file attachments by default is a good move, i guess. however, i kinda like that issues are promoted. this is a project* test environment after all, and it's nice when you're testing new issues to have a trivially quick way to get to them again. can we just leave out that part of the patch?

aclight’s picture

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

Ok, this patch removes the lines that changed project* nodes to not be promoted to the front page.

I haven't tested this revision of the patch, but since I just deleted 4 lines added in the previous patch I don't think there should be any problems.

dww’s picture

Status: Needs review » Needs work

Tried it out. The auto-generated projects still have the wrong settings, since they're created before these variables go into effect.

aclight’s picture

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

Ah, yes. Of course.

This should do the trick. Tested and the settings are correct for project nodes created during the execution of the installation profile.

dww’s picture

Status: Needs review » Fixed

That works. Committed to HEAD. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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