Elfyn McBratney <[EMAIL PROTECTED]> tapota : > Hello, > > As part of the Gentoo webapp'isation, it would make life a lot easier if > there > weren't so many per-site values in these files. I'd like to suggest moving > as many of them as possible into a table in the db so they don't require > filesystem/shell access (think mass virtual hosting with only ftp - no ssh, > scp, etc). > > I think the frontend-only ones could go straight away, but we'd need an easy > migration path and access to the old sys_ variables, first. One question: > procedural or Oo? ;-) > > Sound ok for a Savane meets Gentoo branch?
This does not sounds great to me. Unix system configuration goes in /etc, not in database, and I'm not sure we should change that. First, part of the configuration is needed to access to the database. Second, Savane should be running with it's conffile even if the database access is broken. I do not expect savane to be working on a free homepage account, with no shell. It's probably not feasible at all (performances, cronjobs etc). Also, changing the configuration time is a pain for each upgrade, so it should happen rarely and for good reason. The deprecated section is here to avoid breaking things -- it's costless to have it. I do not see any problem during packaging in creating these files (it looks even more simple to create a conffile than filling a database in whatever state). I strongly suggest to do one thing at a time: packaging should mean only packaging what exists. Regards, -- Mathieu Roy +---------------------------------------------------------------------+ | General Homepage: http://yeupou.coleumes.org/ | | Computing Homepage: http://alberich.coleumes.org/ | | Not a native english speaker: | | http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english | +---------------------------------------------------------------------+
