Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete sourceport files after an update #356

Open
Shockwave508 opened this issue May 23, 2024 · 3 comments
Open

Remove obsolete sourceport files after an update #356

Shockwave508 opened this issue May 23, 2024 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@Shockwave508
Copy link

Feature Request

Multiple versions of a sourceport could easily stack whenever a new update is installed, within the .cache folder, gradually draining onboard disk space over time.

Solution

If a new version of a sourceport is downloaded through Luxtorpeda, delete the older, obsolete version after successful install.

Additional Context

No response

@Shockwave508 Shockwave508 added the enhancement New feature or request label May 23, 2024
@d10sfan
Copy link
Member

d10sfan commented Jul 27, 2024

Currently the client doesn't have a concept of versions, in that it does not see the older content in there.

I could do some other things like either provide a mode to delete the cache files as soon as they are downloaded and used, which would save on disk but add more network traffic. Or have some logic to remove inside the folders files that don't match.

What are your thoughts @Shockwave508 ?

@d10sfan d10sfan added the question Further information is requested label Jul 27, 2024
@SkylarLK
Copy link

SkylarLK commented Sep 6, 2024

Currently the client doesn't have a concept of versions, in that it does not see the older content in there.

I could do some other things like either provide a mode to delete the cache files as soon as they are downloaded and used, which would save on disk but add more network traffic. Or have some logic to remove inside the folders files that don't match.

What are your thoughts @Shockwave508 ?

I think the latter is a good stopgap measure.

@Shockwave508
Copy link
Author

Latter is good. Will prevent obsolete copies piling up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants