ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Delete own project

Added by Denny Schierz at 2013-03-14 11:08 am

hi,

I want, that my studies can delete there own projects in our Chili 3.5.0. After searching a while, I found this plugin: http://www.redmine.org/attachments/download/8696/redmine_delete_project.tar.gz . Is it safe to use it with Chili?

cu denny


Replies (5)

RE: Delete own project - Added by Chris Dähn at 2013-03-14 08:49 pm

Hi,

I currently cannot say if this plugin does harmful things - due to the fact that you have to give your users / their group a new right (ACL) that they are allowed to delete their projects..:

You meant this plugin, right?
http://www.redmine.org/boards/3/topics/13521

I can check it for you by trying it out on a testing system...

ciao,
Chris

RE: Delete own project - Added by Denny Schierz at 2013-03-15 06:46 pm

hi chris,

that would be great. It costs to many time to delete old projects from students (several thousands) and I have a lot of dead projects too, so I think, it is a good idea, that they can delete there own projects. Maybe, it is also possible that the SVN/Git archive would be also deleted with the SCM plugin.

RE: Delete own project - Added by Chris Dähn at 2013-03-15 06:57 pm

Removing the SVN/Git by the plugin would require to develop it (currently I'm no real Ruby dev, just small hacks are possible)...

Further I would be very careful deleting any repositories - but this could be done by a simple script, too.

The idea:
If every repository is linked to a ChiliProject project with the same name, then a script (nightly cron job) can find out all no more references repos. And (for security reasons) maybe checks them for an inactivity of (for example) 30 days - and only then deletes the repos. So you won't loose all files, if a project was deleted by accident.

And: So this special job can be done outside ChiliProject - which makes the process of software development a little bit easier ;)

What do you think? Is that an accaptable solution?

ciao,
Chris

PS: I'll try to check the Redmine project within this weekend - and provide you a link to a public testing server running it.

RE: Delete own project - Added by Chris Dähn at 2013-03-17 07:49 pm

Hi!

I tested the delete plugin on my testing site: http://projects.3dh.de/chiliproject/

After fixing the Redmine-Stuff in redmine_delete_project/config/routes.rb (ok, a real Ruby dev should check it twice),
I encountered a compile error when executing "Delete Project" button in the side menu :-(

So maybe this could be solved by a short fix - but here I definitively need help by Felix or Holger...

Therefore I'll create an issue and provide logs and my sources for that - hopefully they have time to help us...

ciao,
Chris

RE: Delete own project - Added by Denny Schierz at 2013-03-21 09:07 pm

hi too :-)

thank you for testing. It would be great, if Felix or the the plugin owner can fix it :-)

cu denny

(1-5/5)