[12:44:30] !log lucaswerkmeister@tools-bastion-13 tools.quickcategories removed SUMMARY_SUFFIX from config.yaml, unused since da859e4b81 five years ago [12:44:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [12:59:05] dangit, no `.` allowed in toolforge envvar names šŸ˜” [13:00:10] (the env var name for https://gitlab.wikimedia.org/toolforge-repos/quickcategories/-/blob/c2dfddb8b1/config.yaml.example#L15 would be `TOOL_EDITGROUPS__commons.wikimedia.org__url`) [13:00:49] (which isnā€™t a valid variable name in bash either, but `env` supports it and flask reads it from the environment just fine) [13:02:29] wait what? they have to be all caps too? [13:02:43] ā€œjust like a bash environment variableā€ according to https://wikitech.wikimedia.org/w/index.php?title=Help:Toolforge/Envvars&oldid=2168090#Creating_a_new_environment_variable [13:02:54] except, no? thatā€™s not true? bash environment variables can have any case you like? [13:02:56] wat [13:03:50] well thatā€™s thrown a wrench into my whole plan for the tool :( [13:09:42] yeah it's even specifically called out in the POSIX spec that lowercase enviornment variables exist and are reserved for use by applications [13:34:32] filed a task at T374780 [14:11:14] !log tools.quickcategories python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["SUMMARY_BATCH_LINK"]))' | toolforge envvars create TOOL_SUMMARY_BATCH_LINK [14:11:16] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [14:11:59] !log lucaswerkmeister@tools-bastion-13 tools.quickcategories commented out SUMMARY_BATCH_LINK in config.yaml, TOOL_SUMMARY_BATCH_LINK envvar is now used instead [14:12:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [19:25:07] !log tools.quickcategories python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["OAUTH"]["consumer_key"]))' | toolforge envvars create TOOL_OAUTH__CONSUMER_KEY [19:25:11] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [19:25:17] !log tools.quickcategories python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["OAUTH"]["consumer_secret"]))' | toolforge envvars create TOOL_OAUTH__CONSUMER_SECRET [19:25:18] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [19:25:39] !log tools.quickcategories commented out OAUTH section in config.yaml, should use envvars instead [19:25:40] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [19:25:52] !log lucaswerkmeister@tools-bastion-13 tools.quickcategories deployed 377aab02c6 (lowercase nested keys to work around T374780) [19:25:55] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL