The first of those use cases is covered by the "Remove clearcase view on rename"
option, in the ClearCase advanced options of a job. I think it probably is best
that not removing the view should remain the default option in that case, so I
think we're ok there.
The third use case should also already be working - when the job is deleted, the
view should also be deleted. If that's not happening for you, open a bug for that.
The second use case is one I ran into a couple weeks ago when a coworker of mine
wiped out the workspaces of all my jobs to free up disk space while I was out of
town. So yeah, the current behavior (deleting the view directory, but leaving
the view registered with ClearCase) is definitely not the correct behavior, and
it should hopefully be cleared up by the work I'll be doing for this issue. It
will probably require some changes in AbstractProject.doWipeOutWorkspace, though.
Use cases #4 and #5...I don't honestly know how to detect those changes to the
job configuration before they've actually been made. If you could open an
enhancement request for those two scenarios (just the one issue covering both
cases should be fine), I'll see if there's anything I can do when I get a chance.
Assigning to me.