Gentoo Archives: gentoo-guis

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-guis@l.g.o
Subject: Re: [gentoo-guis] One backend for alle portage GUIs
Date: Mon, 22 Oct 2007 16:44:33
Message-Id: 471CD357.8020602@necoro.eu
In Reply to: [gentoo-guis] One backend for alle portage GUIs by "René 'Necoro' Neumann"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Ok ... some new points =):
5
6 1.) The dbus daemon is running the whole time the system is up, when
7 started once. Therefore the settings should be reloaded each time a
8 config file (/etc/portage/*, /etc/make.conf ...) is changed. I thought
9 of using inotify for this issue. Unfortunately, a well known editor
10 creates some problems: ViM (and I guess other editors behave similary):
11 It messes around and creates swap-files, temporary files - and instead
12 of modifying a file directly, it first moves it, then creates a new
13 modified one and finally deletes the old one (thus the inotify-watch is
14 gone afterwards).
15 The creation of the swap files is an issue, when watching a directory
16 for changes (e.g. /etc/portage). As the files are created _always_, the
17 settings would be reloaded even if the user only reads the files (and
18 another time, when he closes it, as the swap files are deleted). This is
19 definitly a non-optimal solution.
20
21 2.) If noone objects in the following days, I would like to write to the
22 portage-dev-ml about this project (or better: the plans of the project)
23 and perhaps get some proposals from this side :)
24
25 3.) As it is quite some work to maintain two versions of the
26 portage-backend, I plan to use catapult in Portato by default. But this
27 depends on how soon we find a solution for 1.).
28
29 Regards,
30 - -- Necoro
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v1.4.7 (GNU/Linux)
33 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
34
35 iD8DBQFHHNNX4UOg/zhYFuARAgz9AJ9ZHoNuGDoPnrZ/EySe28abPw6R5gCeLT3Y
36 QrwuokUomXr121St9QnCnpE=
37 =9bff
38 -----END PGP SIGNATURE-----
39 --
40 gentoo-guis@g.o mailing list

Replies

Subject Author
Re: [gentoo-guis] One backend for alle portage GUIs "René 'Necoro' Neumann" <lists@××××××.eu>