[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-15 Thread Antoine Musso
Le 15/09/2022 à 08:55, Robert Vogel via Wikitech-l a écrit : @Hashar: Just wondering, are there any plans to change CI configs after moving development/code-review from gerrit to gitlab [1]? Maybe some file living in the repo directly rather than using a centralized repo like

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-15 Thread Sebastian Berlin
Thanks for the explanations, Antoine. I'll have a look and see if I can figure it out. Also agree with what Robert just said that it would be nice if this was more easily configurable. Not sure what other extensions are supporting, but I'm guessing not all of them are targeting latest MW alpha.

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-15 Thread Robert Vogel via Wikitech-l
@Hashar: Just wondering, are there any plans to change CI configs after moving development/code-review from gerrit to gitlab [1]? Maybe some file living in the repo directly rather than using a centralized repo like `integration/config`? [1]

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-13 Thread Antoine Musso
Le 12/09/2022 à 12:20, Sebastian Berlin a écrit : I'm having some issues with Jenkins running the latest version of MW for an extension (Wikispeech ). Jenkins run with the 1.40 alpha, but we want the extension to support the latest LTS

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-13 Thread Antoine Musso
Hello, The DonationInterface as its own custom job. It is developed against the master branch but is deployed using the "deployment" branch on a FORK of MediaWiki 1.35 done under the fundraising/REL1_35 branch. To support that unique workflow, Quibble (the MediaWiki test runner I wrote to

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Ostrzyciel
...and it's not likely that Wikimedia would want to investigate that, because helping devs make their extensions compatible and secure across MW versions is not within the scope of the Foundation's mission. It's really sad to me that MW has CI that only suits WMF's use of the software, and is

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Robert Vogel via Wikitech-l
The "DonationInterface" has some "special handling" in the CI config: https://github.com/wikimedia/integration-config/blob/d2ef596ea8f697c0920270939c1bf967e0be/zuul/layout.yaml#L4464-L4480 They apparently use some dedicated Quibble test runner:

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Ostrzyciel
Hi all, I've been looking into a similar thing for a different extension, where I wanted it to be compatible with MW 1.37+ (see task ). Basically, I want the tests to run both on REL1_37 and master to make sure that whatever I merge is compatible

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Robert Vogel via Wikitech-l
The continous integration testing currently uses the same branch fot the "dependecies" as it tests. So if you create a change set on branch `master`, it will use `master` for all the other repos (like mw core, extensions, skins) it clones to build up the environment. I am not aware of any way

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Sebastian Berlin
Thanks for the replies. The things is that we *want* Jenkins to run with MediaWiki 1.35, which is why I changed the version in extension.json. There are changes in the development version that Jenkins runs that aren't compatible with our code. *Sebastian Berlin* Utvecklare/*Developer* Wikimedia

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Derick Alangi
Hi, Based on the error you posted, I could reproduce it locally and I think the issue is that I don't think the registration mechanism currently supports regular expression for *{ "requires": { "MediaWiki": "..." } },* so, it's advised to pick a (minimum) version of MediaWiki core you want your

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Andre Klapper
On Mon, 2022-09-12 at 12:20 +0200, Sebastian Berlin wrote: > I tried changing in extension.json to: >  "requires": { > "MediaWiki": "1.35.*" Wouldn't this be?: "MediaWiki": ">= 1.35.0" Cheers, andre -- Andre Klapper (he/him) | Bugwrangler / Developer Advocate

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Derick Alangi
Hi Sebastian, Can you change: "requires": { "MediaWiki": "1.35.*" } to: "requires": { "MediaWiki": ">=1.35.0" } Let me know if that helps. *--* *Derick A.* *From One Developer to Another!* On Mon, Sep 12, 2022 at 11:21 AM Sebastian Berlin < sebastian.ber...@wikimedia.se> wrote: