Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Cleaning old Downloads
Cleaning old Downloads [message #756258] Fri, 11 November 2011 17:06 Go to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 213
Registered: July 2009
Senior Member
Is there anyway we can cherry pick old downloads and clean it off from the local sapphire downloads directory, just to save space on the local drive.

This typically useful when we keep updating the sources and build them locally on fortnightly basis or so ..

I guess we could completely wipe off the downloads, but it will be great if we can be selective on the same. Not sounding like a good idea ? but just curious to know if we can do that.
Re: Cleaning old Downloads [message #756314 is a reply to message #756258] Fri, 11 November 2011 22:09 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Controlling the downloads cache is definitely a problem, but we currently have no good solution for it. The only thing that works is to nuke the whole directory periodically. The cache is very simplistic. It just hashes the download URL to produce the local file name. But that means, there is no way to list/manage contents selectively. Need to improve it somehow... Will probably use last use time stamps and expiration.

- Konstantin

[Updated on: Fri, 11 November 2011 22:09]

Report message to a moderator

Re: Cleaning old Downloads [message #756357 is a reply to message #756314] Sat, 12 November 2011 11:15 Go to previous messageGo to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 213
Registered: July 2009
Senior Member
Thanks. Shall i a open a bug for it so that we can track it and fix it when we have time ?
Re: Cleaning old Downloads [message #756478 is a reply to message #756357] Sun, 13 November 2011 20:53 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Sure.
Previous Topic:Planning Sapphire 0.4 rampdown and beyond
Next Topic:Sapphire talk proposal for EclipseCon North America 2012
Goto Forum:
  


Current Time: Thu Sep 26 21:23:09 GMT 2024

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top