Raymond_Ndibe created this task. Raymond_Ndibe added projects: cloud-services-team (Kanban), Pywikibot, Toolforge Jobs framework.
TASK DESCRIPTION **Feature summary:** Right now `toolforge-jobs` doesn't handle the creation of image-specific configurations for the user. Example is when user tries submitting a job using the `tf-pywikibot` image (this image is not yet out in the wild but will be soon). Right now the only way for the user to create the `user-config.py` and `user-password.py` files is to setup pywikibot seperately and run the `generate-user-files.py` by themselves, then copy it to the desired location where it will be accessible to the `tf-pywikibot` image. this proposal is to add something like: `toolforge-jobs config --image <image-name> --dir /this/is/a/path` this can be called standalone and can also be called internally by `toolforge-jobs run ....` to generate the configs if they are not yet present. `--dir` defaults to `$HOME/....` if not provided. **Use case(s):** This is feature will be used for the generation of configuration files required by some custom images like the `tf-pywikibot` (and maybe expanded upon in the future to include other such images too that will be added) TASK DETAIL https://phabricator.wikimedia.org/T316166 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Raymond_Ndibe Cc: JJMC89, pywikibot-bugs-list, Liuxinyu970226, bd808, Aklapper, Legoktm, Xqt, zhuyifei1999, Framawiki, Bstorm, aborrero, taavi, Galobtter, YFdyh000, Raymond_Ndibe, fnegri, Ramtin2021, PotsdamLamb, dcaro, Devnull, Slst2020, GeminiAgaloos, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, Zkhalido, Phamhi, Viztor, Wenyi, Namenlos314, skpuneethumar, sietec, Zylc, 1978Gage2001, Operator873, Bsandipan, DSquirrelGM, Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, Alchimista, coren, Krenair
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org