#43938: generate_packets.py: Make internal parameters argparse-controllable Open Date: 2022-02-20 03:42 Last Update: 2022-02-25 01:55 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 01:55 Updated by: alienvalkyrie * Resolution Update from None to Accepted Comment: As mentioned above; this patch exposes options with no regard for whether they actually work – the -s, --gen-stats option does not (#43979); the -B, --no-fold-bool option successfully generates code, but I haven't (yet) tested whether that code works (and if it doesn't, that has no bearing on this ticket). The other options (verbose, logs, lazy/force) are tested. --------------------------------------------------------------------- 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