move everything to the sqlite db

Bug #1103294 reported by Jonathan McDougall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
baretorrent
Confirmed
Medium
Jonathan McDougall

Bug Description

The configuration directory currently has 1) the sqlite db for the all options; 2) a .state, .fastresume and .torrent for each torrent; 3) baretorrent.queue.xml for the list of torrents; and 4) baretorrent.session for the session settings.

The queue file should be in the sqlite db for sure and the .session is not needed because all the settings are overwritten with what's in the options on startup anyways.

As for the .fastresume, .torrent and .state files, it would be cleaner to put them in the database also. They're small enough so that even having a crapload of torrents shouldn't matter.

Changed in baretorrent:
importance: Undecided → High
importance: High → Medium
Changed in baretorrent:
milestone: 0.5-alpha → none
Changed in baretorrent:
milestone: none → future
Revision history for this message
Jonathan McDougall (jonathanmcdougall) wrote :

I've also seen .state, .fastresume and .torrent files not getting deleted, this should fix that.

Changed in baretorrent:
milestone: future → 0.4.4
Changed in baretorrent:
milestone: 0.4.4 → 0.5
Changed in baretorrent:
milestone: 0.5 → 0.4.5
Changed in baretorrent:
milestone: 0.4.5 → 0.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.