Re: [Wikitech-l] Try out the commit message validator

2017-11-06 Thread Niklas Laxström
2017-11-07 7:58 GMT+02:00 Kunal Mehta :
>
> But sometimes people aren't familiar with the guidelines, or more likely
> we make a typo somewhere. Here's where the commit-message-validator[2]
> comes in handy!
>

Does the tool check for typos? Typos in commit messages get merged all the
time, including my own. I would like to avoid that :)

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

Re: [Wikitech-l] Try out the commit message validator

2017-11-06 Thread Prateek Saxena
This is great, thanks Kunal, Bryan and Fabian :)

On Tue, Nov 7, 2017 at 11:28 AM, Kunal Mehta  wrote:
> Hi!
>
> tl;dr 
>
> Commit messages are pretty important - they make it easy to figure out
> what a change does without reading the entire diff. And because of that,
> we have some guidelines[1] on how to format your commit message in the
> standard way.
>
> But sometimes people aren't familiar with the guidelines, or more likely
> we make a typo somewhere. Here's where the commit-message-validator[2]
> comes in handy!
>
> $ git commit
> 
> commit-message-validator v0.5.1
> The following errors were found:
> Line 1: First line should be <=80 characters
> Line 3: Bug: value must be a single phabricator task ID
> Please review
> 
> and update your commit message accordingly
>
> Or if you did a good job:
> commit-message-validator v0.5.1
> Commit message is formatted properly! Keep up the good work!
>
> Installing it as a git hook is the recommended usage, and instructions
> on the wiki page[2] explain how to do so, even for people who aren't
> familiar with Python.
>
> The tool was written by Bryan Davis, Fabian Neundorf, and myself.
> Bugs/feature requests can be filed in the Phabricator project.
>
> [1] https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines
> [2] https://www.mediawiki.org/wiki/Commit-message-validator
>
> -- 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] Try out the commit message validator

2017-11-06 Thread Kunal Mehta
Hi!

tl;dr 

Commit messages are pretty important - they make it easy to figure out
what a change does without reading the entire diff. And because of that,
we have some guidelines[1] on how to format your commit message in the
standard way.

But sometimes people aren't familiar with the guidelines, or more likely
we make a typo somewhere. Here's where the commit-message-validator[2]
comes in handy!

$ git commit

commit-message-validator v0.5.1
The following errors were found:
Line 1: First line should be <=80 characters
Line 3: Bug: value must be a single phabricator task ID
Please review

and update your commit message accordingly

Or if you did a good job:
commit-message-validator v0.5.1
Commit message is formatted properly! Keep up the good work!

Installing it as a git hook is the recommended usage, and instructions
on the wiki page[2] explain how to do so, even for people who aren't
familiar with Python.

The tool was written by Bryan Davis, Fabian Neundorf, and myself.
Bugs/feature requests can be filed in the Phabricator project.

[1] https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines
[2] https://www.mediawiki.org/wiki/Commit-message-validator

-- Legoktm



signature.asc
Description: OpenPGP digital signature
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 2017 Community Wishlist Survey starts today!

2017-11-06 Thread Nick Wilson (Quiddity)
Completely fixed link:
https://meta.wikimedia.org/wiki/Special:MyLanguage/2017_Community_Wishlist_Survey
:-)

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

Re: [Wikitech-l] Upcoming holidays/events and their impact on the deployment schedule

2017-11-06 Thread Greg Grossmeier
Reminder as we approach Thanksgiving in the US in a couple weeks:


> Hello all,
> 
> It's that time of year again where the density of holidays increases and
> at the same time our plans for fundraising also increase.
> 
> Per our usual practice we will be not doing deployments at various
> points in the next few months. Here's the full outline:
> 
> Reminder for all on we did last year:
> * No MW train the week of Thanksgiving (but SWAT deploys were open for
>   high-priority things).
> * No deploys (at all) the last two weeks of December. People were happy
>   with this.
> * The first week of January was normal (minus Monday being Jan 2nd, our
>   observed New Year's Day holiday) deployment wise.
> * The second week was weird due to Dev Summit/All Hands: No MediaWiki
>   train, only SWATs as needed on Mon/Tues/Wed. No SWATs/deploys during
>   All Hands.
> 
> I imagine we'll do similarly. In that case (looking at the calendar)
> 
> * No MW train the week of Thanksgiving (Nov 20th), SWATs open for high
>   priority things
> * No deploys weeks of Dec 18th and 25th (last two weeks)
> * Normal week week of Jan 1st (minus no deploys that Monday)
> * The Dev Summit and WMF All Hands is the week of January 22nd, so that
>   will be a "No Train but SWATs OK on Mon/Tues/Wed" week.
> * The following week (week of January 29th) the Release Engineering team
>   will be on an offsite, so a week of "No Train, but SWATs and service
>   deploys OK".
> 
> This is now on-wiki at:
> https://wikitech.wikimedia.org/wiki/Deployments#Upcoming
> 
> Best,
> 
> Greg
> 
> -- 
> | Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
> | Release Team ManagerA18D 1138 8E47 FAC8 1C7D |



-- 
| Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
| Release Team ManagerA18D 1138 8E47 FAC8 1C7D |


signature.asc
Description: PGP signature
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 2017 Community Wishlist Survey starts today!

2017-11-06 Thread Danny Horn
Darn, that link is last year's. It should be:

https://meta.wikimedia.org/wiki/2017 Community_Wishlist_Survey


On Mon, Nov 6, 2017 at 11:42 AM, Danny Horn  wrote:

> Hi everyone,
>
> The third annual Community Wishlist Survey starts today, and you're
> invited to post proposals for projects that you'd like WMF's Community
> Tech team to work on:
>
> https://meta.wikimedia.org/wiki/2016_Community_Wishlist_Survey
>
> The Community Tech team builds features and makes changes that active
> Wikimedia contributors want, and the Wishlist Survey sets the team's
> agenda for the year.
>
> The Wishlist Survey starts with a two-week proposal period, when
> contributors from all Wikimedia projects are invited to post, discuss and
> improve propsals. After that, there's a two-week voting period, when
> everyone can post support-votes on the proposals that they think are
> worthwhile. We end up with a ranked list of wishes, measured by the
> participants' enthusiasm for each idea.
>
> Community Tech is responsible for addressing the top 10 wishes on the
> list, as well as some wishes from smaller groups and projects that are
> doing important work, but don't have the numbers to get their proposal into
> the top 10. The Wishlist is also used by volunteer developers and other
> teams, who want to find projects to work on that the community really
> wants.
>
> So I hope that everybody comes and participates; it's an opportunity to
> set the agenda for a Wikimedia Foundation product team.
>
> We would also ask that you help us spread the word. Please do post on your
> wikis and tell others this is happening, and that if they don't feel
> comfortable writing in English, proposals are welcome in any language.
>
> I hope to see everyone there!
>
> Danny Horn
> WMF Community Tech
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] 2017 Community Wishlist Survey starts today!

2017-11-06 Thread Danny Horn
Hi everyone,

The third annual Community Wishlist Survey starts today, and you're invited
to post proposals for projects that you'd like WMF's Community Tech team to
work on:

https://meta.wikimedia.org/wiki/2016_Community_Wishlist_Survey

The Community Tech team builds features and makes changes that active
Wikimedia contributors want, and the Wishlist Survey sets the team's agenda
for the year.

The Wishlist Survey starts with a two-week proposal period, when
contributors from all Wikimedia projects are invited to post, discuss and
improve propsals. After that, there's a two-week voting period, when
everyone can post support-votes on the proposals that they think are
worthwhile. We end up with a ranked list of wishes, measured by the
participants' enthusiasm for each idea.

Community Tech is responsible for addressing the top 10 wishes on the list,
as well as some wishes from smaller groups and projects that are doing
important work, but don't have the numbers to get their proposal into the
top 10. The Wishlist is also used by volunteer developers and other teams,
who want to find projects to work on that the community really wants.

So I hope that everybody comes and participates; it's an opportunity to set
the agenda for a Wikimedia Foundation product team.

We would also ask that you help us spread the word. Please do post on your
wikis and tell others this is happening, and that if they don't feel
comfortable writing in English, proposals are welcome in any language.

I hope to see everyone there!

Danny Horn
WMF Community Tech
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Simple overview image about how MW loads resources in clients

2017-11-06 Thread Gergo Tisza
Nice! Can you put it on Commons under a free license?

debug=1 in the URL query disables the bottom third of the image; scripts
are loaded via direct source URLs. Not sure if that's worth mentioning.
Also IIRC there are some other magic modules beyond startup where the URL
does not contain the module names (such as the code for the gadgets the
user has enabled). And the page-specific settings (via
the MakeGlobalVariablesScript hook) just get inlined in the initial HTML.
Again not sure if that's worth mentioning.


On Mon, Nov 6, 2017 at 10:39 AM, Joaquin Oltra Hernandez <
jhernan...@wikimedia.org> wrote:

> Hi,
>
> We were having a session where we talked about resource loading, code entry
> points for the front-end, and how things work on MediaWiki, and we came up
> with a small pic to explain the lifecycle for people newer to MediaWiki.
>
> Maybe it could help some people get a better grasp about where files are
> coming from and what why the load.php urls are as they are.
>
> Please, forgive any missing details, and if there is something very wrong
> I'd love to correct it, please let me know.
>
> Also to clarify, "Magic" is used as "Dynamic, runtime based, dependent on
> the state of your code/client cache/server state & extensions" to shorten
> things and in a humorous key.
>
> Links:
>
>- Phab: https://phabricator.wikimedia.org/M232
>- Imgur: https://i.imgur.com/DYLqtQf.png
> ___
> 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] Important news about the November dumps run!

2017-11-06 Thread Ariel Glenn WMF
Rsync of xml/sql dumps to the web server is now running on a rolling basis
via a script, so you should see updates regularly rather than "every
$random hours".  There's more to be done on that front, see
https://phabricator.wikimedia.org/T179857 for what's next.

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

[Wikitech-l] Simple overview image about how MW loads resources in clients

2017-11-06 Thread Joaquin Oltra Hernandez
Hi,

We were having a session where we talked about resource loading, code entry
points for the front-end, and how things work on MediaWiki, and we came up
with a small pic to explain the lifecycle for people newer to MediaWiki.

Maybe it could help some people get a better grasp about where files are
coming from and what why the load.php urls are as they are.

Please, forgive any missing details, and if there is something very wrong
I'd love to correct it, please let me know.

Also to clarify, "Magic" is used as "Dynamic, runtime based, dependent on
the state of your code/client cache/server state & extensions" to shorten
things and in a humorous key.

Links:

   - Phab: https://phabricator.wikimedia.org/M232
   - Imgur: https://i.imgur.com/DYLqtQf.png
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] TechCom Radar, 2017-11-01

2017-11-06 Thread Daniel Kinzler
Hello all!

Here are the minutes from this week's meeting:

* TechCom would like to thank Kevin Smith for his help with facilitating and
note taking. We hope to see you around, Kevin!

* Previous IRC meeting: How to modify all preferences?
. Outcome: Introducing a
PreferenceFactory service seems like a good idea, but there are several issues
to resolve with the implementation as proposed. RFC remains under discussion.

* Last Call canceled: Bump PHP requirement to 5.6 in 1.31
. The RFC goes back to “under
discussion” due to an issue raised by Anomie
.

* Discussion on wikitech-l: Proposal regarding the handling of imported
usernames
.

* Next IRC meeting: Gathering input on the RFC process. We want to hear from you
what you like or dislike about the RFC process. If you have criticism or
suggestions, please let us know. Note that we have diverged quite a bit from the
process as documented at Requests_for_comment/Process. This session is part of a
drive to overhaul our processes and improve documentation.

As always, the discussion will take place in the IRC channel
#wikimedia-office on Wednesday 21:00 UTC (2pm PDT, 23:00 CEST).

* Daniel has published a rant about how unclear ownership makes it hard to
address technical debt
.
This topic was brought up during the discussion about FauxRequest
.


You can also find our meeting minutes at


See also the TechCom RFC board
.

-- 
Daniel Kinzler
Principal Platform Engineer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

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