Comments (14)
blocklist directory could contain non .bin manually added user files and there would be no method of determining specifically which the user might not want for future editing and production of the resulting liked named .bin. A file named blocklist.bin is produced from a valid blocklist url but even so we still don't know if the user renamed a different .bin to this for whatever reason. Summed up I don't see how to safely remove anything from the blocklist directory other than parsed files which produced no valid results and .bin but this is not something XML could possibly determine.
There was an issue with blocklist.tmp (actually a file descriptor) being leaked but it's been fixed.
https://trac.transmissionbt.com/changeset/14230
https://trac.transmissionbt.com/ticket/5583
resume files could be safely cleaned if no exactly like named torrent file was found.
As mikedld proposes, this needs to be fixed or the cleaner removed.
from bleachbit.
As you've both pointed out, since fixing this might be tricky from a technical standpoint, how about we relabel the options so users can make their own informed decisions? Would the above patch be ok?
from bleachbit.
I think that would be OK if we changed:
"Delete the blocklists" to something like this "Delete ALL the blocklists (blocklists will need update to work)"
and
"Remove all torrents" to "Remove all torrents (associated data will remain)"
The user needs to be informed of the final results detail.
from bleachbit.
What's the associated data that will remain? Keep in mind that we want the wording to be succinct, so there will be less work for translators.
from bleachbit.
The data that remains is the torrent's downloaded and/or seed data. Transmission clients, for instance the web client, use wording like this when removing torrent(s):
"Remove from list"
"Trash data and remove from list"
I think that it should be clear that the associated torrent data is not being removed as well.
from bleachbit.
And the seed data would be ~/.config/transmission/stats.json
?
from bleachbit.
No, what I meant was the actual files downloaded or the actual files supplied by the user to seed/upload. The files associated with the .torrent and .resume files don't always have to be downloaded but can also be user supplied and therefore seeded/uploaded.
The stats file is overall stats for the application as a whole and I don't know why that should be deleted.
from bleachbit.
Ok, how about ^that^
With <warning>
the user will get a popup letting them know that the blocklists option will reset their blocklist settings, and I tweaked some of the wording.
from bleachbit.
Looks fine to me :)
from bleachbit.
oops, I think I might have done something wrong when I was testing the cleaner. For some reason after deleting the blocklists, my blocklist settings where also reset to defaults (enable/disable state for using blocklists, url for the list, enable/disable state for automatic updates), which doesn't make sense because those seem to be stored in ~/.config/transmission/settings.json
. Now when I delete the blocklists, the settings remain in tact, is this the case for you as well? If so I'll change the warning to "Blocklists will need update to work." like you suggested.
from bleachbit.
"Blocklists will need update to work.
That works for me.
from bleachbit.
Fixed the warning and sent a pull request
from bleachbit.
Changes where merged, thank you @cfpp2p and @mikedld for reporting
from bleachbit.
Yes, thank you. :)
from bleachbit.
Related Issues (20)
- Add a custom cleaner to clear cache for all flatpak applications HOT 1
- Opera Browsing History Not Deleted On BleachBit version 4.6.0
- Random GUI crash on Win 10? HOT 3
- Custom cleaner fails to find files when walking a directory tree. Files are found when walking similar tree
- MSVCR100.dll error HOT 5
- Not possible to set/select a language. Ini settings not respected.
- Bleachbit 4.60 Errors HOT 3
- Syntax warnings in BleachBit 4.6.0-1 on Ubuntu 24.03 HOT 2
- App;ication was unable to start properly. Error code: 0xc000007b HOT 5
- Progress bar HOT 2
- Donations Link On Site Fails - I wanna buy you a beer and cant
- How to automate in batch or ahk script? HOT 3
- Misleading App Title In Panel HOT 2
- Better GUI Design [UI/UX Enhancements] HOT 2
- Weird process name in Task Manager HOT 3
- i can't open the software HOT 5
- Request Add Librewolf to Cleaners
- Google Chrome bug HOT 15
- Bleachbit will not open nor run... HOT 2
- Add a wildcard operator to the inclusion/exclusion lists [Feature Enhancement]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleachbit.