[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2020-08-18 Thread gerritbot
gerritbot added a comment.


  Change 603652 **merged** by jenkins-bot:
  [operations/docker-images/toollabs-images@master] Pywikibot container
  
  https://gerrit.wikimedia.org/r/603652

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, GeminiAgaloos, nskaggs, JohnsonLee01, SHEKH, 
Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, 
Phamhi, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, skpuneethumar, 
Gaboe420, sietec, Zylc, Giuliamocci, Bstorm, Cpaulf30, 1978Gage2001, Af420, 
Bsandipan, DSquirrelGM, Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, 
Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Avicennasis, Luke081515, 
mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, Alchimista, coren, Rxy, 
Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-02-21 Thread gerritbot
gerritbot added a comment.


  Change 764300 had a related patch set uploaded (by Arturo Borrero Gonzalez; 
author: Arturo Borrero Gonzalez):
  
  [cloud/toolforge/jobs-framework-api@main] deployment: add tf-python39-pwb 
image
  
  https://gerrit.wikimedia.org/r/764300

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Bstorm, Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, 
Liuxinyu970226, pywikibot-bugs-list, JJMC89, Ramtin2021, dcaro, Devnull, 
Slst2020, GeminiAgaloos, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, 
Raymond_Ndibe, Khutuck, Nintendofan885, Zkhalido, Phamhi, Viztor, Wenyi, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-02-21 Thread aborrero
aborrero added a comment.


  In T249787#7724905 , 
@gerritbot wrote:
  
  > Change 764300 had a related patch set uploaded (by Arturo Borrero Gonzalez; 
author: Arturo Borrero Gonzalez):
  >
  > [cloud/toolforge/jobs-framework-api@main] deployment: add tf-python39-pwb 
image
  >
  > https://gerrit.wikimedia.org/r/764300
  
  With this patch we could allow the piwikibot container for the 
`toolforge-jobs` tool, which should enable a similar workflow as described in 
the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aborrero
Cc: aborrero, Bstorm, Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, 
Liuxinyu970226, pywikibot-bugs-list, JJMC89, Fernandobacasegua34, 786, Suran38, 
Biggs657, Ramtin2021, Lalamarie69, dcaro, Devnull, Slst2020, GeminiAgaloos, 
Jyoo1011, nskaggs, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, 
Raymond_Ndibe, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, Phamhi, 
Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, skpuneethumar, 
Gaboe420, sietec, Zylc, Giuliamocci, Cpaulf30, 1978Gage2001, Operator873, 
Af420, Bsandipan, DSquirrelGM, Chicocvenancio, Allthingsgo, Tbscho, MayS, 
Freddy2001, Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Neuronton, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-08-12 Thread Raymond_Ndibe
Raymond_Ndibe added a comment.


  looking at the associated gerrit patches I assume this issue has been fixed 
and should be closed @bd808 ?

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Raymond_Ndibe
Cc: Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-08-12 Thread bd808
bd808 added a comment.


  In T249787#8148121 , 
@Raymond_Ndibe wrote:
  
  > looking at the associated gerrit patches I assume this issue has been fixed 
and should be closed @bd808 ?
  
  We do have a container, but I don't think we have really done any work to 
document its existence on wiki. It is also not integrated with the jobs 
framework yet (there is a patch, but it is not merged yet). I didn't write any 
useful notes here, but I think I remember that this stalled out in part because 
of a lack of planning for how we would make sure that the image was updated 
when new stable builds of pywikibot are released.
  
  Another thing that would be nice here would be something like the `$ pwb-k8s 
init` action that I proposed in the task description to guide new users through 
whatever setup is needed. This could be implemented as some helper script that 
is packaged inside the container.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-08-12 Thread Raymond_Ndibe
Raymond_Ndibe added a comment.


  In T249787#8148446 , 
@bd808 wrote:
  
  > In T249787#8148121 , 
@Raymond_Ndibe wrote:
  >
  >> looking at the associated gerrit patches I assume this issue has been 
fixed and should be closed @bd808 ?
  >
  > We do have a container, but I don't think we have really done any work to 
document its existence on wiki. It is also not integrated with the jobs 
framework yet (there is a patch, but it is not merged yet). I didn't write any 
useful notes here, but I think I remember that this stalled out in part because 
of a lack of planning for how we would make sure that the image was updated 
when new stable builds of pywikibot are released.
  >
  > Another thing that would be nice here would be something like the `$ 
pwb-k8s init` action that I proposed in the task description to guide new users 
through whatever setup is needed. This could be implemented as some helper 
script that is packaged inside the container.
  
  Acked

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Raymond_Ndibe
Cc: Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread taavi
taavi added a comment.


  I believe I'm the main reason why the jobs framework patch wasn't merged yet. 
Although I don't think I've ever voiced my concerns outside of IRC chats which 
might be hard to find, so copying the latest conversation here (with permission 
from everyone involved):
  
20:06:52 <+wm-bb>  Did you consider making a docker image 
that supports pywikibot without venv out of the box?
20:08:27 <+wm-bb>  Or does 
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot need to be 
updated? I see we have 
https://phabricator.wikimedia.org/diffusion/ODIT/browse/master/python39-sssd/pwb/Dockerfile.template
20:09:40  yes, T249787. iirc the last time someone (bd808) was 
working on that I was concerned on how to manage the pywikibot version in a way 
that doesn't break anyones code without warning but still lets us offer an 
up-to-date versions
20:09:41 <+stashbot> T249787: Create Docker image for Toolforge that is 
purpose built to run pywikibot scripts - 
https://phabricator.wikimedia.org/T249787
20:13:00 <+wm-bb>  Yes. That's an issue. You could link 
each image to a specific branch?
20:15:03  PWB uses SemVer, right? I guess one option would be to 
offer images like python39-pwb7 for 7.x, -pwb8 for 8.x and so on
20:17:38 <+wm-bb>  And python39-pwb-stable / 
python39-pwb-current for the lazy maintainers? 😊
20:21:54  something like that, yeah
  
  If we end up implementing those kind of `-stable` aliases, those would have 
to be done on the build.py/docker registry level as the image name is converted 
to the actual container url during job creation.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: taavi
Cc: Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread Multichill
Multichill added a comment.


  We discussed this a bit on Telegram/IRC (wikimedia-cloud) triggered by the 
grid to Kubernetes migration (as pasted above). I'll try to describe my use 
case a bit.
  
  I have all sorts of jobs running.
  
  - All are based on Pywikibot, most of them are in 
https://github.com/multichill/toollabs/tree/master/bot
  - Jobs are in multiple accounts
  - I use pywikibot current (master) which I rarely update (more about that 
later)
  - I use a venv because at some point direct usage stopped working
  - Jobs all use jsub from a crontab. Hourly, daily, weekly jobs somewhat 
evenly distributed over time
  - Development is done on my local laptop(s) and when deemed stable enough, 
moved to a job
  
  So my basic workflow is pretty straightforward: Write or update some tool 
locally. Test it. Commit it. Git pull on Toolforge and create a jsub job if it 
isn't there yet.
  I'm using the current (master) branch because that's the one I'm also using 
locally. Updating pywikibot usually causes breakage. I don't like tools 
breaking, but I really hate it when tools break at some random time because 
someone else did a software change, so that's why I'm controlling that part 
myself.
  
  I  doubt pinning to pywikibot7.x and pywikibot8.x will provide enough 
stability (based on past experience), so we might have to go for python39-pwb77 
and python39-pwb78

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-16 Thread bd808
bd808 added a comment.


  In T249787#8317689 , 
@Multichill wrote:
  
  > I'm using the current (master) branch because that's the one I'm also using 
locally.
  
  If I'm understanding this statement correctly you are currently using your 
own git clone of pywikibot and not the any of the /shared/pywikibot/... 
checkouts which are maintained by the pywikibot tool. If this is the case you 
can keep using the same workflow from Kubrernetes by choosing a Python runtime 
and maintaining your own pywikibot clone in your tool's $HOME.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: Stang, Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, 
Bstorm, Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-17 Thread Xqt
Xqt added a comment.


  Some remarks:
  
  **Pywikibot versioning**
  Master branch should not be used for production systems but many thanks for 
all test which are done with its usage ;-). Anyway using it for a docker images 
is not a good idea: Commits are made continuously but the development counter 
is not changed. And there might be new features which are not tested for a 
longer time and is not sure whether it always works right even we have 
deeptests running before merging.
  
  For example Pywikibot 8 drops support for Python < 3.6.1 and MW < 1.27, 
prohibits some positional arguments of methods and maybe comes with new 
features: 2FA login support, rewritten token handling, expanded http exception 
handling, MW API format2 usage, installing as site-package from git repository, 
entry point for foreign scripts.
  
  The minimal releas supporting Wikimedia sites is 6.6.1. All versions are 
following semver since 6.5.0 which means there are breaking changes expected in 
7.0.0 or 8.0.0 against older releases but no breaking changes are made between 
major releases (but deprecation warnings may be thrown). All changes can be 
found in the changelog 
.
  
  All releases are tagged with the version number which can be used to collect 
older releases. The `stable` branch is always the last publisched releas which 
is not under development. Patch releases like 7.7.1 are mostly backported 
changes from master to stable branch which contains L10N updates for new 
Wikimedia sites like in 7.7.1, 6.6.2-6.6.5 or important bugfixes like in 7.5.2, 
7.5.1, 7.2.1, 7.1.1.
  
  **Docker**
  There are two dockerfile creation files shipped with pywikibot:
  
  - 
https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/94175a980a642539fbf27c904723dd89ec217c83/Dockerfile
  - 
https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/94175a980a642539fbf27c904723dd89ec217c83/Dockerfile-dev
  
  The last Update was 2020 when release 4.2 was published.
  
  Python 3.10 looks stable enough to use it with the docker image but has few 
advantages like case-statements, better debugging support, TypeGuard etc.
  
  Currently Pywikibot is only published on Python Package Index. Is it 
appropriate to publish releases on docker hub too?

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: yuvipanda, Stang, Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, 
aborrero, Bstorm, Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, 
Liuxinyu970226, pywikibot-bugs-list, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-03-03 Thread gerritbot
gerritbot added a comment.


  Change 764300 **abandoned** by Arturo Borrero Gonzalez:
  
  [cloud/toolforge/jobs-framework-api@main] deployment: add tf-python39-pwb 
image
  
  Reason:
  
  not working on this at the moment
  
  https://gerrit.wikimedia.org/r/764300

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, Multichill, 
Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Bellucii32, PotsdamLamb, dcaro, Devnull, Slst2020, 
Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, 
Zkhalido, Viztor, Wenyi, Namenlos314, skpuneethumar, sietec, Zylc, 
1978Gage2001, Operator873, Bsandipan, DSquirrelGM, Chicocvenancio, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-06-27 Thread gerritbot
gerritbot added a comment.


  Change 916795 had a related patch set uploaded (by Majavah; author: Majavah):
  
  [operations/docker-images/toollabs-images@master] Remove -pwb images in 
favour of upcoming buildservice images
  
  https://gerrit.wikimedia.org/r/916795

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, Multichill, 
Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Bellucii32, PotsdamLamb, dcaro, Devnull, Slst2020, 
Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, 
Zkhalido, Viztor, Wenyi, Namenlos314, skpuneethumar, sietec, Zylc, 
1978Gage2001, Operator873, Bsandipan, DSquirrelGM, Chicocvenancio, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-06-27 Thread gerritbot
gerritbot added a comment.


  Change 916795 **merged** by jenkins-bot:
  
  [operations/docker-images/toollabs-images@master] Remove -pwb images in 
favour of upcoming buildservice images
  
  https://gerrit.wikimedia.org/r/916795

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, Multichill, 
Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, Framawiki, 
zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Isabelladantes1983, Bellucii32, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, dcaro, 
Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, Juan90264, SHEKH, Dijkstra, 
Alter-paule, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, Hook696, 
Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Namenlos314, skpuneethumar, 
Gaboe420, sietec, Zylc, Giuliamocci, Cpaulf30, 1978Gage2001, Operator873, 
Af420, Bsandipan, DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, 
Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Neuronton, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-07-11 Thread bd808
bd808 added a comment.


  In T249787#8967392 , 
@gerritbot wrote:
  
  > Change 916795 **merged** by jenkins-bot:
  >
  > [operations/docker-images/toollabs-images@master] Remove -pwb images in 
favour of upcoming buildservice images
  >
  > https://gerrit.wikimedia.org/r/916795
  
  Using buildservice as the basis for pywikibot tools is generally a good thing 
I think. Rather than providing a base image with external helpers as I 
initially imagined we could instead think about maintaining a GitLab project 
that provides a functional base for pywikibot buildservice containers. Folks 
could then fork this repo to start their own bot specific repo. Hopefully this 
would come with some instructions for how to keep things updated as newer 
versions of pywikibot are released.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: Dvorapa, MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, 
Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Isabelladantes1983, Bellucii32, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, dcaro, 
Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, Juan90264, SHEKH, Dijkstra, 
Alter-paule, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, 
JorisDarlingtonQuarshie, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, 
Wenyi, Namenlos314, skpuneethumar, Gaboe420, sietec, Zylc, Giuliamocci, 
Cpaulf30, 1978Gage2001, Operator873, Af420, Bsandipan, DSquirrelGM, 
Chicocvenancio, Tbscho, MayS, Freddy2001, Lewizho99, Mdupont, Maathavan, 
Altostratus, Neuronton, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-07-11 Thread bd808
bd808 added a comment.


  In T249787#8320016 , @Xqt 
wrote:
  
  > Currently Pywikibot is only published on Python Package Index. Is it 
appropriate to publish releases on docker hub too?
  
  Toolforge does not currently support "bring your own container" workflows 
that would be able to take advantage of a Pywikibot container from Docker hub 
or any other non-Toolforge container repository. There may be other reasons 
that publishing tagged containers would be useful for the Pywikibot community 
however.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: Dvorapa, MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, 
Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Isabelladantes1983, Bellucii32, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, dcaro, 
Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, Juan90264, SHEKH, Dijkstra, 
Alter-paule, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, 
JorisDarlingtonQuarshie, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, 
Wenyi, Namenlos314, skpuneethumar, Gaboe420, sietec, Zylc, Giuliamocci, 
Cpaulf30, 1978Gage2001, Operator873, Af420, Bsandipan, DSquirrelGM, 
Chicocvenancio, Tbscho, MayS, Freddy2001, Lewizho99, Mdupont, Maathavan, 
Altostratus, Neuronton, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-10-16 Thread taavi
taavi added a comment.


  This topic was discussed in the latest Toolforge admin meeting. To summarize:
  
  - We will create an image using the build service 
 that can be 
used to run the pywikibot included scripts. Tools that are just running those 
scripts can use a pre-build image and don't need to build their own.
  - https://gitlab.wikimedia.org/taavi/pywikibot-script-buildservice is a 
working prototype of such image. It adds a Procfile, an user-config.py to load 
credentials from the envvars service 
, and 
currently a hack to permit loading the user-config file 
.
  - How that image will be built and made available to users is still an open 
question.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: taavi
Cc: Dvorapa, MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, 
Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Isabelladantes1983, Bellucii32, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, dcaro, 
Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, Juan90264, SHEKH, Dijkstra, 
Alter-paule, Beast1978, Un1tY, Khutuck, Nintendofan885, Zkhalido, 
JorisDarlingtonQuarshie, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, 
Wenyi, Namenlos314, skpuneethumar, Gaboe420, sietec, Zylc, Giuliamocci, 
Cpaulf30, 1978Gage2001, Operator873, Af420, Bsandipan, DSquirrelGM, 
Chicocvenancio, Tbscho, MayS, Freddy2001, Lewizho99, Mdupont, Maathavan, 
Altostratus, Neuronton, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2023-11-16 Thread taavi
taavi added a comment.


  In T249787#9253386 , 
@taavi wrote:
  
  > - How that image will be built and made available to users is still an open 
question.
  
  I sent an email to the Pywikibot list about this.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: taavi
Cc: Dvorapa, MisterSynergy, fnegri, komla, Usernamekiran, yuvipanda, Stang, 
Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, mevo, Isabelladantes1983, Bellucii32, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, 
PotsdamLamb, dcaro, Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, 
Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, 
Nintendofan885, Zkhalido, JorisDarlingtonQuarshie, Hook696, Kent7301, 
joker88john, Viztor, CucyNoiD, Wenyi, Namenlos314, skpuneethumar, Gaboe420, 
sietec, Zylc, Giuliamocci, Cpaulf30, 1978Gage2001, Operator873, Af420, 
Bsandipan, DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, Lewizho99, 
Mdupont, Maathavan, Altostratus, Neuronton, 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


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2020-05-09 Thread Legoktm
Legoktm added a comment.


  That all looks awesome, especially the cron part.
  
  `generate_user_files.py` will generate a `user-config.py` file which needs to 
be in $PYWIKIBOT2_DIR.
  
  Also, if we could autogenerate the 
https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth/Wikimedia part that would 
be nice.
  
  And the cron thing could automatically redirect logs (both stdout and stderr) 
to somewhere and rotate them.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Legoktm
Cc: Legoktm, Aklapper, bd808, Liuxinyu970226, pywikibot-bugs-list, JJMC89, 
JohnsonLee01, Dijkstra, Zkhalido, Phamhi, Viztor, Wenyi, sietec, Zylc, Bstorm, 
1978Gage2001, DSquirrelGM, Chicocvenancio, Allthingsgo, Tbscho, MayS, 
Freddy2001, Mdupont, Dvorapa, Altostratus, Avicennasis, Luke081515, mys_721tx, 
Jitrixis, Gryllida, jayvdb, Masti, scfc, Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2020-05-09 Thread Xqt
Xqt added a comment.


  Just for the record: a stable release is deployed monthly after tests pass. 
Sometimes it needs some additional time to fix all known issues for that 
release. Every stable release is marked with the „stable“ tag. This is useful 
if the local repository is checked out from the remote repository (which also 
includes common scripts to be used) instead as a side package. The last stable 
release was published yesterday.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, pywikibot-bugs-list, JJMC89, 
JohnsonLee01, Dijkstra, Zkhalido, Phamhi, Viztor, Wenyi, sietec, Zylc, Bstorm, 
1978Gage2001, DSquirrelGM, Chicocvenancio, Allthingsgo, Tbscho, MayS, 
Freddy2001, Mdupont, Dvorapa, Altostratus, Avicennasis, Luke081515, mys_721tx, 
Jitrixis, Gryllida, jayvdb, Masti, scfc, Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2020-05-13 Thread bd808
bd808 added a comment.


  In T249787#6121678 , 
@Legoktm wrote:
  
  > Also, if we could autogenerate the 
https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth/Wikimedia part that would 
be nice.
  
  I think we could easily output a link to those instructions. I'm not sure 
that there is any reasonable way to actually automate submitting the grant 
request. If there was, I think that would be an XSS attack vector that we would 
need to fix on the MediaWiki side.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, JohnsonLee01, Dijkstra, Zkhalido, Phamhi, Viztor, 
Wenyi, sietec, Zylc, Bstorm, 1978Gage2001, DSquirrelGM, Chicocvenancio, 
Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, Altostratus, 
Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, 
Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2020-06-08 Thread gerritbot
gerritbot added a comment.


  Change 603652 had a related patch set uploaded (by BryanDavis; owner: Bryan 
Davis):
  [operations/docker-images/toollabs-images@master] Pywikibot container
  
  https://gerrit.wikimedia.org/r/603652

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, 
Phamhi, Viztor, Wenyi, sietec, Zylc, Bstorm, 1978Gage2001, DSquirrelGM, 
Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, 
Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, 
Masti, scfc, Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs