ispCP - Board - Support
Separate Common Config from Distro-specific - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Separate Common Config from Distro-specific (/thread-8542.html)



Separate Common Config from Distro-specific - motokochan - 11-24-2009 05:21 PM

One thing I see that sometimes causes issues is that each distribution has a full copy of configuration data, even if the exact same file is in each distribution folder.

This situation has several problems:
  • Fixes or changes to a configuration file require the developer to remember to update all copies of the file.
  • The extra copies add to the size of the download package. A few k isn't much, but multiply by the file count and supported distros - that grows fast!

Establishing a common configuration area has some advantages:
  • Only managing distro-specific files helps make sure that updates are caught
  • Keeping only distro-specific files in the distro directories can promote porting as it will ease the process and hopefully help accepting ports in the central repository.

What do you all think? I wouldn't mind helping with an effort to do that, it'll help with my server admin job so I might be able to get time to help during my work hours.


RE: Separate Common Config from Distro-specific - Nuxwin - 11-24-2009 09:34 PM

Hello;

The problem is known, a decision will be taken on this issue after 1.0.3. Note that I have already started with the files linked to the database.

Code:
2009-11-18 Laurent Declercq
    - GUI:
        * Fixed #1725: /var/log/rkhunter.log not readable (AGAIN)
    - DATABASE:
        * The Sql files (database.sql, language.sql) are the same for all distributions. Moved into only one directory to facilitate the maintenances.



RE: Separate Common Config from Distro-specific - motokochan - 11-25-2009 02:40 AM

Awesome. Anything I can do to help speed things along once I have some time next month?


RE: Separate Common Config from Distro-specific - RatS - 12-01-2009 02:37 AM

Of course, you can motokochan. Just get in contact with me and tell me your skills. We will find a job for you and I hope you will like to be part of the team!


RE: Separate Common Config from Distro-specific - motokochan - 12-01-2009 01:13 PM

I sent you a private message with details on my skill level. Now, back to finishing a site migration for a customer (from an old internally-developed CP that was never finished to ispCP-Omega).