View Poll Results: Should we migrate to an XML based configuration system.

Voters
57. You may not vote on this poll
  • Yes

    54 94.74%
  • No

    3 5.26%
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: ShowEQ Configuration files

  1. #1
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648

    ShowEQ Configuration files

    The preference system we borrowed from SINS for ShowEQ 4.0 is less buggy in many ways than the old preference system implementation. It still sucks though. Their are a bunch of cases it doesn't handle well: New entries that should be quoted aren't, screwing up comment lines, etc...

    So, I looked at it, and am considering doing something a bit different. I'm considering migrating to an XML style configuration file parsed using Qt's internal XML parser. Probably using a shema similar to what Qt 3.x uses for it's configuration system (although just to assure you, I'm not looking to force a migration to Qt 3.x at this time). Migration tools/scripts would of course be provided to move existing data into the new format. Now for the question, should I or shouldn't I.

    I will look at the tally on Wed 27/3/2002 and make my decision.

    Let me know what you think.

    Thanks and Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    1

    Thumbs up It only makes sense

    My first post, registered just so I could RE: to this post. I work for a LARGE software company. Everything we are doing now is using XML, and/or SOAP in some way. The flexibility makes all the difference.

    Highly reccm'd, the DOM that Qt supports is good as well.



    Good deal

    K

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    752
    Sounds good to me


    Then i'll have a reason to look closer on XML

    Regards

    - Lord Crush

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    275
    As long as you can explain what you did with very small words...

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    1,262
    XML is really super easy to understand... It would be great to change configuration into XML...

    --Jeeves

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    10
    A great way to merge an existing, custome showeq.conf with the "dist" version and merge any new lines, strip old lines would be a great thing.

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    246
    so if it was switched to XML. Would the showeq.conf.dist get merged in when you update SEQ? That would be awsome. I have a few friends that always complain "This isn't doing this, or that's not on my SEQ!!" I ask "Did you put the new showeq.conf in?" well 90% of the time they say "No".

    /cheer to the Dev team

  8. #8
    Registered User
    Join Date
    Jan 2002
    Posts
    24

    Sounds Good to Me

    Go for it .

  9. #9
    Registered User
    Join Date
    Jan 2002
    Posts
    113

    Talking Go for it!

    you da man. You're driving the bus so I guess we travelers should follow your instincts. If it doesn't work out, I guess we'd go back, no?
    Keep on keeping on. ))

  10. #10
    kleenburn
    Guest
    I vote go for it!

  11. #11
    Registered User
    Join Date
    Dec 2001
    Posts
    849
    Why are the people voting "No" not posting their reasons for doing so? I'm very interested in why/how this could be a bad idea..? Did they just Vote with the mentality "Change = BAD!" Then read the intelligent comments supporting the idea, and thus realizing the merit of the idea?

    I personally voted Yes, I think this would be an excellent improvement.

  12. #12
    Developer
    Join Date
    Jan 2002
    Posts
    239

    XML or Otherwise how about this?

    I personally like the XML idea - easier to read and future ability to force syntax correctness with schemas.

    Regardless of converting to XML or not how about this:

    Have the client look at the config file first for settings. If a setting is not specified then go look in the config.dist file (or maybe rename it to config.default or whatever)

    This way when new options are created in the config, they will be picked up automatically; this would elimintate the requirement to merge my config file with the new config.dist each time a new release comes out.

    The idea being that I only have to configure the things that I want changed from the default distribution and that I am insulated from any new config settings that I haven't thought about yet.

  13. #13
    Registered User
    Join Date
    Dec 2001
    Posts
    17

    Hey Zaphod, quick question...

    You never posted whether or not you were going to implement this, and also, will their be a tool to migrate current showeq.conf to the new xml format for people that have tweaked the shit out of the showeq.conf file?

    Thanks,
    Just_A_Nut

  14. #14
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    I'm going to move the configuration system over to XML. I'm just working through the details. I'm planning to support the following:
    • Some form of manual migration for existing showeq.conf settings
    • Common/Site configuration that can be overriden by a specific config file. So the non-tweakers don't have to constantly bring their showeq.conf replacement in line with the showeq.conf.dist replacement.
    • A simple XML based language that should allow for some validation, yet be easy enough for joe seq to use.


    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  15. #15
    Registered User
    Join Date
    Jan 2002
    Posts
    113
    Zap,
    I am one of the 'basic' Joe seq users. Not very knowledgable in programing and barely functioning in Linux (but learning.) I hope your transfer process (i.e., the stuff we the end poor ignorant user will need to know) will be spelled out in B I G simple letters?
    And thanx for the good times so far ))

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On