[Pywikipedia-bugs] [Maniphest] [Updated] T349599: Translation updates to pywikibot are blocked: pywikibot-i18n-tox-docker has started failing

2023-11-06 Thread hashar
hashar added a comment. It is possible that CI injecting `TOX_OVERRIDE=testenv.pass_env=XDG_CACHE_HOME,testenv.set_env=PY_COLORS=1` cause it to completely override `pass_env` and `set_env` set in the repo `tox.ini` :-\That was done as part of T348871: tox v4 replacement

[Pywikipedia-bugs] [Maniphest] [Commented On] T349599: Translation updates to pywikibot are blocked: pywikibot-i18n-tox-docker has started failing

2023-11-06 Thread hashar
hashar added a comment. In T349599#9308529 <https://phabricator.wikimedia.org/T349599#9308529>, @Xqt wrote: > @hashar: Does the `TOX_OVERRIDE=testenv.pass_env=XDG_CACHE_HOME,testenv.set_env=PY_COLORS=1` override the tox setenv? With tox v4 yes possibly :-( L

[Pywikipedia-bugs] [Maniphest] [Updated] T301037: Add pypy 3 to CI build machines

2023-10-04 Thread hashar
hashar added a comment. (blocked on T345695: Deal with tox 4 upgrading <https://phabricator.wikimedia.org/T345695> cause the new images are now using tox v4 and we gotta migrate the repositories before being able to add new packages) TASK DETAIL https://phabricator.wikimedia.org/T

[Pywikipedia-bugs] [Maniphest] [Updated] T301037: Add pypy 3 to CI build machines

2023-10-04 Thread hashar
hashar added a subtask: T345695: Deal with tox 4 upgrading. TASK DETAIL https://phabricator.wikimedia.org/T301037 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: jBond_WMF, hashar, Aklapper, Xqt, pywikibot-bugs-list, Isabelladantes1983

[Pywikipedia-bugs] [Maniphest] [Commented On] T301037: Add pypy 3 to CI build machines

2023-10-04 Thread hashar
hashar added a comment. Looks like `pypy` has always been in the CI tox image. It got created in 2017 based on Jessie and the original change did install the `pypy` package ( https://gerrit.wikimedia.org/r/c/integration/config/+/377337 ). That got carried in the `releng/tox-buster` image

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, Isabelladantes1983, Themindcoder, Adamm71, Jersione

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, Isabelladantes1983, Themindcoder, Adamm71, Jersione

[Pywikipedia-bugs] [Maniphest] [Commented On] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar added a comment. As far as I can tell, the three affected repositories are pywikibot/core integration/quibble integration/tox-jenkins-override (ironically created as part of migrating to tox v4) TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, Isabelladantes1983, Themindcoder, Adamm71, Jersione

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, Isabelladantes1983, Themindcoder, Adamm71, Jersione

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, TheReadOnly, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, TheReadOnly, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Edited] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-22 Thread hashar
hashar updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T346238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: pywikibot-bugs-list, Aklapper, hashar, TheReadOnly, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Commented On] T347026: Drop support for Python 3.6

2023-09-21 Thread hashar
hashar added a comment. > **drop support for Python 3.5 with Pywikibot 9.0** @Xqt the part in bold refers to 3.5, I guess you were meaning 3.6? TASK DETAIL https://phabricator.wikimedia.org/T347026 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferen

[Pywikipedia-bugs] [Maniphest] [Commented On] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-21 Thread hashar
hashar added a comment. With tox 4, `skipsdist = True` cause it to always skip the package installation (`package=skip`) regardless of the value of `usedevelop` which is not even recognized when skipsdist is set. We should thus remove it. With both tox v3 and v4, `usedevelop` causes

[Pywikipedia-bugs] [Maniphest] [Commented On] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-13 Thread hashar
hashar added a comment. I filed this one solely for tracking purpose. I intend to do all the debug/code/solution on #upstream <https://phabricator.wikimedia.org/tag/upstream/> https://github.com/tox-dev/tox/issues/2730 . The reason is the issue affects other projects, notably Ope

[Pywikipedia-bugs] [Maniphest] [Created] T346238: tox v4 with skipsdist=true does not recognize use_develop=true

2023-09-13 Thread hashar
hashar created this task. hashar added projects: Continuous-Integration-Config, Release-Engineering-Team (Priority Backlog ), Pywikibot, Upstream. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DESCRIPTION When skipping the package installation with `skipsdist=true

[Pywikipedia-bugs] [Maniphest] [Commented On] T117570: Jenkins output for pywikibot job is hard to read

2023-03-30 Thread hashar
hashar added a comment. In T117570#8742792 <https://phabricator.wikimedia.org/T117570#8742792>, @JJMC89 wrote: > The documentation <https://flake8.pycqa.org/en/6.0.0/user/options.html#cmdoption-flake8-color> says that the color option cannot be specified in config fi

[Pywikipedia-bugs] [Maniphest] [Commented On] T117570: Jenkins output for pywikibot job is hard to read

2023-03-30 Thread hashar
hashar added a comment. Short of figuring the issue in `flake8`, the command line can be passed `--color=always` and that should work on CI. One can then confirm locally by invoking `tox -e flake8-p39|cat` against a workspace that has some flake8 issues. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T117570: Jenkins output for pywikibot job is hard to read

2023-03-30 Thread hashar
hashar added a comment. In a lot of case the tools check whether the standard input is a TTY (`sys.stdint.isatty()`) and disable color output when it is not. On CI the containers are spawned without a pseudo tty allocate (`docker run -t`) cause some other tooling might then prompt the user

[Pywikipedia-bugs] [Maniphest] [Updated] T277396: Lint test to match function signature and documentation

2021-10-23 Thread hashar
hashar removed a project: Release-Engineering-Team (Seen). TASK DETAIL https://phabricator.wikimedia.org/T277396 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: atagar, Dvorapa, Ebrahim, Xqt, DannyS712, Aklapper, Huji, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T286336: Increase test time for Pywikibot deeptest

2021-07-12 Thread hashar
hashar added a comment. I have updated the build timeout from 15 to 30 minutes. TASK DETAIL https://phabricator.wikimedia.org/T286336 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: hashar, Aklapper, pywikibot-bugs-list, Legoktm, Xqt

[Pywikipedia-bugs] [Maniphest] [Updated] T285032: Move pywikibot CI from travis-ci.org to travis-ci.com

2021-06-18 Thread hashar
hashar removed a project: Continuous-Integration-Infrastructure. TASK DETAIL https://phabricator.wikimedia.org/T285032 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Ladsgroup, Legoktm, Rubin16, hashar, Aklapper, Xqt, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Closed] T100670: pywikibot/i18n lacks a license

2021-06-09 Thread hashar
hashar assigned this task to revi. hashar closed this task as "Resolved". hashar added a comment. Restricted Application added a project: User-revi. I am triaging some tasks I have created years ago. In T100670#1673977 <https://phabricator.wikimedia.org/T100670#1673977&g

[Pywikipedia-bugs] [Maniphest] [Updated] T100903: Run pywikibot test suite regularly on beta cluster as part of MediaWiki/Wikimedia CI

2021-05-27 Thread hashar
hashar removed projects: Release-Engineering-Team (Seen), Continuous-Integration-Config, Continuous-Integration-Infrastructure. TASK DETAIL https://phabricator.wikimedia.org/T100903 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Dvorapa

[Pywikipedia-bugs] [Maniphest] [Updated] T255981: Persistant error 500 getting category members

2021-05-05 Thread hashar
hashar removed a project: Release-Engineering-Team. TASK DETAIL https://phabricator.wikimedia.org/T255981 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Jeff_G, Pigsonthewing, Eatcha, RhinosF1, Xover, CDanis, matej_suchanek, Xqt, Stefan2

[Pywikipedia-bugs] [Maniphest] [Declined] T279817: TRAVIS jobs cannot be restarted anymore

2021-04-16 Thread hashar
hashar closed this task as "Declined". hashar added a comment. I guess that was a glitch on Travis side. If it happens again, I guess the best is to reach out to them directly, though I have no idea whether they offer support for Free plan. TASK DETAIL https://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Commented On] T279817: TRAVIS jobs cannot be restarted anymore

2021-04-12 Thread hashar
hashar added a comment. //K-and-R// looks like an organization and is unrelated. If I look at https://travis-ci.com/organizations/wikimedia/plan it states: IMPORTANT: Builds have been temporarily disabled for private and public repositories due to a negative credit balance. Please go

[Pywikipedia-bugs] [Maniphest] [Updated] T275750: doctest is not processed with jenkins CI tests

2021-02-25 Thread hashar
hashar added a project: Continuous-Integration-Config. hashar added a comment. I have deployed the CI config. TASK DETAIL https://phabricator.wikimedia.org/T275750 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Jdforrester-WMF

[Pywikipedia-bugs] [Maniphest] [Updated] T270389: Enable Pywikibot fasttest with Python 3.8 / Python 3.9

2020-12-17 Thread hashar
hashar added a comment. Sorry my comment was a bit short. The idea is to get python 3.8 packaged T24195 <https://phabricator.wikimedia.org/T24195>, I guess we should also migrate from Stretch to Buster and thus get the other python added :] That will happen eventually! TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T270389: Enable Pywikibot fasttest with Python 3.8 / Python 3.9

2020-12-17 Thread hashar
hashar added a comment. We don't have Python 3.8 on the CI infrastructure yet. TASK DETAIL https://phabricator.wikimedia.org/T270389 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: hashar, Jdforrester-WMF, Aklapper, Xqt, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Updated] T270389: Enable Pywikibot fasttest with Python 3.8 / Python 3.9

2020-12-17 Thread hashar
hashar added a subtask: T268850: Provide python 3.8 in CI test images. TASK DETAIL https://phabricator.wikimedia.org/T270389 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Jdforrester-WMF, Aklapper, Xqt, pywikibot-bugs-list, JohnsonLee01

[Pywikipedia-bugs] [Maniphest] [Declined] T57654: Recursive clone over ssh uses https for submodules

2020-08-07 Thread hashar
hashar closed this task as "Declined". TASK DETAIL https://phabricator.wikimedia.org/T57654 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: demon, Paladox, Xqt, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Multichill,

[Pywikipedia-bugs] [Maniphest] [Closed] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-07-03 Thread hashar
hashar closed this task as "Resolved". hashar added a comment. And I have restated zuul-scheduler. TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: elukey, zhuyifei1999, J

[Pywikipedia-bugs] [Maniphest] [Reopened] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-07-01 Thread hashar
hashar reopened this task as "Open". hashar added a subscriber: elukey. hashar added a comment. That is apparently not fully deployed. @elukey had the exact same issue today with analytics/refinery/source . contint2001 runs an outdated version of zuul. Guess I forgot

[Pywikipedia-bugs] [Maniphest] [Closed] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-16 Thread hashar
hashar closed this task as "Resolved". hashar added a comment. I ran `git fetch --tags --force` on both hosts. Zuul itself now uses `--force` as well. Should be good now :] TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Unblock] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-16 Thread hashar
hashar closed subtask T255424: Zuul deployment fails due to unsupported wheel as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: zhuyifei1999, Jdforrester-WMF, Zoranzoki21

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar added a comment. I have updated the `zuul-merger` on `contint1001.wikimedia.org`. I will do `contint2001.wikimedia.org` later on when CI is less busy. TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Updated] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar added a subtask: T255424: Zuul deployment fails due to unsupported wheel. TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: zhuyifei1999, Jdforrester-WMF, Zoranzoki21, hashar

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar added a comment. I will update Zuul in production when I get time ahead to properly monitor the deployment. It is not convenient for me to do so this morning due to hmm personal reasons. Hopefully this afternoon else later this evening (relative to Europe timezones). TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Reopened] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: zhuyifei1999, Jdforrester-WMF, Zoranzoki21, hashar, Urbanecm, Xqt, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar added a comment. Repro: git --version # 2.20.1 pip2 install --user GitPython==2.1.11 gitdb2==2.0.5 smmap2==2.0.5 cd projects/pywikibot/core python2 >>> import git >>> repo = git.Repo('.') >>> repo.remotes.origin.fet

[Pywikipedia-bugs] [Maniphest] [Retitled] T252310: pywikibot get merge rejections due to zuul-merger not being able to update tags

2020-06-15 Thread hashar
hashar renamed this task from "Jenkins can't merge patchsets sometimes" to "pywikibot get merge rejections due to zuul-merger not being able to update tags". hashar claimed this task. hashar edited projects, added Zuul, Release-Engineering-Team-TODO (2020-04 to 20

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: Jenkins can't merge patchsets sometimes

2020-06-15 Thread hashar
hashar added a comment. That is the same as previously, whenever the `python2` or `stable` tags are updated, git would plainly refuses to update them with the message: `would clobber existing tag`: contint2001:/srv/zuul/git/pywikibot/core$ sudo -u zuul git fetch --tags -v origin

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: Jenkins can't merge patchsets sometimes

2020-05-27 Thread hashar
hashar added a comment. I have deleted both tags. TASK DETAIL https://phabricator.wikimedia.org/T252310 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Jdforrester-WMF, Zoranzoki21, hashar, Dzahn, Urbanecm, Xqt, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T252310: Jenkins can't merge patchsets sometimes

2020-05-27 Thread hashar
hashar added a comment. In T252310#6168492 <https://phabricator.wikimedia.org/T252310#6168492>, @Xqt wrote: > Now verify always fails if the parent isn't master but another patch set which isn't merged already. For example > https://gerrit.wikimedia.org/r/#/c/pywikibot/c

[Pywikipedia-bugs] [Maniphest] [Declined] T252310: Pywikibot post-merge job fails to start up

2020-05-11 Thread hashar
hashar closed this task as "Declined". hashar added a comment. Restricted Application removed a subscriber: Liuxinyu970226. CI was under maintenance (T224591 <https://phabricator.wikimedia.org/T224591>) which I have announced Thursday on wikitech: https://lists.wikimed

[Pywikipedia-bugs] [Maniphest] [Commented On] T243154: Drop support for MySQLdb

2020-04-01 Thread hashar
hashar added a comment. Thanks @Xqt ! TASK DETAIL https://phabricator.wikimedia.org/T243154 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Mpaa, zhuyifei1999, Dvorapa, hashar, Aklapper, Xqt, pywikibot-bugs-list, Zkhalido, Viztor

[Pywikipedia-bugs] [Maniphest] [Updated] T87248: Gerrit replication to Github stalled

2019-12-10 Thread hashar
hashar added a comment. OAuth got enabled again via {T234991} which again broke replication T240322: Gerrit replication to GitHub is broken <https://phabricator.wikimedia.org/T240322> :] TASK DETAIL https://phabricator.wikimedia.org/T87248 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T187009: Pywikibot documentation build throws many warnings to console

2019-12-06 Thread hashar
hashar added a comment. In T187009#5717532 <https://phabricator.wikimedia.org/T187009#5717532>, @Dvorapa wrote: > @hashar Could you please help with > > 08:36:55 WARNING: test command found but not installed in testenv > 08:36:55 cmd: /usr/bin/make >

[Pywikipedia-bugs] [Maniphest] [Unblock] T239542: Drop support for Python 3.4

2019-12-02 Thread hashar
hashar closed subtask T239548: Use Python 3.5 or higher for Jenkins fasttest as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T239542 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Xqt

[Pywikipedia-bugs] [Maniphest] [Closed] T239548: Use Python 3.5 or higher for Jenkins fasttest

2019-12-02 Thread hashar
hashar closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T239548 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa, hashar Cc: Aklapper, pywikibot-bugs-list, hashar, Xqt, AndreasTraut, Zkhalido, Hook696,

[Pywikipedia-bugs] [Maniphest] [Updated] T187009: Pywikibot documentation build throws many warnings to console

2019-11-24 Thread hashar
hashar removed a project: Continuous-Integration-Config. TASK DETAIL https://phabricator.wikimedia.org/T187009 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Morgan11235, hashar Cc: Morgan11235, mstucky, Didicodes, Dalba, Xqt, zhuyifei1999

[Pywikipedia-bugs] [Maniphest] [Commented On] T226507: Port pywikibot-core to new pywikibot IV repository (tracking)

2019-06-25 Thread hashar
hashar added a comment. //I am just a lurker but still have some kind of interest in pywikibot from time to time. Here some feedback based on a couple decades of IT// I would highly recommend to avoid creating a new repository (such as what has been done for compat). That loose all

[Pywikipedia-bugs] [Maniphest] [Unassigned] T186208: Magul's quick tests doesn't run anymore

2019-05-10 Thread hashar
hashar removed hashar as the assignee of this task. hashar added a comment. Despite a first try at looking at pywikibot/core and attempting to run the test suite / get familiar with the code, I eventually dropped/forgot about this. I had too many tasks to handle on the CI infrastructure

[Pywikipedia-bugs] [Maniphest] [Commented On] T89976: mysql support should fall back to dependency on pure python package PyMySQL

2019-03-11 Thread hashar
hashar added a comment. Note that pywikibot now defaults to use PyMySQL which is the pure python module and defaults to it. That has been the case since October 2018. I have send a couple patches to clean up the code of mentions to `oursql` and remove support for `MySQLdb` has a fall

[Pywikipedia-bugs] [Maniphest] [Commented On] T186208: Magul's quick tests doesn't run anymore

2019-03-11 Thread hashar
hashar added a comment. A few things that are worth investigating and probably could use to be simplified. sudo The default is `sudo: false`, a few environments do have `sudo: require` when they have `dist: xenial`: include: - python

[Pywikipedia-bugs] [Maniphest] [Commented On] T186208: Magul's quick tests doesn't run anymore

2019-03-11 Thread hashar
hashar added a comment. From the `.travis.yml` file. Some global environment variables: env: global: - TEST_TIMEOUT=300 - PYWIKIBOT_NO_L10N_TESTS=1 Then there are two set of globals: env: matrix: - LANGUAGE=en FAMILY=wikipedia

[Pywikipedia-bugs] [Maniphest] [Updated] T186208: Magul's quick tests doesn't run anymore

2019-03-04 Thread hashar
hashar added a comment. @Dvorapa thank you so much for your replies. I guess I have all the context to jump in and analysis a proper solution :-] > The easy solution for the top priority Magul's test replacement would be something like this: Someone enters a magic keyword in the Ger

[Pywikipedia-bugs] [Maniphest] [Claimed] T186208: Magul's quick tests doesn't run anymore

2019-03-04 Thread hashar
hashar claimed this task. hashar added a comment. Restricted Application edited projects, added Release-Engineering-Team (Kanban); removed Release-Engineering-Team. Hello, this got raised to #release-engineering-team <https://phabricator.wikimedia.org/tag/release-engineering-team/> m

[Pywikipedia-bugs] [Maniphest] [Updated] T132138: Perform full test suite using Wikimedia CI

2019-01-01 Thread hashar
hashar edited projects, added Continuous-Integration-Config; removed Continuous-Integration-Infrastructure. TASK DETAILhttps://phabricator.wikimedia.org/T132138EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, hasharCc: Framawiki, Ricordisamoa, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T104306: Share Appveyor account credentials with Release Engineering

2018-11-21 Thread hashar
hashar added a comment. There is some documentation at https://www.appveyor.com/docs/team-setup/ Seems the AppVeyor accounts/team can be tied to the GitHub ones.TASK DETAILhttps://phabricator.wikimedia.org/T104306EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Updated] T183860: AppVeyor test not running since months

2018-11-21 Thread hashar
hashar added a comment. In T183860#4683354, @Dvorapa wrote: I'm not sure, why I added RepoAds, sorry. The problem is that nobody has got an access to Wikimedia account on AppVeyor (which operates with GitHub mirror). There are two possible solutions: contact @jayvdb as he was the Wikimedia

[Pywikipedia-bugs] [Maniphest] [Updated] T118371: color KeyError problem in _ColorFormatter

2018-05-02 Thread hashar
hashar added a comment. Sorry I messed up. The above spam is for T119371: Enable MariaDB/MySQL strict mode on CI slavesTASK DETAILhttps://phabricator.wikimedia.org/T118371EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, hasharCc: hashar, Stashbot

[Pywikipedia-bugs] [Maniphest] [Declined] T188256: Migrate pywikibot-tests-beta-cluster to a tox env in pywikibot/core

2018-02-26 Thread hashar
hashar closed this task as "Declined".hashar added a comment. I am going to delete it. The job never ran any test.TASK DETAILhttps://phabricator.wikimedia.org/T188256EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Aklapper, zel

[Pywikipedia-bugs] [Maniphest] [Edited] T188256: Migrate pywikibot-tests-beta-cluster to a tox env in pywikibot/core

2018-02-26 Thread hashar
hashar updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONThe Jenkins job [[ https://integration.wikimedia.org/ci/job/pywikibot-tests-beta-cluster/ | pywikibot-tests-beta-cluster ]] setup pywikibot and runs a test suite against the beta cluster. All the logic should be moved

[Pywikipedia-bugs] [Maniphest] [Created] T188256: Migrate pywikibot-tests-beta-cluster to a tox env in pywikibot/core

2018-02-26 Thread hashar
hashar created this task.hashar added projects: Continuous-Integration-Infrastructure (shipyard), Release-Engineering-Team (Kanban), Pywikibot-core.Herald added a subscriber: pywikibot-bugs-list. TASK DESCRIPTIONThe Jenkins job pywikibot-tests-beta-cluster setup pywikibot and runs a test suite

[Pywikipedia-bugs] [Maniphest] [Reassigned] T109119: Check the style of the commit message

2018-01-03 Thread hashar
hashar reassigned this task from jayvdb to Dalba.hashar added a comment. Indeed that is resolved by https://gerrit.wikimedia.org/r/#/c/368793/ :)TASK DETAILhttps://phabricator.wikimedia.org/T109119EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba

[Pywikipedia-bugs] [Maniphest] [Closed] T181881: pywikibot-core-tox-doc-docker timeouts sporadically

2017-12-04 Thread hashar
hashar assigned this task to Dalba.hashar closed this task as "Resolved".hashar added a comment. @Dalba managed to find the root cause and bumped the job timeout from 4 minutes to 5 minutes. That should be sufficient. Well done!TASK DETAILhttps://phabricator.wikimedia.org/T1

[Pywikipedia-bugs] [Maniphest] [Declined] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2017-10-19 Thread hashar
hashar closed this task as "Declined".hashar added a comment. With the migration toward containers, this is no more relevant.TASK DETAILhttps://phabricator.wikimedia.org/T130208EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Unblock] T130207: Migrate pywikibot/i18n npm job to Nodepool

2017-10-19 Thread hashar
hashar closed subtask T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files as "Declined". TASK DETAILhttps://phabricator.wikimedia.org/T130207EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailp

[Pywikipedia-bugs] [Maniphest] [Commented On] T100903: Run pywikibot test suite regularly on beta cluster as part of MediaWiki/Wikimedia CI

2017-10-19 Thread hashar
hashar added a comment. The tests are tagged with familly = wikipedia but the Jenkins job runs them with family=wpbeta and hence no tests are found. As a hack I replaced the 'wikipedia' familly with the generate one for 'wpbeta' $ mv pywikibot/families/wpbeta_family.py pywikibot/families

[Pywikipedia-bugs] [Maniphest] [Commented On] T109119: Check the style of the commit message

2017-07-18 Thread hashar
hashar added a comment. Ops asked for some kind of commit message validation for operations/puppet. I went with adding a new env in tox which installs and run commit-message-validator from Pypi. https://gerrit.wikimedia.org/r/#/c/365609/3/tox.ini So it should be straightforward for pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T152907: Release a new version of pywikibot

2017-04-04 Thread hashar
hashar added a comment. @valhallasw please accept a tiny barnstar F7220262: Photo le 04-04-2017 à 22.22.jpgTASK DETAILhttps://phabricator.wikimedia.org/T152907EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: gerritbot, zhuyifei1999, Wesalius, Dalba

[Pywikipedia-bugs] [Maniphest] [Commented On] T152907: Release a new version of pywikibot

2017-04-03 Thread hashar
hashar added a comment. I don't think I ever released anything on Pypi. I would not mind giving it a try but I cannot get access to my Pypi credentials and their recovery system fails for my account :/TASK DETAILhttps://phabricator.wikimedia.org/T152907EMAIL PREFERENCEShttps

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2017-03-30 Thread hashar
hashar lowered the priority of this task from "Normal" to "Low".hashar added a comment. The banana linter in pywikibot/i18n no ignores /log.TASK DETAILhttps://phabricator.wikimedia.org/T130208EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpref

[Pywikipedia-bugs] [Maniphest] [Updated] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2016-11-04 Thread hashar
hashar edited projects, added Continuous-Integration-Config; removed Continuous-Integration-Infrastructure, Continuous-Integration-Scaling. TASK DETAILhttps://phabricator.wikimedia.org/T130208EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc

[Pywikipedia-bugs] [Maniphest] [Updated] T100903: Run pywikibot test suite regularly on beta cluster as part of MediaWiki/Wikimedia CI

2016-11-02 Thread hashar
hashar merged a task: T149842: pywikibot-tests-beta-cluster job does not run any test. TASK DETAILhttps://phabricator.wikimedia.org/T100903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Luke081515, Legoktm, gerritbot, Ricordisamoa, hashar, mmodell

[Pywikipedia-bugs] [Maniphest] [Merged] T149842: pywikibot-tests-beta-cluster job does not run any test

2016-11-02 Thread hashar
hashar closed this task as a duplicate of T100903: Run pywikibot test suite regularly on beta cluster as part of MediaWiki/Wikimedia CI. TASK DETAILhttps://phabricator.wikimedia.org/T149842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Aklapper

[Pywikipedia-bugs] [Maniphest] [Updated] T149842: pywikibot-tests-beta-cluster job does not run any test

2016-11-02 Thread hashar
hashar added a comment. T100796 was for Travis setup Looks that my task is a duplicate of T100903 based on last comment there.TASK DETAILhttps://phabricator.wikimedia.org/T149842EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T145484: travis tests fails for apt-get install

2016-09-17 Thread hashar
hashar added a subscriber: Multichill.hashar added a comment. @Multichill poked me about it. The job is made to use Debian unstable: $ echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" \ | sudo tee -a /etc/apt/sources.list > /dev/null Which is w

[Pywikipedia-bugs] [Maniphest] [Edited] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2016-05-25 Thread hashar
hashar edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T130208 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Ricordisamoa, pywikibot-bugs-list, Aklapper, hashar, Luke081515, Jay8g, greg

[Pywikipedia-bugs] [Maniphest] [Commented On] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2016-05-25 Thread hashar
hashar added a comment. Since https://gerrit.wikimedia.org/r/#/c/290690/ JJB has a default: `use-remote-zuul-shallow-clone-to-src` which causes the repo to be cloned under `/src/` Have used it successfully for pywikibot/i18n in https://phabricator.wikimedia.org/T130207. We now

[Pywikipedia-bugs] [Maniphest] [Closed] T130207: Migrate pywikibot/i18n npm job to Nodepool

2016-05-25 Thread hashar
hashar closed this task as "Resolved". hashar claimed this task. hashar added a comment. The job got migrated to a job that clone to `/src/` (npm-node-0.10). We will migrate it to NodeJs 4.3 whenever it is adjusted to clone under `/src/`as well. TASK DETA

[Pywikipedia-bugs] [Maniphest] [Closed] T134235: Add pypy to CI build machines

2016-05-03 Thread hashar
hashar closed this task as "Resolved". hashar added a comment. tox-jessie managed to run flake8 under pypy ! ( https://integration.wikimedia.org/ci/job/tox-jessie/7598/console ) TASK DETAIL https://phabricator.wikimedia.org/T134235 EMAIL PREFERENCES https://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Commented On] T134235: Add pypy to CI build machines

2016-05-03 Thread hashar
hashar added a comment. Added on the Jessie images: Python 2.7.8 (2.4.0+dfsg-3, Dec 20 2014, 13:30:46) [PyPy 2.4.0 with GCC 4.9.2] \O/ The pywikibot patch is https://gerrit.wikimedia.org/r/#/c/260909/ TASK DETAIL https://phabricator.wikimedia.org/T134235 EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T134062: Corrupted repository : pywikibot/core

2016-04-30 Thread hashar
hashar removed a project: Zuul. hashar added a comment. From Zuul: 2016-04-30 15:00:11,440 DEBUG zuul.Repo: Checking out 0d56409652b5add94aecf40991bd0400d15c7c30 2016-04-30 15:00:12,175 DEBUG zuul.Merger: Unable to merge {u'oldrev': None, u'newrev': None, u'refspec': u'refs

[Pywikipedia-bugs] [Maniphest] [Created] T130208: Jobs should checkout source in a subdirectory of the workspace to avoid polluting it with CI related files

2016-03-19 Thread hashar
hashar created this task. TASK DESCRIPTION https://phabricator.wikimedia.org/T130207 is about a test in pywikibot/i18n falling because the CI job 'npm-node-4.3' creates a `$WORKSPACE/log` directory which pollute the sources. We should get the repository(ies) checkout under a directory

[Pywikipedia-bugs] [Maniphest] [Created] T130207: Migrate pywikibot/i18n npm job to Nodepool

2016-03-19 Thread hashar
hashar created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION On `pywikibot/i18n` repository, the `npm` job works just fine but the Nodepool based version `npm-node-4.3` breaks with: Running "banana:all" (banana) task Warning: Unab

[Pywikipedia-bugs] [Maniphest] [Commented On] T58959: Tests: allow for offline operation

2015-12-16 Thread hashar
hashar added a comment. The job https://integration.wikimedia.org/ci/job/pywikibot-core-tox-nose/ runs `tox -enose`, what it runs is defined in `/tox.ini` and roughly ends up being: python -W error::UserWarning -m generate_user_files -family:test -lang:test -v nosetests --with-doctest

[Pywikipedia-bugs] [Maniphest] [Edited] T74863: add coverage report to tests

2015-10-15 Thread hashar
hashar edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T74863 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: Ricordisamoa, hashar, Andrew, Ladsgroup, XZise, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T87169: run at least pep8 and pep257 for new changesets submitted to pywikibot/core for any user

2015-10-08 Thread hashar
hashar added a comment. The tox envlist has: flake8 flake8-py3 flake8-docstrings-mandatory py26 py27 py34 Running all of them ends up taking 11 minutes IIRC. Potentially we could use detox <https://pypi.python.org/pypi/detox/> to have them run in parallel. `python2.6` is n

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T74863: add coverage report to tests

2015-10-08 Thread hashar
hashar added subscribers: Andrew, hashar. hashar added a comment. We have an epic task to provide pre merge code coverage report T101544: Provide (pre-merge) code coverage reports on patchsets <https://phabricator.wikimedia.org/T101544> That is blocked on T101545: Provide infrastr

[Pywikipedia-bugs] [Maniphest] [Commented On] T87169: run at least pep8 and pep257 for new changesets submitted to pywikibot/core for any user

2015-10-03 Thread hashar
hashar added a comment. Currently the Zuul conf has: - name: pywikibot/core test: - tox-flake8 - pywikibot-core-tox-flake8-py3-jessie - pywikibot-core-tox-flake8-docstrings - pywikibot-core-tox-flake8-docstrings-mandatory - pywikibot-core-tox-nose

[Pywikipedia-bugs] [Maniphest] [Updated] T114420: Invalid version number (ValueError exception) for newest pypi version

2015-10-02 Thread hashar
hashar added a blocked task: T113039: Run unit tests with Jenkins in labs/tools/heritage. TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: hashar, gerritbot, JeanFred, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Created] T114484: pywikibot==2.0rc1.post2 fails with ValueError: Invalid version number "1.27.0-wmf.1"

2015-10-02 Thread hashar
hashar created this task. hashar assigned this task to JeanFred. hashar added subscribers: hashar, gerritbot, JeanFred, Aklapper. hashar added projects: Wiki-Loves-Monuments-Database, pywikibot-core. Herald added a subscriber: pywikibot-bugs-list. TASK DESCRIPTION `labs/tools/heritage` depends

[Pywikipedia-bugs] [Maniphest] [Commented On] T114484: pywikibot==2.0rc1.post2 fails with ValueError: Invalid version number "1.27.0-wmf.1"

2015-10-02 Thread hashar
hashar added a comment. $ . .tox/py27/bin/activate $ pip freeze cov-core==1.15.0 coverage==4.0 funcsigs==0.4 httplib2==0.9.2 ipaddress==1.0.14 mock==1.3.0 mwparserfromhell==0.4.2 MySQL-python==1.2.5 nose==1.3.7 nose-cov==1.6 pbr==1.8.0 pywikibot==2.0rc1.post2 six

[Pywikipedia-bugs] [Maniphest] [Commented On] T114420: Invalid version number (ValueError exception) for newest pypi version

2015-10-02 Thread hashar
hashar added a comment. `labs/tools/heritage` now manages to install properly. Thanks! TASK DETAIL https://phabricator.wikimedia.org/T114420 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: valhallasw, hashar Cc: hashar, gerritbot, JeanFred

[Pywikipedia-bugs] [Maniphest] [Closed] T113517: Search test failed

2015-09-24 Thread hashar
hashar added a subscriber: hashar. hashar closed this task as "Resolved". hashar added a comment. Seems http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query=search=wiki works now. Thanks @Ebernhardson ! TASK DETAIL https://phabricator.wikimedia.org/T113517 EMAIL PREFERENC

[Pywikipedia-bugs] [Maniphest] [Commented On] T85335: Jenkins job to validate JSON files submitted to Gerrit repo pywikibot/i18n

2015-08-31 Thread hashar
hashar added a comment. Summary GruntJS support globbing patterns http://gruntjs.com/configuring-tasks#globbing-patterns. Well done! TASK DETAIL https://phabricator.wikimedia.org/T85335 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb

  1   2   >