← Back to team overview

gtg-contributors team mailing list archive

Re: GTG FAQ & Mess in $XDG_DATA_HOME/gtg

 

On Mon, May 7, 2012 at 8:03 AM, Izidor Matušov <izidor.matusov@xxxxxxxxx> wrote:
> Hi Bertrand & other GTG folks,
>
> I find out that you started our FAQ [1]. I would like to ask you if the
> described problem is still in the latest trunk or not. GTG from trunk solves
> that kind of problem by default.

Ok, I remember we talked about it on the mailing-list, I wasn't aware
it already landed in trunk! I can remove the answer in the FAQ or edit
it to warn people about the fact that GTG should handle this by
default.

> Many people complain about the current backuping. There are many backup
> files in your ~/.local/share/gtg because of .bak.[0-7] and also daily
> snapshots .bak.YYYY-MM-DD My folder contains about 57 files like that.
> Backups works for tasks files and project.xml but tags.xml (It is really a
> mess)

Yes, I totally agree with you.

> I would propose to store all those backup files into
> $XDG_DATA_HOME/gtg/backups. It would add more logic in those files and the
> user would be astonished how many backups GTG makes. :) Also we should
> enable backups for tags.xml.

Ok for me!

> Is there any reason, why we generate a "random" name for a task file? Why
> doesn't use GTG gtg_tasks.xml by default?

I'm not sure, but I think it's because in early days we imagined
having several "projects" using each a separate file (this was before
the backend stuff). I think this was supposed to give us an easy way
to have a different filename for each of those projects whithout
having to parse existing files. I'm not 100% sure this was the reason,
but whatever it was, I don't think it's relevant anymore. Maybe Lionel
can concur on this.

> Looking forward to your opinions :)
>
> Izidor
>
> 1: https://live.gnome.org/gtg/FAQ



-- 
Bertrand Rousseau


References