[Wikitech-l] Re: Collect telemetry (using WikimediaEvents) for a gadget

2023-12-07 Thread Sam Smith
On Thu, Dec 7, 2023 at 6:41 AM psnbaotg via Wikitech-l <
wikitech-l@lists.wikimedia.org> wrote:

> But currently I can only see one metric at a time on this dashboard
> , it would be
> better if I could see multiple metrics at the same time for comparation
> (grouped by variant-prompt-* and variant-prompt-mobile-*).
>

I've created a draft dashboard that does this, which can be found here:
https://grafana.wikimedia.org/d/2wpKk7DIk/gadget-variantally-metrics.
Hopefully that's what you were aiming for.


> It seems that I cannot edit the panel myself. Could somebody provide any
> assistance? It will be much appreciated.
>

Per https://wikitech.wikimedia.org/wiki/Grafana#Editing_dashboards, you'll
need to request a volunteer NDA in order to be able to edit Grafana
dashboards.

-Sam
___
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: Removal of the mw.eventLog.Schema class without deprecation

2022-04-14 Thread Sam Smith
On Thu, Apr 14, 2022 at 5:25 PM Dan Andreescu 
wrote:

> On Thu, Apr 14, 2022 at 12:07 PM David Lynch  wrote:
>
>> This is still used in some MobileFrontend and DiscussionTools code. The
>> codesearch would be better done as
>> https://codesearch.wmcloud.org/search/?q=mw.eventLog.Schema=nope=js==
>>
>
> ah! I missed the open paren ( in the original search, good eye!
>

Seconded! Thanks, David!
___
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] Removal of the mw.eventLog.Schema class without deprecation

2022-04-14 Thread Sam Smith
Hello,

I've proposed the removal of the mw.eventLog.Schema class without
deprecation.

Patch: https://gerrit.wikimedia.org/r/780882
Phab task: https://phabricator.wikimedia.org/T305491
Uses:
- https://codesearch.wmcloud.org/search/?q=%5C.Schema%5C(=js
-
https://global-search.toolforge.org/?q=%5C.Schema%5C%28=1=2%2C4%2C8=%28Gadgets-definition%7C.*%5C.%28js%7Ccss%7Cjson%29%29

The EventLogging extension provides the mw.eventLog.Schema class as part of
its JavaScript API. The class was introduced circa 2015 and was used in a
handful of extensions maintained by the Readers Web team around that time.
As of writing, however, it is not used in any Wikimedia-hosted codebase,
user script, or gadget.

Thanks,

-Sam
___
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/

Re: [Wikitech-l] Scrum of scrums/2019-05-22

2019-05-23 Thread Sam Smith
I've also added a Readers Web update @
https://www.mediawiki.org/wiki/Scrum_of_scrums/2019-05-22#Readers_Web.

-Sam

---
Engineering Manager, Audiences
Wikimedia Foundation

Timezone: BST (UTC+1)


On Thu, May 23, 2019 at 4:57 PM Subramanya Sastry 
wrote:

> I have added a Parsing update @
> https://www.mediawiki.org/wiki/Scrum_of_scrums/2019-05-22#Parsing -Subbu.
>
> On 5/22/19 11:50 AM, Željko Filipin wrote:
> > Hi,
> >
> > I would like to highlight a few notes from SoS Meeting Bookkeeping:
> >
> > * We're still looking for a backup facilitator. 
> > * We're still looking for feedback if this meeting is useful. If it is,
> is
> > there anything we could do to make it more useful?
> > ** SoS is really useful to Release Engineering because we are frequently
> > blocked by various teams because of train. We also frequently block other
> > teams because we're in charge of continuous integration (CI).
> > ** Should we make the meeting notes as short as possible, so interested
> > people could read all of it? One step in that direction could be removing
> > teams that did not leave any updates.
> >
> > Željko
> >
> > --
> >
> > = 2019-05-22 =
> >
> > == Callouts ==
> >
> > * Train blocked
> > ** Growth - operand type was used:  expects array(s) or collection(s) in
> > /srv/mediawiki/wmf-config/flaggedrevs.php on line 182
> > https://phabricator.wikimedia.org/T224116
> > ** Growth - Special:ProblemChanges on several Wiktionary sites show raw
> > message IDs instead of translated strings
> > https://phabricator.wikimedia.org/T224124
> > * Introducing the codehealth pipeline beta (by Kosta Harlan)
> >
> https://phabricator.wikimedia.org/phame/post/view/160/introducing_the_codehealth_pipeline_beta/
> > * Language -> SRE:
> > https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/506043/
> >
> > == Audiences ==
> >
> > === Contributors ===
> >
> >  Community Tech 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> >
> >  Anti-Harassment Tools 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> >
> >  Editing 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** git #b6704010 - Automatically add a template when chosen from the
> > autocomplete list (Hackathon project)
> > ** git #3285b7db - Initialize $restbaseHeaders to null (T223281)
> > ** Working on a model corruption issue related to selections in VE:
> > (T202719)
> >
> >  Growth 
> > * Blocked by:
> > * Blocking:
> > ** Release Engineering - Train blocked
> > *** operand type was used:  expects array(s) or collection(s) in
> > /srv/mediawiki/wmf-config/flaggedrevs.php on line 182
> > https://phabricator.wikimedia.org/T224116
> > *** Special:ProblemChanges on several Wiktionary sites show raw message
> IDs
> > instead of translated strings https://phabricator.wikimedia.org/T224124
> > * Updates:
> > ** Introducing the codehealth pipeline beta (by Kosta Harlan)
> >
> https://phabricator.wikimedia.org/phame/post/view/160/introducing_the_codehealth_pipeline_beta/
> >
> >  Language 
> > * Blocked by:
> > ** SRE (BBlack):
> > https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/506043/
> > * Blocking:
> > * Updates:
> >
> > === Readers ===
> >
> >  iOS native app 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** Continuing development on v6.3 - beginning user testing soon
> > *** Talk page MCS endpoint - https://phabricator.wikimedia.org/T221148
> > *** Talk page native work - https://phabricator.wikimedia.org/T215928
> > *** Link wizard in Editor - https://phabricator.wikimedia.org/T213979
> > *** Media wizard in Editor - https://phabricator.wikimedia.org/T209398
> >
> >  Android native app 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** New Beta release with minor bug fixes and enhancements (and with
> updated
> > logout behavior).
> > ** Continuing to build on the Suggested Edits feature (beginning work on
> > editing structured captions on Commons).
> >
> >  Readers Web 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> >
> >  Readers Infrastructure 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** Maps: node10js migration is finished for a couple of weeks and remains
> > stable
> >
> >  Multimedia 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** qualifiers for depicts statements now on test-commons, should reach
> > commons itself later in the week
> > ** next release - other statements, within the next few weeks
> >
> >  Parsing 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> >
> >  UI Standardization 
> > * Blocked by:
> > * Blocking:
> > * Updates:
> >
> > == Technology ==
> >
> > === Analytics ===
> > * Blocked by:
> > * Blocking:
> > * Updates:
> > ** Team is at offsite next week, May 27 through May 31st
> > ** Time selector updated on Wikistats 2 along with other improvements, on
> > track for beta release by the end of the quarter
> > ** Looking into Apache Kylin for big data OLAP cube creation
> > ** Working on 

Re: [Wikitech-l] Announcing TechCom’s Newest Members

2018-07-18 Thread Sam Smith
Congratulations, both!

-Sam

---
Engineering Manager, Readers
Wikimedia Foundation

Timezone: BST (GMT+1)
@phuedx everywhere
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] GlobalPreferences now available on a wiki near you

2018-07-11 Thread Sam Smith
Congratulations on shipping! Great news! 

-Sam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Bugfix for diff engine & new Feature in testing

2017-11-09 Thread Sam Smith
On Wed, Nov 8, 2017 at 4:30 PM, Michael Schönitzer <
michael.schoenit...@wikimedia.de> wrote:

> It is now available on test wiki [2] and Mediawiki [3] and it would be
> great if you could test it and tell us if you encounter any bugs. [4] The
> deployment to all other wikis will hopefully happen in the near future.
>

o/ Michael,

Do you have a list of revisions that you're testing the diff view with on
testwiki and mediawikiwiki? I'd like to give this list to the Readers Web
QA'er, Anthony Borba, so he can take a quick pass at them using the Vector
and Minerva skins to see if there are any bugs that we might be able to
help out with.

Thanks to you and your team for your hard work,

-Sam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 2017-11-01 Scrum of Scrums meeting notes

2017-11-02 Thread Sam Smith
On Wed, Nov 1, 2017 at 5:53 PM, Grace Gellerman 
wrote:

> === Security ===
> * Updates:
> ** Reviews
> *** Marvin
>

A brief correction: I should've stalled this review request some time ago.
I've now done as much. My apologies for any confusion and/or delay that
this caused.

Thanks,

-Sam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] O'Reilly free books

2017-06-23 Thread Sam Smith
These are awesome, Amir. Thanks!

-Sam

---
IRC (Freenode): phuedx
Matrix: @phuedx:matrix.org
Timezone: BST (UTC+1)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Autodiscovery of extension unittests

2016-08-05 Thread Sam Smith
<3 <3 <3

Thank you for this Kunal and thanks for Florian for merging it!

-Sam

On Thu, Aug 4, 2016 at 9:16 PM, Greg Grossmeier  wrote:

> (Adding in qa@)
>
> 
> > Hi,
> >
> > One thing that's always annoyed me about writing tests for an extension
> > is that for the first test, you need to bootstrap it by adding a
> > UnitTestsList hook, and copying the code for it from some other
> extension.
> >
> > Now that we have a proper extension registry, I wrote
> >  (merged by Florian!), which
> > will automatically register any tests in an extension's "tests/phpunit/"
> > directory. If you already have a UnitTestsList hook, the tests won't be
> > duplicated or anything, but it is now safe to remove the hook.
> >
> >  tracks updating extensions
> > to do so by moving their tests into the standardized path and removing
> > the hook.
> >
> > Note: this requires that the extension has already been converted to use
> > extension.json.
>
> Great work, Kunal!
>
> --
> | Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
> | identi.ca: @gregA18D 1138 8E47 FAC8 1C7D |
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Ops] deployment-prep using valid certs for HTTPS

2016-08-02 Thread Sam Smith
Thank you for your work on this Alex and Brandon.

-Sam

On Tue, Aug 2, 2016 at 11:51 AM, Alex Monk  wrote:

> Hi all,
>
> With some help from Brandon, I've changed deployment-prep to use Let's
> Encrypt instead of the self-signed cert I added last year (to get HTTPS
> working - albeit improperly-signed - instead of nothing, and nginx/puppet
> working on the Varnish instances again).
> It should now behave much more like production - TLS redirects are enabled
> in Varnish, and you shouldn't have to ignore cert warnings to use it now.
> Details for HTTPS in deployment-prep are spread out over various tickets,
> but the main one now is https://phabricator.wikimedia.org/T50501
> The puppetisation still needs some work, but it's cherry-picked on
> deployment-puppetmaster and seems to be working reliably.
>
> Pages with images may need to be null-edited to make MediaWiki generate
> HTTPS URLs for them so browsers don't block the images.
> Please let me know if you find any beta.wmflabs.org domains that aren't
> covered by the cert or aren't redirecting HTTP to HTTPS in Varnish.
>
> --
> Alex Monk
>
> ___
> Ops mailing list
> o...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/ops
>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 'Unique Devices' Data Visualizations Available

2016-05-26 Thread Sam Smith
Thanks to all involved!

-Sam

On Tue, May 24, 2016 at 8:51 PM, Nuria Ruiz  wrote:

> Hello!
>
>
> The analytics team would like to announce that we have a new visualization
> for Unique Devices data. As you know Unique Devices [1] is our best proxy
> to calculate Unique Users. We would like to reiterate that the data is
> available in a public API that anyone can access [2]. We calculate Uniques
> daily and monthly.
>
>
> See, for example, "Daily Unique Devices" for Spanish Wikipedia versus
> French wikipedia:
>
> https://vital-signs.wmflabs.org/#projects=frwiki,eswiki/metrics=UniqueDevices
>
> FYI that dashboard would not work on IE, only on Edge.
>
> Thanks,
>
> Nuria
>
> [1] https://meta.wikimedia.org/wiki/Research:Unique_Devices
> [2] https://wikitech.wikimedia.org/wiki/Analytics/Unique_Devices
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Today's CREDIT showcase - video

2016-05-13 Thread Sam Smith
Thanks for taking the time to demo your projects y'all. Good work!

I'm particularly interested in Erik's geo boosted search queries and, as
was noted in his presentation, how it might be applied in the mobile
context.

-Sam

On Fri, May 13, 2016 at 2:34 AM, Adam Baso  wrote:

> Here's video from today's 12-May-2016 CREDIT showcase
> .
>
> https://www.youtube.com/watch?v=GwTDDWjxoek=youtu.be=7
>
> https://commons.wikimedia.org/wiki/File:CREDIT_-_May_2016.webm
>
> == Contents ==
>
> * Derk-Jan Hartman: Video.js progress
> * Dmitry Brant: Wikidata infoboxes in Android app
> * Joaquin Hernandez: Vicky chat bot
> * Baha: mobile printing for offline reading
> * Monte: "smart random" content service endpoint
> * Erik: Geo boosting search queries
> * Julien: Maps for Wikivoyage
>
> Thanks!
> -Adam
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] WatchedItemStore - What, Why & How

2016-05-11 Thread Sam Smith
On Wed, May 11, 2016 at 8:59 AM, Joaquin Oltra Hernandez <
jhernan...@wikimedia.org> wrote:

> Awesome work and blog post! Thanks a lot for sharing.


Seconded! Thanks for taking the time to write up your experiences and
sharing them.

-Sam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] X-Wikimedia-Debug, your new secret side-kick

2016-04-01 Thread Sam Smith
On Thu, Mar 31, 2016 at 2:32 AM, Ori Livneh  wrote:​
>
> Cool? Cool.
>

Very cool.

Kudos to all involved.

-Sam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] MediaWiki core master now requires 5.5.9+ and other CI changes

2016-02-10 Thread Sam Smith
Seconded! Sincere thanks to everyone involved!

-Sam

On Wed, Feb 10, 2016 at 8:43 AM, Florian Schmidt <
florian.schmidt.wel...@t-online.de> wrote:

> Yay! Thanks for the info Lego! That was a great job, thanks to anyone
> involved :)
>
> Best
> Florian Schmidt
>
> -Original-Nachricht-
> Betreff: [Wikitech-l] MediaWiki core master now requires 5.5.9+ and other
> CI changes
> Datum: 2016-02-10T08:24:26+0100
> Von: "Legoktm" 
> An: "Wikimedia developers" 
>
> Hi,
>
> /gerrit.wikimedia.org/r/266931> has been merged, so MediaWiki
> core now requires PHP 5.5.9 or higher to run. We had to make some (read:
> a lot) of CI changes for that to happen, here's a quick summary:
>
> * php53 jobs are only triggered for REL1_2[3-6] branches
> * php55 jobs are only triggered for branches that are not REL1_2[3-6]
> * All extensions that previously had php53 tests now run them under both
> hhvm and php55
> * composer related jobs were renamed to standardize with other CI jobs
>
> Since this is a large change for extensions, I went ahead and ran jobs
> for all extensions that have unittests, and collected the results:
> /www.mediawiki.org/wiki/User:Legoktm/PHP_5.5/Extensions>. Please
> take a look to see if your extension(s) are failing, and fix or file
> bugs as needed! Some of the failures aren't even related to HHVM/PHP5.5,
> the repos have just been broken.
>
> And if you run into any CI related issues, please file a bug in the
> #CI-Config Phab project!
>
> -- Legoktm
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Engineering] New [[Main Page]] for Wikitech

2016-02-01 Thread Sam Smith
Nice work, Bryan. Thanks!

-Sam

On Fri, Jan 29, 2016 at 5:55 AM, Bryan Davis  wrote:

> I've been working on a little redesign project for the Main Page on
> wikitech [0] and three key sub pages it points to since 2016-01-01 in
> my User space. Tonight I decided that although it is far from perfect
> it is better enough. I hope that some of you like it better than the
> old page and that none of you hate it with a fiery passion that
> compels you to revert it rather than helping me make it better.
>
> [0]: https://wikitech.wikimedia.org/wiki/Main_Page
>
> Bryan
> --
> Bryan Davis  Wikimedia Foundation
> [[m:User:BDavis_(WMF)]]  Sr Software EngineerBoise, ID USA
> irc: bd808v:415.839.6885 x6855
>
> ___
> Engineering mailing list
> engineer...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/engineering
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Fwd: Your speaking schedule at FOSDEM

2016-01-18 Thread Sam Smith
Awesome! Looking forward to tuning in.

-Sam

On Sun, Jan 17, 2016 at 8:37 PM, Jon Robson  wrote:

> Good luck Matt! Glad to hear you'll be the sharing your experience of
> conversions with the wider FOSS community.
>
> I look forward to seeing the streamed version!
> On 15 Jan 2016 2:17 p.m., "Matthew Flaschen" 
> wrote:
>
> > I will be presenting at FOSDEM on the LiquidThreads to Flow conversion,
> at
> > 2016-01-30, 16:00 Belgium time:
> >
> >
> >
> http://www.timeanddate.com/worldclock/fixedtime.html?msg=FOSDEM+LiquidThreads+to+Flow+talk+by+Matt+Flaschen%2C+Livestreamed=20160130T15
> >
> > It will be live-streamed at
> > https://live.fosdem.org/watch.php?room=H.2215%20(Ferrer) (from what I
> can
> > tell in advance).
> >
> > Thanks,
> >
> > Matt Flaschen
> >
> >  Forwarded Message 
> > Subject: Your speaking schedule at FOSDEM
> > Date: Fri, 15 Jan 2016 22:13:33 +0100 (CET)
> > From: FOSDEM Programme Team 
> > Reply-To: speak...@fosdem.org
> > Organization: FOSDEM - https://fosdem.org/
> > To: Matt Flaschen 
> > CC: speak...@fosdem.org
> >
> > Dear speaker,
> >
> > Thank you for agreeing to speak at FOSDEM!
> >
> > Our programme is now complete:
> >   https://fosdem.org/2016/schedule/
> >
> > This is your schedule:
> >
> >
> >
> ..
> > | day| time | room| title  |
> >
> >
> ++--+-+--+
> > | 2016-01-30 | 16:00:00 | H.2215 (Ferrer) | Converting LiquidThreads to
> > Flow |
> >
> >
> '+--+-+--'
> >
> > .-.
> > | links   |
> > +-+
> > | https://fosdem.org/2016/schedule/event/flow |
> > '-'
> >
> > Please check these links carefully.  If you already created an account
> at:
> >   https://fosdem.org/submit
> > you can login and update the information if need be.
> >
> > In particular, please upload a photograph if you have not already done
> > so and enter or update your biography.
> >
> > Changes take a few minutes to reach the website - the time it was last
> > updated appears at the bottom of this page:
> >   https://fosdem.org/2016/schedule/events/
> >
> > If you find yourself unable to attend, please let your room's organiser
> > know this as soon as possible.
> >
> > FOSDEM intends to record and stream the entire conference live - that's
> > over 300 hours of content!  The recordings will be published under the
> > same licence as all FOSDEM content (CC-BY).  You are agreeing to this by
> > taking part in the event.
> >
> > Any slide decks you present should be uploaded by about half-an-hour
> > before the start of your talk so that people watching the live stream
> > can follow them locally if their video resolution leaves slide content
> > indistinct.  (Our system does not hold back publication, so if you don't
> > want people to see them too far in advance, don't upload them yet.)
> >
> > Projectors work at 1024x768 but expect slides (and any demonstrations)
> > to be scaled down to 720x576 for the video, so try to make them
> > readable at this lower resolution if you can.
> >
> > Please don't forget to bring a VGA adaptor if you hope to present from a
> > laptop that only has a different type of output connector!  We also
> > recommend bringing a spare copy of any slides on a USB stick.
> >
> > As usual, we aim to provide free high-quality wireless network
> > connectivity throughout the event.
> >
> > Best wishes,
> >
> > The FOSDEM Programme Team
> >
> >
> >
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] CI and cross repository dependencies

2015-11-19 Thread Sam Smith
This is great! A huge thanks to everyone involved.

-Sam

On Thu, Nov 19, 2015 at 5:26 PM, Amir E. Aharoni <
amir.ahar...@mail.huji.ac.il> wrote:

> Wonderful, thank you, this should be very useful.
>
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬
>
> 2015-11-19 15:19 GMT+02:00 Antoine Musso :
>
> > Hello,
> >
> > We often have the case of a change to an extension depending on a
> > pending patch to MediaWiki core.  I have upgraded our CI scheduler -
> > Zuul - a couple weeks ago and it now supports marking dependencies even
> > in different repositories.
> >
> >
> > Why does it matter?  To make sure the dependency is fulfilled one
> > usually either:
> >
> > * CR-2 the patch until dependent change is merged
> > * write a test that exercise the required patch in MediaWiki.
> >
> > With the first solution (lack of test), once both are merged, nothing
> > prevent one from cherry picking a patch without its dependent patch.
> > For example for MediaWiki minor releases or Wikimedia deployment
> branches.
> >
> > When a test covers the dependency, it will fail until the dependent one
> > is merged which is rather annoying.
> >
> >
> > Zuul now recognizes the header 'Depends-On' in git messages, similar to
> > 'Change-Id' and 'Bug'.  'Depends-On' takes as parameter a change-id and
> > multiple ones can be added.
> >
> > When a patch is proposed in Gerrit, Zuul looks for Gerrit changes
> > matching the 'Depends-On' and verify whether any are still open. In such
> > a case, it will craft references for the open patches so all the
> > dependencies can be tested as if they got merged.
> >
> >
> > Real world example
> > --
> >
> > The ContentTranslation extension is tested with the Wikidata one and was
> > not passing the test.  Wikidata created a patch and we did not want to
> > merge it until we confirm the ContentTranslation one is passing properly.
> >
> > The Wikidata patch is https://gerrit.wikimedia.org/r/#/c/252227/
> > Change-Id: I0312c23628d706deb507b5534b868480945b6163
> >
> > On ContentTranslation we indicated the dependency:
> > https://gerrit.wikimedia.org/r/#/c/252172/1..2//COMMIT_MSG
> > + Depends-On: I0312c23628d706deb507b5534b868480945b6163
> >
> > Which is the Wikidata patch.
> >
> >
> > Zuul:
> > * received the patch for ContentTranslation
> > * looked up the change-id and found the Wikidata
> > * created git references in both repo to point to the proper patches
> >
> > Jenkins:
> > * zuul-cloner cloned both repos and fetched the references created by
> > the Zuul service
> > * run tests
> > * SUCCESS
> >
> > That confirmed us the Wikidata patch was actually fixing the issue for
> > ContentTranslation. Hence we CR+2 both and all merged fine.
> >
> >
> > Please take a moment to read upstream documentation:
> >
> >
> >
> http://docs.openstack.org/infra/zuul/gating.html#cross-repository-dependencies
> >
> > Wikidata/ContentTranslation task:
> > https://phabricator.wikimedia.org/T118263
> >
> >
> > --
> > Antoine "hashar" Musso
> >
> >
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Engineering] Pageview API

2015-11-17 Thread Sam Smith
This is *awesome*. Excellent work Team Analytics!

On Mon, Nov 16, 2015 at 9:50 PM, Dan Andreescu 
wrote:

> Dear Data Enthusiasts,
>
>
> In collaboration with the Services team, the analytics team wishes to
> announce a public Pageview API
> .
> For an example of what kind of UIs someone could build with it, check out
> this excellent demo 
> (code)
> 
> .
>
>
> The API can tell you how many times a wiki article or project is viewed
> over a certain period.  You can break that down by views from web crawlers
> or humans, and by desktop, mobile site, or mobile app.  And you can find
> the 1000 most viewed articles
> 
> on any project, on any given day or month that we have data for.  We
> currently have data back through October and we will be able to go back to
> May 2015 when the loading jobs are all done.  For more information, take a
> look at the user docs
> .
>
>
> After many requests from the community, we were really happy to finally
> make this our top priority and get it done.  Huge thanks to Gabriel, Marko,
> Petr, and Eric from Services, Alexandros and all of Ops really, Henrik for
> maintaining stats.grok, and, of course, the many community members who have
> been so patient with us all this time.
>
>
> The Research team’s Article Recommender tool
>  already uses the API to rank pages and
> determine relative importance.  Wiki Education Foundation’s dashboard
>  is going to be using it to count how
> many times an article has been viewed since a student edited it.  And there
> are other grand plans for this data like “article finder”, which will find
> low-rated articles with a lot of pageviews; this can be used by editors
> looking for high-impact work.  Join the fun, we’re happy to help get you
> started and listen to your ideas.  Also, if you find bugs or want to
> suggest improvements, please create a task in Phabricator and tag it with
> #Analytics-Backlog
> .
>
>
> So what’s next?  We can think of too many directions to go into, for
> pageview data and Wikimedia project data, in general.  We need to work with
> you to make a great plan for the next few quarters.  Please chime in here
>  with your needs.
>
>
> Team Analytics
>
> ___
> Engineering mailing list
> engineer...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/engineering
>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l