[Wikitech-l] Phabricator monthly statistics - 2015-04
Hi Community Metrics team, this is your automatic monthly Phabricator statistics mail. Number of accounts created in (2015-04): 260 Number of active users (any activity) in (2015-04): 766 Number of task authors in (2015-04): 413 Number of users who have closed tasks in (2015-04): 226 Number of projects which had at least one task moved from one column to another on their workboard in (2015-04): 191 Number of tasks created in (2015-04): 3098 Number of tasks closed in (2015-04): 2478 Number of open and stalled tasks in total: 21503 Median age in days of open tasks by priority: Unbreak now: 7 Needs Triage: 84 High: 135 Normal: 358 Low: 675 Needs Volunteer: 503 (How long tasks have been open, not how long they have had that priority) TODO: Numbers which refer to closed tasks might not be correct, as described in T1003. Yours sincerely, Fab Rick Aytor (via community_metrics.sh on iridium at Fri May 1 00:00:06 UTC 2015) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] iconv/mb_convert expert needed to advise on a patch for T39665
I made a patch [0] for T39665 [1] about 6 months ago. It has been rotting in gerrit since. The core bug is related to glibc's iconv implementation and PHP (and HHVM as well I think). To work around the iconv bug I wrote a little helper function that will use mb_convert_encoding() instead if it is present. in review PleaseStand pointed out that the libmbfl used by mb_convert_encoding has some differences in the supported character sets and character set naming [2] vs iconv. I was hoping that someone on this list could step in and either convince me to abandon this patch and pretend I never investigated the problem or help design a solution that will plaster over these differences in a reasonable way. [0]: https://gerrit.wikimedia.org/r/#/c/172101/ [1]: https://phabricator.wikimedia.org/T39665 [2]: https://php.net/manual/en/mbstring.encodings.php Bryan -- Bryan Davis Wikimedia Foundationbd...@wikimedia.org [[m:User:BDavis_(WMF)]] Sr Software EngineerBoise, ID USA irc: bd808v:415.839.6885 x6855 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Conpherence enabled? (was [Wikitech-ambassadors] Tech newsletter (2015, week 19))
For the sake of open collaboration, please let's not encourage ways of communication that are non-standard for open source projects. PM on IRC should be more than enough for online 1:1 communications, while email is good enough for offline. GSoC is all about introducing more people to open collaboration, and Conpherence doesn't sound as if it's helping to accomplish this goal in any way. On Tue, May 5, 2015 at 10:23 PM, Jamison Lofthouse jamison.loftho...@gmail.com wrote: Please no Phriction for obvious reasons ;). As for Conpherence it was more for the one-on-one conversations that are needed for GSoC and other mentor to student collaborations. Negative24 On Tue, May 5, 2015 at 12:58 PM Legoktm legoktm.wikipe...@gmail.com wrote: On 05/04/2015 08:07 AM, Guillaume Paumier wrote: * You can now chat with other users https://www.mediawiki.org/wiki/Conpherence in Phabricator. [1] https://phabricator.wikimedia.org/T91392 Uh, why? Where was this actually discussed with more than 4 people? We already have IRC and mailing lists, so why do we need yet another communication system? Are we going to be enabling Phriction next? Please turn it off. -- 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 -- Best regards, Max Semenik ([[User:MaxSem]]) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Conpherence enabled? (was [Wikitech-ambassadors] Tech newsletter (2015, week 19))
Please no Phriction for obvious reasons ;). As for Conpherence it was more for the one-on-one conversations that are needed for GSoC and other mentor to student collaborations. Negative24 On Tue, May 5, 2015 at 12:58 PM Legoktm legoktm.wikipe...@gmail.com wrote: On 05/04/2015 08:07 AM, Guillaume Paumier wrote: * You can now chat with other users https://www.mediawiki.org/wiki/Conpherence in Phabricator. [1] https://phabricator.wikimedia.org/T91392 Uh, why? Where was this actually discussed with more than 4 people? We already have IRC and mailing lists, so why do we need yet another communication system? Are we going to be enabling Phriction next? Please turn it off. -- 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
Re: [Wikitech-l] [Pywikipedia-l] Connecting to github community
On Wed, May 6, 2015 at 12:13 AM Greg Grossmeier g...@wikimedia.org wrote: Quick general question: are you proposing this for pywikibot only? I think the answer is yes, just making sure. No, I'm proposing to do this in general. I never mentioned pywikibot as the goal I just said I did a test in pywikibot and it worked well. quote name=Amir Ladsgroup date=2015-05-05 time=07:05:48 + Hey, Github has a huge community of developers that collaborating with them can be beneficial for us and them but Wikimedia codes are in gerrit (and in future in phabricator) and our bug tracker is in phabrictor. sometimes It feels we are in another planet. Wikimedia has a mirror in github but we close pull requests immediately and we barely check issues raised there. Also there is a big notice in github[1], if you want to help, do it our way. Suddenly I got an idea that if we can synchronize github activities with gerrit and phabricator, it would help us by letting others help in their own way. It made me so excited that I wrote a bot yesterday to automatically duplicates patches of pull requests in gerrit and makes a comment in the pull request stating we made a patch in gerrit. I did a test in pywikibot and it worked well [2][3]. Note that the bot doesn't create a pull request for every gerrit patch but it creates a gerrit patch for every (open) pull requests. But before I go on we need to discuss on several important aspects of this idea: 1- Is it really necessary to do this? Do you agree we need something like that? 2-I think a bot to duplicate pull requests is not the best idea since it creates them under the bot account and not under original user account. We can create a plugin for phabrictor to do that but issues like privacy would bother us. (using OAuth wouldn't be a bad idea) What do you think? What do you suggest? 3- Even if we create a plugin, still a bot to synchronize comments and code reviews is needed. I wrote my original code in a way that I can expand this to do this job too, but do you agree we need to do this? 4- We can also expand this bot to create a phabricator task for each issue that has been created (except pull requests). Is it okay? I published my code in [4]. [1]: https://github.com/wikimedia/pywikibot-core Github mirror of pywikibot/core - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing [2]: https://github.com/wikimedia/pywikibot-core/pull/5 [3]: https://gerrit.wikimedia.org/r/208906 [4]: https://github.com/Ladsgroup/sync_github_bot Best ___ Pywikipedia-l mailing list pywikipedi...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l -- | Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E | | identi.ca: @gregA18D 1138 8E47 FAC8 1C7D | ___ Pywikipedia-l mailing list pywikipedi...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] [Reminder] [x-post] Language Engineering IRC Office Hour on 5th May 2015 (Tuesday) at 1430 UTC
Hello, A quick reminder about Wikimedia Language Engineering team's IRC office hour later today at 1430 UTC[1] on #wikimedia-office. Please see below for the original announcement, local time, and agenda. We will post logs on metawiki[2] after the event. Thanks Runa [1] http://www.timeanddate.com/worldclock/fixedtime.html?iso=20150505T1430 [2] https://meta.wikimedia.org/wiki/IRC_office_hours#Office_hour_logs -- Forwarded message -- From: Runa Bhattacharjee rbhattachar...@wikimedia.org Date: Thu, Apr 30, 2015 at 7:29 PM Subject: [x-post] Next Language Engineering IRC Office Hour is on 5th May 2015 (Tuesday) at 1430 UTC To: MediaWiki internationalisation mediawiki-i...@lists.wikimedia.org, Wikimedia developers wikitech-l@lists.wikimedia.org, Wikimedia Mailing List wikimedi...@lists.wikimedia.org, Wikimedia GLAM collaboration [Public] g...@lists.wikimedia.org [x-posted announcement] Hello, The next IRC office hour of the Language Engineering team of the Wikimedia Foundation will be on May 5, 2015 (Tuesday) at 1430 UTC on #wikimedia-office. We missed a few of our regular monthly office hours, but from May onwards we will be back on schedule. There has been significant progress around Content Translation[1] and it is now available as a beta feature on several Wikipedias[2]. We’d love to hear comments, suggestions and any feedback that will help us make this tool better. Please see below to check local time and event details. Questions can also be sent to me ahead of the event. Thanks Runa [1] http://blog.wikimedia.org/2015/04/08/the-new-content-translation-tool/ [2] https://www.mediawiki.org/wiki/Content_translation/Languages#Available_languages Monthly IRC Office Hour: == # Date: May 5, 2015 (Tuesday) # Time: 1430 UTC (Check local time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20150505T1430 ) # IRC channel: #wikimedia-office -- Language Engineering - Outreach and QA Coordinator Wikimedia Foundation -- Language Engineering - Outreach and QA Coordinator Wikimedia Foundation ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] Connecting to github community
Hey, Github has a huge community of developers that collaborating with them can be beneficial for us and them but Wikimedia codes are in gerrit (and in future in phabricator) and our bug tracker is in phabrictor. sometimes It feels we are in another planet. Wikimedia has a mirror in github but we close pull requests immediately and we barely check issues raised there. Also there is a big notice in github[1], if you want to help, do it our way. Suddenly I got an idea that if we can synchronize github activities with gerrit and phabricator, it would help us by letting others help in their own way. It made me so excited that I wrote a bot yesterday to automatically duplicates patches of pull requests in gerrit and makes a comment in the pull request stating we made a patch in gerrit. I did a test in pywikibot and it worked well [2][3]. Note that the bot doesn't create a pull request for every gerrit patch but it creates a gerrit patch for every (open) pull requests. But before I go on we need to discuss on several important aspects of this idea: 1- Is it really necessary to do this? Do you agree we need something like that? 2-I think a bot to duplicate pull requests is not the best idea since it creates them under the bot account and not under original user account. We can create a plugin for phabrictor to do that but issues like privacy would bother us. (using OAuth wouldn't be a bad idea) What do you think? What do you suggest? 3- Even if we create a plugin, still a bot to synchronize comments and code reviews is needed. I wrote my original code in a way that I can expand this to do this job too, but do you agree we need to do this? 4- We can also expand this bot to create a phabricator task for each issue that has been created (except pull requests). Is it okay? I published my code in [4]. [1]: https://github.com/wikimedia/pywikibot-core Github mirror of pywikibot/core - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing [2]: https://github.com/wikimedia/pywikibot-core/pull/5 [3]: https://gerrit.wikimedia.org/r/208906 [4]: https://github.com/Ladsgroup/sync_github_bot Best ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Connecting to github community
I'd also like to mention some similar, third-party solutions that also address this problem: Github plugin for Gerrit https://gerrit.googlesource.com/plugins/github/: seems to act as a translator between Gerrit/GH while maintaining sync between the two. Last I checked, we won't use it because we'd have to upgrade our Gerrit install, and as Greg mentioned, we're not willing to upgrade Gerrit because we're trying to migrate to Differential. Third-party site which does mirroring http://gerrithub.io/: this website seems to allow you to have a gerrit interface to a GitHub repo (different approach, AFAICT same end result that you can contribute review via gerrit or github). Probably less feasible for us because it's a third party solution—though I'm not sure whether it's open source. On Tue, May 5, 2015 at 4:28 PM, Bryan Davis bd...@wikimedia.org wrote: On Tue, May 5, 2015 at 1:05 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hey, Github has a huge community of developers that collaborating with them can be beneficial for us and them but Wikimedia codes are in gerrit (and in future in phabricator) and our bug tracker is in phabrictor. sometimes It feels we are in another planet. Wikimedia has a mirror in github but we close pull requests immediately and we barely check issues raised there. Also there is a big notice in github[1], if you want to help, do it our way. Suddenly I got an idea that if we can synchronize github activities with gerrit and phabricator, it would help us by letting others help in their own way. It made me so excited that I wrote a bot yesterday to automatically duplicates patches of pull requests in gerrit and makes a comment in the pull request stating we made a patch in gerrit. I did a test in pywikibot and it worked well [2][3]. Note that the bot doesn't create a pull request for every gerrit patch but it creates a gerrit patch for every (open) pull requests. But before I go on we need to discuss on several important aspects of this idea: 1- Is it really necessary to do this? Do you agree we need something like that? 2-I think a bot to duplicate pull requests is not the best idea since it creates them under the bot account and not under original user account. We can create a plugin for phabrictor to do that but issues like privacy would bother us. (using OAuth wouldn't be a bad idea) What do you think? What do you suggest? 3- Even if we create a plugin, still a bot to synchronize comments and code reviews is needed. I wrote my original code in a way that I can expand this to do this job too, but do you agree we need to do this? 4- We can also expand this bot to create a phabricator task for each issue that has been created (except pull requests). Is it okay? I published my code in [4]. [1]: https://github.com/wikimedia/pywikibot-core Github mirror of pywikibot/core - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing [2]: https://github.com/wikimedia/pywikibot-core/pull/5 [3]: https://gerrit.wikimedia.org/r/208906 [4]: https://github.com/Ladsgroup/sync_github_bot I think this is a cool idea. What I like about this is the general idea of trying to lower the barriers to contribution while still preserving a single source of truth and reviewer workflow. RobLa and I talked a couple of times in the past about the potential usefulness of something similar. I'm actually more interested in seeing tools built to bridge GitHub and Phabricator than GitHub and Gerrit however. Gerrit's days as the Wikimedia code review system are numbered and Phabricator will be the next system we use. Facebook uses a bot to transfer pull requests from GitHub [5] to their Phabricator instance [6] for HHVM. Having a system like this for the Wikimedia projects would be nice. It would be interesting to see something similar built to transfer GitHub issues to Phabricator as well possibly with an additional status change on the GitHub side when the associated Phabricator task was resolved. [5]: https://github.com/facebook/hhvm/pull/4924#issuecomment-76651483 [6]: https://reviews.facebook.net/D34215 Bryan -- Bryan Davis Wikimedia Foundationbd...@wikimedia.org [[m:User:BDavis_(WMF)]] Sr Software EngineerBoise, ID USA irc: bd808v:415.839.6885 x6855 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle IRC: bgerstle ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] [Pywikipedia-l] Connecting to github community
quote name=Amir Ladsgroup date=2015-05-05 time=19:46:05 + On Wed, May 6, 2015 at 12:13 AM Greg Grossmeier g...@wikimedia.org wrote: Quick general question: are you proposing this for pywikibot only? I think the answer is yes, just making sure. No, I'm proposing to do this in general. I never mentioned pywikibot as the goal I just said I did a test in pywikibot and it worked well. OK, wasn't sure. Thanks for clarifying. A few comments: 1) Remember that the plan of record is for all repos to migrate away from Gerrit (which we all hate) to Phab's Differential. The timing for that is probably next quarter (ie: work starting July 1st). 2) We tried this once before, specifically Yuvi, with his SuchABot. He'll probably reply here with his bot's code and examples from when it was running. 2b) I'm not sure the work will be worth the pay-off. We've seen the arguments before and when we did have SuchABot running there weren't, from what I heard, a ton of success stories. I know it's tempting to say but Github is where all developers are but that's not entirely true for, especially, our community of developers who primarily come from the Wikipedia/MediaWiki communities (generally defined). Now, I realize I'm going off of anecdotal data here, but I haven't seen much other anecdotal data that seems to suggest otherwise (other than gut feelings). 3) The repository of record will continue to be Gerrit until we migrate to Differential (in Phabricator). Greg -- | 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
Re: [Wikitech-l] Connecting to github community
On Tue, May 5, 2015 at 1:05 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hey, Github has a huge community of developers that collaborating with them can be beneficial for us and them but Wikimedia codes are in gerrit (and in future in phabricator) and our bug tracker is in phabrictor. sometimes It feels we are in another planet. Wikimedia has a mirror in github but we close pull requests immediately and we barely check issues raised there. Also there is a big notice in github[1], if you want to help, do it our way. Suddenly I got an idea that if we can synchronize github activities with gerrit and phabricator, it would help us by letting others help in their own way. It made me so excited that I wrote a bot yesterday to automatically duplicates patches of pull requests in gerrit and makes a comment in the pull request stating we made a patch in gerrit. I did a test in pywikibot and it worked well [2][3]. Note that the bot doesn't create a pull request for every gerrit patch but it creates a gerrit patch for every (open) pull requests. But before I go on we need to discuss on several important aspects of this idea: 1- Is it really necessary to do this? Do you agree we need something like that? 2-I think a bot to duplicate pull requests is not the best idea since it creates them under the bot account and not under original user account. We can create a plugin for phabrictor to do that but issues like privacy would bother us. (using OAuth wouldn't be a bad idea) What do you think? What do you suggest? 3- Even if we create a plugin, still a bot to synchronize comments and code reviews is needed. I wrote my original code in a way that I can expand this to do this job too, but do you agree we need to do this? 4- We can also expand this bot to create a phabricator task for each issue that has been created (except pull requests). Is it okay? I published my code in [4]. [1]: https://github.com/wikimedia/pywikibot-core Github mirror of pywikibot/core - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing [2]: https://github.com/wikimedia/pywikibot-core/pull/5 [3]: https://gerrit.wikimedia.org/r/208906 [4]: https://github.com/Ladsgroup/sync_github_bot I think this is a cool idea. What I like about this is the general idea of trying to lower the barriers to contribution while still preserving a single source of truth and reviewer workflow. RobLa and I talked a couple of times in the past about the potential usefulness of something similar. I'm actually more interested in seeing tools built to bridge GitHub and Phabricator than GitHub and Gerrit however. Gerrit's days as the Wikimedia code review system are numbered and Phabricator will be the next system we use. Facebook uses a bot to transfer pull requests from GitHub [5] to their Phabricator instance [6] for HHVM. Having a system like this for the Wikimedia projects would be nice. It would be interesting to see something similar built to transfer GitHub issues to Phabricator as well possibly with an additional status change on the GitHub side when the associated Phabricator task was resolved. [5]: https://github.com/facebook/hhvm/pull/4924#issuecomment-76651483 [6]: https://reviews.facebook.net/D34215 Bryan -- Bryan Davis Wikimedia Foundationbd...@wikimedia.org [[m:User:BDavis_(WMF)]] Sr Software EngineerBoise, ID USA irc: bd808v:415.839.6885 x6855 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] Conpherence enabled? (was [Wikitech-ambassadors] Tech newsletter (2015, week 19))
On 05/04/2015 08:07 AM, Guillaume Paumier wrote: * You can now chat with other users https://www.mediawiki.org/wiki/Conpherence in Phabricator. [1] https://phabricator.wikimedia.org/T91392 Uh, why? Where was this actually discussed with more than 4 people? We already have IRC and mailing lists, so why do we need yet another communication system? Are we going to be enabling Phriction next? Please turn it off. -- Legoktm ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] [Pywikipedia-l] Connecting to github community
Hello! https://github.com/wikimedia/labs-tools-SuchABot did this and more - it was a full fledged gerrit - github bridge, relaying commits from github - gerrit and comments from github to gerrit and vice versa. I used it successfully for a while (https://github.com/wikimedia/mediawiki-extensions-UploadWizard/pull/3#issuecomment-21207708 and https://github.com/wikimedia/mediawiki-extensions-UploadWizard/pulls?q=is%3Apr+is%3Aclosed for list of pull requests merged via that) and works quite nicely. I stopped working on it because I got a bit bored, and nobody except me seemed to be using it :P Feel free to re-use / ressurect the code! Thanks for building this :D -- Yuvi Panda T http://yuvi.in/blog ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l