Automating Repository Deletion

Added by XDjuj Apsulis almost 13 years ago

Hi.

As mentionned here :
http://www.redmine.org/wiki/1/Automating_repository_creation

We can automating creation of repository.

Is there a script to automating deletion when a project is deleted from Redmine in order to delete files in the SVN (or what ever) hierarchy ?

I have seen the
  1. -c, --command=COMMAND use this command instead of "svnadmin create"

I suppose that we can use svnadmin delete or something like this.

But I'm not sure of what reposman.rb is doing or searching for.

So if someone had made it before or have a solution :)

Thx and have a good day.

Replies (1)

RE: Automating Repository Deletion - Added by XDjuj Apsulis almost 13 years ago

Maybe it's a bit hardcore to do this like this :)

Automating Deletion could be dangerous, but it could be great to have a way to delete Repos that have been deleted and that are not linked to any another project (eg. if I rename a project).

So every manager could delete project in redmine and don't have to make the same in SVN root.

I'm not sure to explain well what I'm trying to have, but I do my best :)

Thx !

(1-1/1)