[Wikitech-l] MediaWiki core master now requires PHP 7.0 or HHVM

2018-05-25 Thread Kunal Mehta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

MediaWiki core's master branch now requires a minimum of PHP 7.0 or
HHVM[1], as decided upon in the RfC. CI has been updated no longer run
PHP 5.5 tests.

There are already quite a few patches[2] to remove code that isn't
necessary now, or start using new features :) But out of caution,
we're waiting until after next week's Wikimedia train deploy before
merging those to ensure it doesn't need to be reverted for any reason.

It's important to remember that while nearly all of the new PHP 7.0
features can now be used, they still need to be supported in HHVM
(with hhvm.php7.all disabled). Notably, this means that scalar type
hints cannot be used. PHPCS should prevent those features from being
used (more on that in a separate email).

Thanks to everyone who made this finally happen, especially the
Wikimedia Operations team :)

- -- Legoktm

[1] https://gerrit.wikimedia.org/r/#/c/405216/
[2] https://gerrit.wikimedia.org/r/#/q/topic:new-php
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlsHydgACgkQUvyOe+23
/KJvEBAAj3ljVLOuSQitaB+6xakUTlZZpkcjRLyrbJ8KbfxyycB94pzlZ4fRdqHY
nBnrokrawqQqgVEai9hq7nfVngWYH2eC11dhIXrpj2oklxswVaOxxwhPF92SJ9IP
cuDawz9v6sqgMKDnQmHmTkpNmsWzez4d7LZMPW6UHKSGBl48ZZc5ZiTYlFyBKeLB
BY5CNHY41flx21Z+BTQBQ2+tZ/Fm2kv6tAgI9gj8wpS5lviq1bhO+AH2/7qEcpjm
LHZTcvrxHgctgU8XbEWXeGbNKK9/JUyuHApiDcgSXi81qGRHgaUytmYunXNQmsP8
51GzpGBL8R7YVP6uPFeYEcEJgvFAFa+xyeGHjDtTNniUj5co3eVixWvD668jCFc9
Lfd4O73vNMQluksNw81DEZQ5Pt+MMhA1DMqmAw+rwRYVdunfbumhh1uze03nJuCj
Pk386sJkXVmawbc8PV9U8tnUoNIY+ngdzjl0ivOGwlxRpt30Usv0XxiA2i1R9IUU
+BNGETmgpRg9i7cA4yqYGeOUeiYQhh4PHQeKIURp0M7BHChYsRCUqg6+blSNRqf4
TXpwIzAZ7Y3DjCxJLmn2zF1wHu5qSF20Af+hCf6A3WzYrnULGe2UtAk2BdOpJJ7h
zgtG/lLuQPHCXxAfrP8gkVtfkTL+LGD1ZZm+AGlpDWYNNnB5pqE=
=Xzun
-END PGP SIGNATURE-

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

[Wikitech-l] MediaWiki-CodeSniffer 19.0.0 and 20.0.0 released

2018-05-25 Thread Kunal Mehta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hello!

With MediaWiki core now requiring PHP 7.0 or HHVM as the minimum
version, CodeSniffer will now also require the same, and targets those
versions as the minimum for the code it will be checking starting with
version 20.0.0.

19.0.0 contains new sniffs and bug fixes, and is the last version to
support PHP 5.5 and 5.6. I will have libraryupgrader upgrade all
repositories directly to 20.0.0. If you want to continue to support
older PHP versions in your project, upgrade your project to use 19.0.0
directly. libraryupgrader will skip projects using that version, since
it means you explicitly want to support older PHP versions.

Here's the changelog for 19.0.0:
* Add break and continue to ParenthesesAroundKeywordSniff (Umherirrender
)
* Check if the default of null is in the type list of @param
(Umherirrender)
* Do not enforce name for traits with phpunit annotations (Umherirrender
)
* Don't allow 'iterable' type hint (Kunal Mehta)
* Prevent usage of nullable and void type hints (Kunal Mehta)
* Prohibit PHP's vanilla execution (Max Semenik)
* Reorganize PHP 7.0 compatibility sniffs into a category (Kunal Mehta)

And for 20.0.0:
* Require PHP 7 or HHVM to run (Kunal Mehta)
* Document why we still need to keep ScalarTypeHintUsageSniff (Kunal
Mehta)
* Drop PHP7UnicodeSyntaxSniff sniff (Kunal Mehta)

- -- Legoktm
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlsHy48ACgkQUvyOe+23
/KICmA/+OCzvr49gSu8VeB4+dQZR2qHp25rdShszsmsqr6iXKeObxUahLM0TcgtO
3x/TNCuT2uGnXrwVhzfqIglj0xs85niRx11tvCAm1rFPCMZKW8k1usA/s7nI5yQ4
3vnlkyZxhTKL+4VG0U0v2aMcQh8h+WhLyGqFZ9BW9CxzjZpxXuNJ/mP7KJtqaCZp
EH/23gzf/fez1szV6ZIeh42Bv11HRxZBGpiJGnh7Vs5xKmwzfhUZQsvKBq5vBit0
+snbt+c4QpqZ9hEsa5vFqYQKDRj6EybuFlTLRmPYXScfm0udm+6h5EqCfuz2QdUB
n88Cc/FApsgtUlve0LsOalpU/ePvEd3TPb33LU1mc/+bhBZs4j1E5mHlgmI28pWA
1UxuK8V5KP63ZcaWQsemU7vQ4wnS0PyPF+gabDxLmJNtW929AZe52mZxKq7lBO4K
rUdqHoGZylmIM/etM5LLnEpZ2rNPL9+S+JAtFV/kke60F6VLVFgfDMIVH3phvj7t
HrO2J+jq5eRQ8C4K1zvMXpyz1+vBtxma1yBsZMcrZZOlMaxoTjczWoLro3izBqs4
6BIZD4koEdtOJhcsz1GgnyaF6jGpWESirjwf9zRoruoZfGMrozEpvrk4SRiuHVoF
PqBs9bSUJ+IjrzQZD4dtdBEcb1m6sZ6UlQhxJ+8TQ3ChnHIGM5I=
=jP1N
-END PGP SIGNATURE-

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

Re: [Wikitech-l] [Wmfall] Announcing the Wikimedia Foundation's Technical Engagement team

2018-05-25 Thread Tony Sebro
This sounds very exciting.  Congrats all around, and three cheers for
supporting our external FOSS developer community!  :)

On Wed, May 23, 2018 at 7:35 PM, Victoria Coleman 
wrote:

>
> Hello everyone,
>
> to better serve the technical communities that build free and open source
> software for the movement as well as the communities who use Wikimedia's
> APIs to interact with our projects, the Wikimedia Foundation is making some
> structural changes. The Technical Engagement team is a new team in the
> Technology department of the Wikimedia Foundation reporting to the
> Foundation's Chief Technology Officer (CTO), Victoria Coleman. This new
> team has two sub-teams: the Wikimedia Cloud Services team and the Technical
> Advocacy team. Bryan Davis will manage the Technical Engagement teams. He
> will also lead the hiring process for a new Developer Advocacy Manager
> position, which will take over some of the management duties.
>
> The Wikimedia Cloud Services team will continue to focus on maintaining
> the Wikimedia Cloud VPS infrastructure as a service
> 
> platform, the Toolforge platform as a service
>  project, and
> additional supporting technologies used in the Cloud Services environment
> such as the Wiki Replica databases and the hosting infrastructure for
> dumps.wikimedia.org. The existing team of Andrew Bogott, Arturo Borrero
> Gonzalez, Brooke Storm, and Chase Pettet will be joined by James Hare in
> the role of Product Manager. The team is also hiring for a fifth Operations
> Engineer and for a part-time technical support contractor.
>
> The Technical Advocacy team will focus on creating improved documentation
> for Wikimedia APIs and services as well as providing support for technical
> contributors and API consumers. The new team is being formed by moving the
> Foundation's Developer Relations team to the Technology department, with
> the exception of Rachel Farrand who will remain in Community Engagement in
> close collaboration with other event organizers. Andre Klapper and Srishti
> Sethi are both taking the role of Developer Advocate in the new team. A
> developer advocate is someone whose primary responsibility is to make it
> easy for developers to use a platform. Typically they do this by producing
> example software, tutorials, and other documentation explaining how to use
> the platform's products and services. Sarah R. Rodlund will also be joining
> the team as a Technical Writer. Technical writing has many subspecialties.
> Sarah will be focusing on improving our existing documentation by helping
> create a style guide and editing existing documentation to fit with that
> guide. She will also be supporting volunteers who are interested in
> practicing their technical writing skills on Wikimedia documentation. The
> team will be hiring for a Developer Advocacy Manager role in July. This new
> person will help round out the skills of the team and will take the lead in
> developing their programs.
>
> The Technical Engagement team will work with other teams inside the
> Wikimedia Foundation as well as groups at affiliate organizations and the
> larger Wikimedia volunteer community to provide technical outreach services
> and support. We hope to continue to grow the number of people involved in
> our programs until we can confidently say that we are providing the best
> help possible to the hundreds of volunteer developers, designers, technical
> writers, and end users of the Wikimedia movement's APIs and services. We
> will continue to be involved in existing programs to attract and support
> new technical contributors like the Wikimedia Hackathons, Outreachy, and
> Google Summer of Code. We also hope to find new ways to connect with new
> and existing technical contributors as we support the Wikimedia movement's
> 2030 strategic direction and the shared goals of knowledge as a service and
> knowledge equity.
>
> Very excited to be getting started down the path of strengthening our
> developer advocacy program!
>
>
>
> Best wishes,
>
> Victoria Coleman
>
> Chief Technology Officer
> Wikimedia Foundation
> 1 Montgomery Street, Suite 1600
> San Francisco, CA 94104
>
> +1-650-703-8112
>
> vcole...@wikimedia.org
>
>
>
>
>
>
>
>
>
> ___
> Wmfall mailing list
> wmf...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wmfall
>
>


-- 
Tony Sebro
Deputy General Counsel
Wikimedia Foundation
1 Montgomery Street, Suite 1600
San Francisco, CA  94104
tse...@wikimedia.org
(415)839-6885 ext. 6784


*NOTICE: This message may be confidential or legally privileged. If you
have received it by accident, please delete it and let us know about the
mistake. As an attorney for the Wikimedia Foundation, for legal and ethical
reasons, I cannot give legal advice to, or serve as a lawyer for, community
members, v