Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#978 closed Enhancement (fixed)

Project reset should delete all files in \BOINC\Projects\{Project directory}.

Reported by: Ageless Owned by: davea
Priority: Minor Milestone: 6.12
Component: Client - Setup Version: 6.10.25
Keywords: Cc:

Description (last modified by Ageless)

While doing a back-up of my BOINC Data directory after I ran all work available, set all projects to NNT and did a project reset on ALL projects I am attached to, I found that a lot of files were kept in the project directories.

At this point, when you reset a project, then check its directory in BOINC\Projects\{Project dir}, 9 out of 10 times you'll find remnants of files still in the directory.

These remnants can be simple view image files, remnants of tasks, old executables, zip files, etc. which easily add up to multiple (unnecessary) megabytes of data. All kinds of stuff you'd expect to be gone by a reset are still kept on. Of course, when an anonymous platform (app_info.xml) file is in the directory, nothing should be removed from this directory on a reset.

So my enhancement request is for BOINC to check on a project reset whether or not an app_info.xml file is present in the project directory and if not, to indiscriminately delete everything in the directory. Because what else is the reset option there for, if it doesn't reset the project completely and gets rid of all the (old) files?

I know a project detach and reattach does this, but that's so cumbersome and shouldn't be necessary to do either.

Change History (5)

comment:1 Changed 14 years ago by romw

Owner: changed from romw to davea

comment:2 Changed 14 years ago by Ageless

Description: modified (diff)

comment:3 Changed 14 years ago by davea

Resolution: fixed
Status: newclosed

(In [21086]) - client: clean out project dir on reset. fixes #978

comment:4 Changed 14 years ago by romw

(In [21104]) - client: clean out project dir on reset. fixes #978

client/

client_state.cpp

comment:5 in reply to:  3 Changed 14 years ago by Ageless

Replying to davea:

(In [21086]) - client: clean out project dir on reset. fixes #978

Will that take into account that an anonymous platform file is in there, and if so that it won't clean out everything?

I'd hate to be on the bad side of everyone who sees his anonymous platform files go plonk when they reset the project for some reason or the other. ;-)

Note: See TracTickets for help on using tickets.