Opened 4 years ago

Last modified 13 months ago

#7511 assigned enhancement

Hack deletion

Reported by: otaku42 Owned by: otaku42
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: rjollos, otaku42, osimons, jun66j5 Trac Release: 0.12


Add something that allows to delete hacks when necessary. This should reverse all changes that had been done when the hack has been registered. See also #5785.

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by otaku42

  • Owner changed from athomas to otaku42

comment:2 Changed 4 years ago by otaku42

  • Status changed from new to assigned

comment:3 Changed 4 years ago by rjollos

  • Cc rjollos added; anonymous removed

comment:4 follow-up: Changed 20 months ago by hasienda

  • Cc otaku42 osimons added

I'm not entirely sure, if one should be allowed to delete even its own hack.

Deleting the hack branch in the repository is likely possible for the hack author/maintainer even now. Note though, this is more like moving documents to the recycle bin than a true deletion. The reason behind is, that in general a changeset cannot be withdrawn from a repository as well, at least not without altering history. While this leads to seemingly religious discussions, I feel, that it is common sense to not do that at least for public repositories.

Deleting wiki pages is reserved to admin for good reasons. I'd strongly suggest to not go for a more liberal approach, because it works without problems AFAICS.

To summarize, there are strong arguments against making hack deletion as easy as deleting user accounts. I suggest to leave it to the admin group. Thoughts?

comment:5 in reply to: ↑ 4 Changed 20 months ago by rjollos

Replying to hasienda:

I suggest to leave it to the admin group. Thoughts?

Yes, I think it is best to leave it to the admin group. When I read this a while back, I assumed that is what otaku42 had in mind when creating this ticket.

For admins, it would provide a convenient way to clean up after spam hack creations. I've only seen a few of those so far, but I can see an advantage to making it a one-step process: remove the wiki page, component, tickets for component and repository with one command.

comment:6 Changed 13 months ago by rjollos

  • Cc jun66j5 added

The manual steps to remove a hack are:

  • Delete the Component.
  • Close tickets associated with the Component.
  • Remove entries from the svn authz file.
  • Delete the wiki page.
  • Delete the directory from the repository.

It should be fairly straightforward to execute those operations from a Delete Hack button on an admin page.

Add Comment

Modify Ticket

as assigned The owner will remain otaku42.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.