patchFreeciv - Patches: patch #4439, meta.ruleset

Show feedback again

patch #4439: meta.ruleset

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun Jan 19 08:37:44 2014  
Category: freeciv-ruleditPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Jan 19 08:37:44 2014, original submission:

Freeciv-ruledit will need to save some metadata related to the ruleset so that user is not required to set those settings every time (s)he continues to edit the ruleset.
Attached patch adds meta.ruleset for storing such information in the future. The ruleset is loaded in ruleset.c like any other ruleset. While it could make sense for now to make it specific to freeciv-ruledit (not loaded to freeciv-server), server too will want meta.ruleset once we implement "ruleset object deprecation" framework.
Ruleset is not required to have meta.ruleset. There's empty one, satisfying ruleset loading code needs, in default/ to be used by the rulesets that do not have it. Freeciv-ruledit always creates meta.ruleset for the ruleset while saving it.

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #19785:  MetaRuleset.patch added by cazfi (5kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Dec 7 23:55:39 2014cazfiStatusReady For Test=>None
      Planned Release2.6.0=>
    Sun Jan 19 08:37:44 2014cazfiAttached File-=>Added MetaRuleset.patch, #19785
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup