Should ruleup clean up the ruleset by default?

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
sveinung
Elite
Posts: 548
Joined: Wed Feb 20, 2013 4:50 pm

Should ruleup clean up the ruleset by default?

Post by sveinung »

The tool ruleup - I think it first appeared in 3.0 - is able to read a ruleset from the previous version, upgrade it to the current version, and save it. The ruleset compatibility code adds a lot of stuff that is unused to support upgrading other rulesets that needs those features. In 3.1 I have made it clean up some - but not all - unused stuff by default. This includes unused items that were there before the upgrade. A new argument, currently called --dirty, turns the clean up off. Would you prefer if it didn't clean up the ruleset by default and that you would have to specify as an argument - say --clean, that you wanted the clean up?
User avatar
Canik
Veteran
Posts: 91
Joined: Tue Jul 18, 2017 4:26 am

Re: Should ruleup clean up the ruleset by default?

Post by Canik »

I'd prefer it by dirty default please.
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Should ruleup clean up the ruleset by default?

Post by Alien Valkyrie »

I figure going dirty by default would probably be the safer route – unused items from before the upgrade might have been there for a reason.
~ AVL
sveinung
Elite
Posts: 548
Joined: Wed Feb 20, 2013 4:50 pm

Re: Should ruleup clean up the ruleset by default?

Post by sveinung »

Thank you for your feed back. Than dirty by default it is.
Post Reply