← Back to team overview

gwibber-bugs team mailing list archive

[Bug 734917] Re: gwibber stores data in XDG_CONFIG_HOME directory

 

re comment #4: see bug #799356.

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/734917

Title:
  gwibber stores data in XDG_CONFIG_HOME directory

Status in Gwibber:
  New
Status in “gwibber” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gwibber

  Gwibber appears to use an SQLite3 database to store the following
  details, each in its own database table:

  (1) account details
  (2) streams
  (3) searches
  (4) messages

  The problem is that it places this database in
  ~/.config/gwibber/gwibber.sqlite. This directory equates to
  $XDG_CONFIG_HOME, but the use of this directory is invalid since (4)
  above is not "configuration". Admittedly, (1)-(3) inclusive *are*
  configuration, but on my system I have the following breakdown in rows
  / table:

  accounts: 1 row.
  searches: 4 rows.
  streams: 24 rows.
  messages: 61651 rows (!)

  As a result, my gwibble.sqlite is 121MB and 99.952% of these rows
  equate to "data", not "configuration".

  I would propose that gwibber either stores (1)-(3) in a simple .ini
  file, or as a simpler change, create two SQLite databases: one (tiny
  one!) for configuration in $XDG_CONFIG_HOME and the other for data in
  $XDG_DATA_HOME.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gwibber 2.91.91-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
  Uname: Linux 2.6.38-5-generic i686
  Architecture: i386
  Date: Mon Mar 14 15:43:29 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110119)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gwibber
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/734917/+subscriptions