FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Separating source and data
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Separating source and data [message #40588] Sun, 23 March 2008 04:17 Go to previous message
Underhand is currently offline  Underhand   United Kingdom
Messages: 5
Registered: June 2007
Karma:
Junior Member
We have been using FUDforum for quite some time on our site, and it has been pretty well suited for us.

Now, I'm trying to check our web area into version control, so that we can be a bit smarter about testing and rollout of new versions of software (including FUDforum) and changes to themes.

This is working quite well for the other applications which we use on our site, but FUDforum is proving to be a little hostile to this way of working.

The basic premise is that I want to version control anything which is installed by hand - source files, etc. I want to leave out of version control anything which the software is able to rebuild easily. In FUDforum's case, that means that the templates are version controlled, but the themes ideally would not be, as FUDforum is trivially able to rebuild these.

The problem that I am having is that FUDforum seems to be extremely reliant on such autogenerated data existing and being correct. I can't seem to find a way in which I can run the consistency checker script (which seems to rebuild everything in the cache directory) without there being at least *something* in idx.inc. If the theme files are absent, understandably things are even worse.

I haven't yet found a script which is able to regenerate everything which is autogenerated without some kind of autogenerated content already being present. Ideally this would take the form of a script which I can automatically invoke after an update.

Does such a script exist? Would it be difficult to create one?

I can't help feeling that it would be really nice if the directory structure itself were to be more cleanly separated between files which are part of FUDforum itself, and files which are autogenerated or in some way contain user data. Note that I'm only interested in version controlling the software and the templates - not the actual messages, or avatars, or anything else which the user uploads. In fact, my test site points at a different database and a different set of data files.

Or is there an obvious separation which I've missed?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mailing List Feature: Remove Mailing List Signature
Next Topic: Sorting posts within a topic
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:40:12 GMT 2024

Total time taken to generate the page: 0.04973 seconds