[Wikitech-l] Re: PhpStorm + PHPUnit Integration Tests

2023-11-29 Thread Siddharth VP
Yes. See https://www.mediawiki.org/wiki/JetBrains_IDEs#Running_unit_tests.

On Wed, 29 Nov 2023 at 20:02, Daniel Riedmueller via Wikitech-l <
wikitech-l@lists.wikimedia.org> wrote:

> Hello!
>
> Did someone successfully configured PhpStorm to run integration tests in
> the GUI?
>
> To make integration tests work,
>
> tests/phpunit/phpunit.php
>
> has to be used. But that seems not possible to integrate with PhpStorm.
>
> Many regards,
> Daniel Riedmüller
>
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Fwd: Enabling canary events for all MediaWiki event streams

2023-11-09 Thread Siddharth VP
Hi Andrew,

What is the content of these canary events? Do they have a data section or
is it just the metadata? If I already have filtering to process only
interesting events (say data.wiki === 'enwiki'), do I still need to add
additional filtering to discard canary events?

On Thu, 9 Nov 2023 at 21:23, Andrew Otto  wrote:

> tl;dr
>
> Ignore this email if you do not use MediaWiki event streams.
>
> On Monday December 11 2023, all MediaWiki related event streams will have 
> artificial
> canary events
> 
> injected into them.  If you use any of these streams, you should discard
> these canary events.
>
> *Add code to your consumers that discards events where* meta.domain ==
> "canary".
> Canary Events
>
> At WMF, we use artificial 'canary' AKA 'heartbeat' events
> 
> to differentiate between a broken event stream and an empty event stream.
> Canary events should be produced at least once an hour.  If there are no
> events in a stream for an hour, then something is likely broken with that
> stream.
>
> These artificial canary events can be identified by the fact that their
> meta.domain field is set to "canary".  If you use any of the streams
> listed below, you will need to add code that discards any events where 
> meta.domain
> == "canary".
>
> Back in 2020, we began producing canary events into all new streams, but
> we never got around to enabling these for streams that already existed.  We
> needed to ensure that all consumers of these streams filtered out the
> canary events.  We're just finally getting around to enabling canary events
> for all streams.
>
> We will enable canary event production
>  for the following streams on
> Monday, December 11th, 2023:
>
> - mediawiki.recentchange
>
> - mediawiki.page-create
>
> - mediawiki.page-delete
>
> - mediawiki.page-links-change
>
> - mediawiki.page-move
>
> - mediawiki.page-properties-change
>
> - mediawiki.page-restrictions-change
>
> - mediawiki.page-suppress
>
> - mediawiki.page-undelete
>
> - mediawiki.revision-create
>
> - mediawiki.revision-visibility-change
>
> - mediawiki.user-blocks-change
>
> - mediawiki.centralnotice.campaign-change
>
> - mediawiki.centralnotice.campaign-create
>
> - mediawiki.centralnotice.campaign-delete
>
> If you consume any of these streams, either external to WMF networks using
> EventStreams, or internally using Kafka, please ensure that your consumer
> logic discards events where meta.domain == "canary" before this date.
> (Note that not all of these streams are exposed publicly at
> stream.wikimedia.org .)
>
> Thank you,
>
> -Andrew Otto & the WMF Data Engineering team
> 
>
> References
>
> - T266798 - Enable canary events for all MediaWiki streams
> 
>
> - T251609 - Automate ingestion and refinement into Hive of event data
> from Kafka using stream configs and canary/heartbeat events
> 
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: quarry.wmcloud.org is broken? superset.wmcloud.org is limited.

2023-06-05 Thread Siddharth VP
It's because the analytics wiki replicas are down at the moment, see
https://phabricator.wikimedia.org/T338172.

On Mon, 5 Jun 2023 at 23:14, Dušan Kreheľ  wrote:

> Hi,
>
> if i wanna run the SQL query on the cswiki, i don't can do. On
> https://quarry.wmcloud.org are the new queries only stoped
> (https://quarry.wmcloud.org/query/runs/all) and superset.wmcloud.org
> doesn't have the cswiki (only commonswiki_p, enwiki_p, eowikisource_p,
> frwiki_p, hewiki_p, mlwiki_p, ptwiki_p, ruwiki_p, thwiki_p and
> wikidatawiki_p).
>
> So what now?
>
> Dušan Kreheľ
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re:  SD0001 receives Web Perf Hero award!

2022-04-01 Thread Siddharth VP
Thanks @Krinkle for all your guidance and code reviews in the involved
patches!

~ SD0001

On Wed, 30 Mar 2022 at 22:39, Krinkle  wrote:

> I'm happy to share that the next Web Perf Hero award goes to SD0001, in
> recognition of their many contributions and positive impact on the
> performance of Wikimedia software. I'll share two major examples.
>
> SD0001 implemented Package files
>  for Gadgets
>  (T198758
> ). This enables gadget
> maintainers to bundle JSON files, unpacked via require(). This improves
> performance by avoiding delays from extra web requests. It also improves
> security by allowing safe contributions to JSON pages, as pure data with
> validated syntax on-edit. Previously, admins on Wikimedia wikis for
> example, would need script editing access for this and rely on copy-paste
> instructions from another person via the talk page.
>
> SD0001 also introduced Module::getSkins in ResourceLoader, and used it in
> the startup module
>  to
> optimise away unneeded module registrations
> .
> We just shipped the first adoption of this for Gadgets (T236603
> ). In the future, we'll use
> this to optimise MediaWiki's own skin modules as well.
>
> This award is given once a quarter, and manifests as a Phabricator badge.
>
> More information and past recipients:
>
> https://www.mediawiki.org/wiki/Wikimedia_Performance_Team/Web_Perf_Hero_award
>
> Phabricator badge:
> https://phabricator.wikimedia.org/badges/view/17/
>
> -- Timo Tijhof, on behalf of WMF Performance Team.
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Facing error in pushing the patch

2022-02-05 Thread Siddharth VP
In that case, the problem is as I mentioned above. Only
Trusted-Contributors can edit others' patches.

Here's something you can try but I'm not sure if it will work or not –
instead of amending that commit, create a new commit on top of it. (Get a
fresh copy of the patch by running "git review -d 716255", and then apply
your changes and commit them separately – basically don't use --amend)

On Sat, 5 Feb 2022 at 19:20, Shreyaans Jain 
wrote:

> No I am shreyaansjain06 on gerrit I only added the fix docker compose file
> in git commit -- amend
> which you can see on git log
>
> Also I forgot to mention one thing maybe that will help you find what
> mistake I am doing ,like the latest code is not in repo
> So after cloning the repo i ran this command
>
> git fetch
> https://shreyaansjai...@gerrit.wikimedia.org/r/a/labs/tools/VideoCutTool
> refs/changes/55/716255/10 && git checkout FETCH_HEAD
>
> This brings the latest code and i had done changes in this code
>
> On Sat, Feb 5, 2022 at 6:55 PM Siddharth VP  wrote:
>
>> Ok, so you're actually Khr2003 on Gerrit? Ignore my comment about editing
>> others' patches then.
>>
>> The patch says there's a merge conflict. Try rebasing the branch with
>> master branch ("git rebase master") before using "git review".
>>
>>
>> On Sat, 5 Feb 2022 at 18:31, Shreyaans Jain 
>> wrote:
>>
>>> Sure
>>>
>>> On Sat, Feb 5, 2022 at 6:25 PM Siddharth VP 
>>> wrote:
>>>
>>>> It looks like you're trying to edit
>>>> https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/716255/ but
>>>> you can't do that as only members of Trusted-Contributors group are allowed
>>>> to edit others' patches.
>>>>
>>>> Can you show the output of "git log -1" ?
>>>>
>>>> On Sat, 5 Feb 2022 at 18:00, Shreyaans Jain 
>>>> wrote:
>>>>
>>>>> Thanks Siddharth for your help
>>>>> Tried all steps you suggested but still facing the remote rejected
>>>>> issue
>>>>>
>>>>> On Sat, Feb 5, 2022 at 5:16 PM Siddharth VP 
>>>>> wrote:
>>>>>
>>>>>> I did not say to use "git push". For Gerrit, only "git review" should
>>>>>> be used.
>>>>>>
>>>>>> The error in that screenshot is that you're in a detached HEAD state
>>>>>> (9b6fe4f). You should switch to a branch, "git checkout -b branchname",
>>>>>> then "git review" from there.
>>>>>>
>>>>>> On Sat, 5 Feb 2022 at 17:08, Shreyaans Jain <
>>>>>> shreyaansjai...@gmail.com> wrote:
>>>>>>
>>>>>>> I used git push also that was also giving me error
>>>>>>>
>>>>>>> Can you suggest me what should I do?
>>>>>>>
>>>>>>> On Sat, Feb 5, 2022, 17:01 Siddharth VP 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> You need to be on a branch to use git review. You cannot use it
>>>>>>>> while in a detached HEAD state.
>>>>>>>>
>>>>>>>> On Sat, 5 Feb 2022 at 16:53, Shreyaans Jain <
>>>>>>>> shreyaansjai...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks for your reply
>>>>>>>>>
>>>>>>>>> I followed the steps given in that article but i am still facing
>>>>>>>>> this issue
>>>>>>>>> Can you help me in it?
>>>>>>>>>
>>>>>>>>> On Sat, Feb 5, 2022, 12:05 Andre Klapper 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> On Sat, 2022-02-05 at 11:57 +0530, Shreyaans Jain wrote:
>>>>>>>>>> > Hey everyone I was working on Videocuttool
>>>>>>>>>> > issue https://phabricator.wikimedia.org/T297992 and now the
>>>>>>>>>> issue is
>>>>>>>>>> > resolved but I am unable to push the patch. I have properly
>>>>>>>>>> > set the ssh key on both my system as well as gerrit and also
>>>>>>>>>> did the
>>>>>>>>>> > step

[Wikitech-l] Re: Facing error in pushing the patch

2022-02-05 Thread Siddharth VP
Ok, so you're actually Khr2003 on Gerrit? Ignore my comment about editing
others' patches then.

The patch says there's a merge conflict. Try rebasing the branch with
master branch ("git rebase master") before using "git review".


On Sat, 5 Feb 2022 at 18:31, Shreyaans Jain 
wrote:

> Sure
>
> On Sat, Feb 5, 2022 at 6:25 PM Siddharth VP  wrote:
>
>> It looks like you're trying to edit
>> https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/716255/ but
>> you can't do that as only members of Trusted-Contributors group are allowed
>> to edit others' patches.
>>
>> Can you show the output of "git log -1" ?
>>
>> On Sat, 5 Feb 2022 at 18:00, Shreyaans Jain 
>> wrote:
>>
>>> Thanks Siddharth for your help
>>> Tried all steps you suggested but still facing the remote rejected issue
>>>
>>> On Sat, Feb 5, 2022 at 5:16 PM Siddharth VP 
>>> wrote:
>>>
>>>> I did not say to use "git push". For Gerrit, only "git review" should
>>>> be used.
>>>>
>>>> The error in that screenshot is that you're in a detached HEAD state
>>>> (9b6fe4f). You should switch to a branch, "git checkout -b branchname",
>>>> then "git review" from there.
>>>>
>>>> On Sat, 5 Feb 2022 at 17:08, Shreyaans Jain 
>>>> wrote:
>>>>
>>>>> I used git push also that was also giving me error
>>>>>
>>>>> Can you suggest me what should I do?
>>>>>
>>>>> On Sat, Feb 5, 2022, 17:01 Siddharth VP  wrote:
>>>>>
>>>>>> You need to be on a branch to use git review. You cannot use it while
>>>>>> in a detached HEAD state.
>>>>>>
>>>>>> On Sat, 5 Feb 2022 at 16:53, Shreyaans Jain <
>>>>>> shreyaansjai...@gmail.com> wrote:
>>>>>>
>>>>>>> Thanks for your reply
>>>>>>>
>>>>>>> I followed the steps given in that article but i am still facing
>>>>>>> this issue
>>>>>>> Can you help me in it?
>>>>>>>
>>>>>>> On Sat, Feb 5, 2022, 12:05 Andre Klapper 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> On Sat, 2022-02-05 at 11:57 +0530, Shreyaans Jain wrote:
>>>>>>>> > Hey everyone I was working on Videocuttool
>>>>>>>> > issue https://phabricator.wikimedia.org/T297992 and now the
>>>>>>>> issue is
>>>>>>>> > resolved but I am unable to push the patch. I have properly
>>>>>>>> > set the ssh key on both my system as well as gerrit and also did
>>>>>>>> the
>>>>>>>> > steps many times but still facing the problem. It will be great if
>>>>>>>> > anyone can help me in it .
>>>>>>>>
>>>>>>>> Please follow https://www.mediawiki.org/wiki/Gerrit/Tutorial
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> andre
>>>>>>>> --
>>>>>>>> Andre Klapper (he/him) | Bugwrangler / Developer Advocate
>>>>>>>> https://blogs.gnome.org/aklapper/
>>>>>>>> ___
>>>>>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>>>>>> To unsubscribe send an email to
>>>>>>>> wikitech-l-le...@lists.wikimedia.org
>>>>>>>>
>>>>>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>>>>>
>>>>>>> ___
>>>>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>>>>
>>>>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>>>>
>>>>>> ___
>>>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>>>
>>>>>> https://lists

[Wikitech-l] Re: Facing error in pushing the patch

2022-02-05 Thread Siddharth VP
It looks like you're trying to edit
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/716255/ but you
can't do that as only members of Trusted-Contributors group are allowed to
edit others' patches.

Can you show the output of "git log -1" ?

On Sat, 5 Feb 2022 at 18:00, Shreyaans Jain 
wrote:

> Thanks Siddharth for your help
> Tried all steps you suggested but still facing the remote rejected issue
>
> On Sat, Feb 5, 2022 at 5:16 PM Siddharth VP  wrote:
>
>> I did not say to use "git push". For Gerrit, only "git review" should be
>> used.
>>
>> The error in that screenshot is that you're in a detached HEAD state
>> (9b6fe4f). You should switch to a branch, "git checkout -b branchname",
>> then "git review" from there.
>>
>> On Sat, 5 Feb 2022 at 17:08, Shreyaans Jain 
>> wrote:
>>
>>> I used git push also that was also giving me error
>>>
>>> Can you suggest me what should I do?
>>>
>>> On Sat, Feb 5, 2022, 17:01 Siddharth VP  wrote:
>>>
>>>> You need to be on a branch to use git review. You cannot use it while
>>>> in a detached HEAD state.
>>>>
>>>> On Sat, 5 Feb 2022 at 16:53, Shreyaans Jain 
>>>> wrote:
>>>>
>>>>> Thanks for your reply
>>>>>
>>>>> I followed the steps given in that article but i am still facing this
>>>>> issue
>>>>> Can you help me in it?
>>>>>
>>>>> On Sat, Feb 5, 2022, 12:05 Andre Klapper 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> On Sat, 2022-02-05 at 11:57 +0530, Shreyaans Jain wrote:
>>>>>> > Hey everyone I was working on Videocuttool
>>>>>> > issue https://phabricator.wikimedia.org/T297992 and now the issue
>>>>>> is
>>>>>> > resolved but I am unable to push the patch. I have properly
>>>>>> > set the ssh key on both my system as well as gerrit and also did the
>>>>>> > steps many times but still facing the problem. It will be great if
>>>>>> > anyone can help me in it .
>>>>>>
>>>>>> Please follow https://www.mediawiki.org/wiki/Gerrit/Tutorial
>>>>>>
>>>>>> Thanks,
>>>>>> andre
>>>>>> --
>>>>>> Andre Klapper (he/him) | Bugwrangler / Developer Advocate
>>>>>> https://blogs.gnome.org/aklapper/
>>>>>> ___
>>>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>>>
>>>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>>>
>>>>> ___
>>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>>
>>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>>
>>>> ___
>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>
>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>
>>> ___
>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>
>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>
>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Facing error in pushing the patch

2022-02-05 Thread Siddharth VP
I did not say to use "git push". For Gerrit, only "git review" should be
used.

The error in that screenshot is that you're in a detached HEAD state
(9b6fe4f). You should switch to a branch, "git checkout -b branchname",
then "git review" from there.

On Sat, 5 Feb 2022 at 17:08, Shreyaans Jain 
wrote:

> I used git push also that was also giving me error
>
> Can you suggest me what should I do?
>
> On Sat, Feb 5, 2022, 17:01 Siddharth VP  wrote:
>
>> You need to be on a branch to use git review. You cannot use it while in
>> a detached HEAD state.
>>
>> On Sat, 5 Feb 2022 at 16:53, Shreyaans Jain 
>> wrote:
>>
>>> Thanks for your reply
>>>
>>> I followed the steps given in that article but i am still facing this
>>> issue
>>> Can you help me in it?
>>>
>>> On Sat, Feb 5, 2022, 12:05 Andre Klapper  wrote:
>>>
>>>> Hi,
>>>>
>>>> On Sat, 2022-02-05 at 11:57 +0530, Shreyaans Jain wrote:
>>>> > Hey everyone I was working on Videocuttool
>>>> > issue https://phabricator.wikimedia.org/T297992 and now the issue is
>>>> > resolved but I am unable to push the patch. I have properly
>>>> > set the ssh key on both my system as well as gerrit and also did the
>>>> > steps many times but still facing the problem. It will be great if
>>>> > anyone can help me in it .
>>>>
>>>> Please follow https://www.mediawiki.org/wiki/Gerrit/Tutorial
>>>>
>>>> Thanks,
>>>> andre
>>>> --
>>>> Andre Klapper (he/him) | Bugwrangler / Developer Advocate
>>>> https://blogs.gnome.org/aklapper/
>>>> ___
>>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>>
>>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>
>>> ___
>>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>>
>>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>
>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Facing error in pushing the patch

2022-02-05 Thread Siddharth VP
You need to be on a branch to use git review. You cannot use it while in a
detached HEAD state.

On Sat, 5 Feb 2022 at 16:53, Shreyaans Jain 
wrote:

> Thanks for your reply
>
> I followed the steps given in that article but i am still facing this
> issue
> Can you help me in it?
>
> On Sat, Feb 5, 2022, 12:05 Andre Klapper  wrote:
>
>> Hi,
>>
>> On Sat, 2022-02-05 at 11:57 +0530, Shreyaans Jain wrote:
>> > Hey everyone I was working on Videocuttool
>> > issue https://phabricator.wikimedia.org/T297992 and now the issue is
>> > resolved but I am unable to push the patch. I have properly
>> > set the ssh key on both my system as well as gerrit and also did the
>> > steps many times but still facing the problem. It will be great if
>> > anyone can help me in it .
>>
>> Please follow https://www.mediawiki.org/wiki/Gerrit/Tutorial
>>
>> Thanks,
>> andre
>> --
>> Andre Klapper (he/him) | Bugwrangler / Developer Advocate
>> https://blogs.gnome.org/aklapper/
>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Regarding Problem in Setting-up development environment .

2022-01-10 Thread Siddharth VP
Try running grunt build manually before npm start. If grunt build doesn't
work, try npx grunt build.

If the issue persists, please use the project-specific issue board which in
this case is https://github.com/WPAFC/afch-rewrite/issues

On Mon, 10 Jan 2022 at 17:44, Ameygupta  wrote:

> Hi , I tried hard for setting-up development environment but kept this
> facing this same issue in regularly .
>
>
>
> ERROR:
>
> [
>
> DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git/afch-rewrite
> (master)
>
> $ npm install
>
>
>
> up to date, audited 575 packages in 4s
>
>
>
> 51 packages are looking for funding
>
>   run `npm fund` for details
>
>
>
> 4 vulnerabilities (2 moderate, 2 high)
>
>
>
> To address all issues (including breaking changes), run:
>
>   npm audit fix --force
>
>
>
> Run `npm audit` for details.
>
>
>
> DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git/afch-rewrite
> (master)
>
> $ npm start
>
>
>
> > afch-rewrite@0.9.1 start
>
> > node server.js
>
>
>
> No file found at build/afch.css; building it with "grunt build"...
>
> 'github\afch-rewrite\node_modules\.bin\' is not recognized as an internal
> or external command,
>
> operable program or batch file.
>
> node:internal/modules/cjs/loader:936
>
>   throw err;
>
>   ^
>
>
>
> Error: Cannot find module 'C:\Users\DELL\OneDrive\Desktop\grunt\bin\grunt'
>
> at Function.Module._resolveFilename
> (node:internal/modules/cjs/loader:933:15)
>
> at Function.Module._load (node:internal/modules/cjs/loader:778:27)
>
> at Function.executeUserEntryPoint [as runMain]
> (node:internal/modules/run_main:81:12)
>
> at node:internal/main/run_main_module:17:47 {
>
>   code: 'MODULE_NOT_FOUND',
>
>   requireStack: []
>
> }
>
> The grunt build failed. Check the output, fix any errors, and try again.
>
>
>
>
>
> ]
>
>
>
>
>
> Sent from Mail  for
> Windows
>
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Gsoc 2022 contribution

2021-11-29 Thread Siddharth VP
The comment above on creating a help page for GSoC MediaWiki was not
directed at you, Viren Variya and Ashish Tiwari. Please just refer to
https://www.mediawiki.org/wiki/New_Developers for now. Pick a project,
explore the codebase, understand what the software does, understand what
are the issues or feature requests, and ask smart questions when in doubt.

While working on any project, it's good to ensure that it's needed and
identify the requirements before you start working on it, neither of which
has happened here. If creating a help page were a project (it is not), you
would have been given more context and details about what needs to be done.

On Tue, 30 Nov 2021 at 09:46, Viren Variya  wrote:

> Ashish tiwari can we work by collaboratively because I am also working on
> same page and having good knowledge in web development. If you ready so we
> can conform with organization too
>
> Thanks & Regards
>
> On Tue, 30 Nov 2021, 3:02 am Ashish tiwari,  wrote:
>
>> good morning sir
>> As you have told about the help page " GSOC Mediawiki " in earlier chat .
>> I have clone a static and a basic design using html and css please
>> review it and please guide what are the content or hyperlink we should add
>> to help the people to contribute in wikimedia, sir please tell me about ,
>> how should i share the code with you . I should make repository in my
>> github account and share the link with you or in some other way
>>
>> On Mon, Nov 29, 2021 at 8:15 PM Ashish tiwari 
>> wrote:
>>
>>> OK, thank you for your suggestion  sir , I will make it .
>>>
>>> On Mon, Nov 29, 2021, 7:45 PM Vi to  wrote:
>>>
 I think we should make an help page for people googling "GSoC
 Mediawiki" or similar.

 Vito

 Il giorno dom 28 nov 2021 alle ore 18:45 Jay prakash <
 0freerunn...@gmail.com> ha scritto:

> Hi Viren,
>
> Please see https://www.mediawiki.org/wiki/New_Developers and
> https://www.mediawiki.org/wiki/Outreach_programs.
>
>
> Jay Prakash,
> Volunteer Developer, Wikimedia Community
>
> On Sun, Nov 28, 2021 at 11:04 PM viren  wrote:
>
>> Respected organization,
>>
>> I am variya viren 2nd year undergraduate Computer science student I
>> want to contribute to your open source project. As I am intermediate in
>> open-source platform any have experience of it because I am a part of
>> hactoberfect 2021 and girlsScript winter for contribution this both are 
>> of
>> open source event.
>>
>>
>>
>> I know C++, C, Python, HTML, CSS, JavaScript, React, and apart from
>> this I have good problem-solving skills because I am a competitive
>> programmer and active user at codeforces, codechef, and leetcode
>>
>>
>>
>> I am very curious to contribute to your project and expand my
>> knowledge, Please give your guidance and proper direction to more ahead
>>
>>
>>
>> Regards,
>>
>> Viren Variya
>>
>>
>>
>> Sent from Mail  for
>> Windows 10
>>
>>
>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

 ___
 Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
 To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org

 https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>>>
>>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Fwd: Re: Code coverage for JavaScript testing?

2021-10-27 Thread Siddharth VP
There's also the https://github.com/wikimedia-gadgets/mock-mediawiki
project which provides a more comprehensive mock mediawiki environment,
best used with Jest (though it can be used with any test runner).

On Thu, 28 Oct 2021 at 06:00, Jon Robson  wrote:

> I recommend using Jest  for
> unit testing with code coverage.
>
> In various Vue.js extensions including NearbyPages
>  we use
> Jest which is recommended by the Vue.js migration team.
>
> An alternative approach is to use QUnit. In MobileFrontend and Popups we
> use a command line version of QUnit. It’s not tied to Webpack in any way
> despite the title (it would work with packageFiles these days). (
> https://mediawiki.org/wiki/User:Jdlrobson/Developing_with_Webpack_and_ResourceLoader#Writing_unit_tests_and_getting_code_coverage_reports
> )
>
> When using command line unit testing you'll need to use
> @wikimedia/mw-node-qunit  for
> providing a mock MediaWiki environment. Despite the name this library can
> be used with Jest (see NearbyPages for an example).
>
> Hope this is helpful!
>
> On Wed, Oct 27, 2021 at 7:51 AM planetenxin  wrote:
>
>>
>> Hi Greg,
>>
>> actually I'm more interested in creating the coverage reports on a local
>> dev box in the context of extension development / local CI (checking the
>> coverage of newly created JS tests). I did find info about running JS tests
>> but little to nothing about coverage. Maybe I missed something.
>>
>> /Alexander
>>
>> Am 27.10.2021 um 01:37 schrieb Greg Grossmeier:
>> > On Tue, Oct 26, 2021 at 2:31 AM planetenxin > > wrote:
>> >
>> > Is there a generic approach, how to get some coverage reports for
>> the JavaScript parts of MW and MW extensions?
>> >
>> >
>> > Is https://doc.wikimedia.org/cover/ 
>> helpful in your case?
>> >
>> > --
>> > | Greg Grossmeier  GPG: B2FA 27B1 F7EB D327 6B8E |
>> > | Dir. Engineering Productivity A18D 1138 8E47 FAC8 1C7D |
>> ___
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
>>
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
> ___
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/