Page 1 of 1

Should ruleup clean up the ruleset by default?

Posted: Thu Feb 25, 2021 12:36 pm
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?

Re: Should ruleup clean up the ruleset by default?

Posted: Mon Mar 01, 2021 4:37 pm
by Canik
I'd prefer it by dirty default please.

Re: Should ruleup clean up the ruleset by default?

Posted: Mon Mar 01, 2021 7:06 pm
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.

Re: Should ruleup clean up the ruleset by default?

Posted: Tue Mar 02, 2021 1:55 am
by sveinung
Thank you for your feed back. Than dirty by default it is.