#43938: generate_packets.py: Make internal parameters argparse-controllable Open Date: 2022-02-20 03:42 Last Update: 2022-02-25 12:41 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43938 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43938 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-25 12:41 Updated by: alienvalkyrie Comment: Reply To cazfi and make the code in question more officially supported I'm not sure I agree with that part; even before, it had configuration characterstics, and there were other parts of the code (comments in packets[_json].c) that explicitly referred to changing it. Either way, this is likely gonna delay this patch for quite a while, 'cause I'll have to figure out how the stats generation was supposed to work (which might mean digging through mailing list archives for a version of the patch when it did). --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Follow-up to #43931. Part of #43927. There are currently a number of internal parameters (generate_stats, generate_logs/use_log_macro, fold_bool_into_header and lazy_overwrite) that are set in the code. They should be set depending on optional command line arguments instead. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43938 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43938