You are not logged in.

#1 2009-03-12 23:35:50

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Archs policy on files being added to /home/$USER FLYBACK

Hi All,

i was just trying to work out how i'm going to store a config file for a program called flyback
http://code.google.com/p/flyback/

i've almost finished re-writting the config backend as it currently uses dbus but this stops the program being run from Cron - no dbus session or x session.

i'm currently using ConfigParser within python and what to add the abilty for profiled backup something that it can't do at the moment.
one way i was thinking of doing this is having seperate config files for each user .flybackrc under the home folder.

Am i right in thinking this is against archs polices?

on a side note i have tried several times to contact the orignal developer to discuess helping out with the project. i have currenty had no response. would it be a bit off for me to set up a new project but with credits to the orignal author? probably under the name flyback2?

thanks for your help
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#2 2009-03-13 00:29:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Archs policy on files being added to /home/$USER FLYBACK

Config file per user in $HOME is not against Arch policies. Trying to put anything in $HOME during package installation definitely is. The application itself should create the dotfile the first time it is run - this is a very common process across all kinds of apps.

Offline

#3 2009-03-13 00:41:17

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

ahh that clears things up a little.

Thanks
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#4 2009-03-13 00:43:16

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

It would be appreciated if you put it under $HOME/.config/ to get some clutter out of $HOME


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2009-03-13 02:00:53

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

thats a very good point smile
Cheers


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#6 2009-03-13 12:38:56

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

Note that "just putting your stuff in $HOME/.config/" is not the point.

See http://standards.freedesktop.org/basedi … c-0.6.html
This standard is about separating things into the categories of config, data and cache, where each of them have multiple places where they can be put.  $HOME/.config is just the default value for $XDG_CONFIG_HOME.
Many people "just put their things in $HOME/.config", this makes things even worse.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#7 2009-03-14 12:47:11

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Archs policy on files being added to /home/$USER FLYBACK

Dieter@be wrote:

, this makes things even worse.

actually, it makes it exactly as bad as when people "just put their stuff into home with a dot in front" big_smile
EDIT
@ original poster: Aww. do you really need gconf? and all the other gnome stuff? it's a shame
looks like an awesome project, one i wanted to tackle a long time ago.. coupled with duplicity and/or git

cheers
Phil

Last edited by Heller_Barde (2009-03-14 12:49:59)

Offline

#8 2009-03-14 13:39:03

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

Heller_Barde wrote:
Dieter@be wrote:

, this makes things even worse.

actually, it makes it exactly as bad as when people "just put their stuff into home with a dot in front" big_smile

No, much worse. because you expect you can lose things in $XDG_CONFIG_HOME, if you don't mind configuring an application again.  personal data should _never_ be in a config directory.
If you find a dotfile in your homedir you know it doesn't comply to any freedesktop spec so you should see what it contains and whether you want to back it up or not.

Heller_Barde wrote:

@ original poster: Aww. do you really need gconf? and all the other gnome stuff? it's a shame
looks like an awesome project, one i wanted to tackle a long time ago.. coupled with duplicity and/or git

cheers
Phil

Agreed, gconf makes a big mess in your home directory.  See http://dieter.plaetinck.be/Im_done_with_gnome_and_gconf


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#9 2009-03-14 16:40:20

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

i'm currenty removing the gconf section as this stops the program working from the command line.
also i'm going to split the front end and make a comand line interface for it so that it can be run from a cron job which was the orignal idea but didn't work due to the gtk and gconf problems.

so far i've mangaed to get rid of gconf.


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#10 2009-03-14 16:42:26

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

i will soon lauch the project again under the name of flyback2 as the orignal developer has gone awol.
i'll post up a link and a PKGBUILD once i finished. i do like this project and use it to back up my laptop it's probably whats made me fix it.

looking at the code base there are alot off features that are in the code that havn't been implimented yet so i'm going to get them working as well.
one of them is backing up to a ssh server among other things.


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#11 2009-03-14 16:50:43

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

Your tool looks nice btw smile


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#12 2009-03-14 16:54:19

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

I can see from a screenshot that flyback already reached v4.0 . So naming your project flyback2 might be a little bit confusing .

What about flyback-ng ?


English is not my native language .

Offline

#13 2009-03-14 19:38:29

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

i didn't want to but all my attempts to contact the orignal developer have had no response.
i would love to be able to just update with my changes but unless i can get him to add me as a developer it's not possible.

i'll keep you update when i get the gconf and gtk problems fixed.

It is a really usefull tool and one of the best backup programs that i have used.


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#14 2009-03-14 22:28:55

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

Okay just an update incase anyone is following this i have been able to completely remove the gconf dependancie smile smile

i've now started on splitting the GUI and creating a command line version.


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#15 2009-03-14 22:45:56

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

what does the ng stand for?? sorry if thats a dumb question


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#16 2009-03-14 23:31:27

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Archs policy on files being added to /home/$USER FLYBACK

genisis300 wrote:

what does the ng stand for?? sorry if thats a dumb question

Next Generation .

Examples from repos :
core syslog-ng 3.0.1-4
core util-linux-ng 2.14.2-1
core wlan-ng26-utils 0.2.9-1
community aircrack-ng 1.0_rc2-1
community bwm-ng 0.6-2
community fillets-ng 0.8.1-1
community fillets-ng-data 0.8.1-1
community lincity-ng 2.0-1


English is not my native language .

Offline

#17 2009-03-15 00:52:44

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Archs policy on files being added to /home/$USER FLYBACK

Rofl that makes sense like i said it was a dumb question smile


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

Board footer

Powered by FluxBB