Re: [Wikitech-l] request for Git statistics (or, "don't stand back, I don't know regular expressions")

2012-07-05 Thread Mark Holmquist
(Also, this isn't counting people who contribute to the mobile projects on GitHub, and really the final monthly report stat ought to. I don't quickly see a way to ask "how many unique contributors submitted unique pull requests to a https://github.com/wikimedia/ repo in June?" on GitHub, though,

Re: [Wikitech-l] request for Git statistics (or, "don't stand back, I don't know regular expressions")

2012-07-05 Thread Ryan Lane
> (Also, this isn't counting people who contribute to the mobile projects > on GitHub, and really the final monthly report stat ought to. I don't > quickly see a way to ask "how many unique contributors submitted unique > pull requests to a https://github.com/wikimedia/ repo in June?" on > GitHub,

Re: [Wikitech-l] request for Git statistics (or, "don't stand back, I don't know regular expressions")

2012-07-05 Thread Sumana Harihareswara
On 07/05/2012 07:40 PM, Mark Holmquist wrote: >> So, 92 unique committers in June. Which is way better than Ohloh has >> been saying, yay. > > I'd like to confirm that number, 92 unique contributors in June is > absolutely correct. I've also scriptified my method, so now I can do > multiple month

Re: [Wikitech-l] Gerrit 2.4 upgrade this evening

2012-07-05 Thread Chad
On Thu, Jul 5, 2012 at 7:04 PM, Chad wrote: > On Thu, Jul 5, 2012 at 1:57 PM, Chad wrote: >> Hi, >> >> Just giving everyone a head's up that we'll be upgrading Gerrit this evening >> from 2.3 to 2.4.2. >> >> We're not expecting any extensive downtime for Gerrit, but we've scheduled >> a one-hour

Re: [Wikitech-l] request for Git statistics (or, "don't stand back, I don't know regular expressions")

2012-07-05 Thread Mark Holmquist
So, 92 unique committers in June. Which is way better than Ohloh has been saying, yay. I'd like to confirm that number, 92 unique contributors in June is absolutely correct. I've also scriptified my method, so now I can do multiple months. Month | Unique contributors +

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Chad
On Thu, Jul 5, 2012 at 7:06 PM, Roan Kattouw wrote: > On Thu, Jul 5, 2012 at 2:11 PM, Chad wrote: >> Yes, but we can't even get people to type `php -l` before pushing, >> which is why having Jenkins do this for us is crucial. >> > Yes, I don't disagree that jshint should be run by Jenkins. AIUI >

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Roan Kattouw
On Thu, Jul 5, 2012 at 2:11 PM, Chad wrote: > Yes, but we can't even get people to type `php -l` before pushing, > which is why having Jenkins do this for us is crucial. > Yes, I don't disagree that jshint should be run by Jenkins. AIUI Timo's work to make jshint work on the command line is prep w

Re: [Wikitech-l] Gerrit 2.4 upgrade this evening

2012-07-05 Thread Chad
On Thu, Jul 5, 2012 at 1:57 PM, Chad wrote: > Hi, > > Just giving everyone a head's up that we'll be upgrading Gerrit this evening > from 2.3 to 2.4.2. > > We're not expecting any extensive downtime for Gerrit, but we've scheduled > a one-hour window from 23:00-00:00 UTC tonight (7-8pm EDT, 4-5pm

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Chad
On Thu, Jul 5, 2012 at 5:06 PM, Roan Kattouw wrote: > On Thu, Jul 5, 2012 at 1:37 PM, Jon Robson wrote: >> If we do this running jslint on JavaScript would also be great. I have a >> git hook I stole from Yuvi that I'm currently using. Would be great to have >> Jenkins do this check for me as wel

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Roan Kattouw
On Thu, Jul 5, 2012 at 1:37 PM, Jon Robson wrote: > If we do this running jslint on JavaScript would also be great. I have a > git hook I stole from Yuvi that I'm currently using. Would be great to have > Jenkins do this check for me as well... I believe Timo is already working on getting jshint w

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Jon Robson
If we do this running jslint on JavaScript would also be great. I have a git hook I stole from Yuvi that I'm currently using. Would be great to have Jenkins do this check for me as well... On Jul 5, 2012 1:32 PM, "Mark Holmquist" wrote: > Would it be fairly easy for you to get Jenkins to automati

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Jeroen De Dauw
Hey, +2. Right now the Wikidata team is spending a lot of time manually running the tests, so it'd be absolutely fantastic if this could be done automatically. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ___ Wikitech-l

Re: [Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Mark Holmquist
Would it be fairly easy for you to get Jenkins to automatically PHP lint-check new commits to extensions? Code reviewers would thank you! Also having unit tests get run automatically, and creating whatever necessary documentation for enabling developers to create consistent unit tests that *c

[Wikitech-l] getting Jenkins to run basic automated tests on commits to extensions

2012-07-05 Thread Sumana Harihareswara
Antoine: Would it be fairly easy for you to get Jenkins to automatically PHP lint-check new commits to extensions? Code reviewers would thank you! -- Sumana Harihareswara Engineering Community Manager Wikimedia Foundation ___ Wikitech-l mailing list

Re: [Wikitech-l] request for Git statistics (or, "don't stand back, I don't know regular expressions")

2012-07-05 Thread Sumana Harihareswara
On 07/04/2012 10:52 PM, Sumana Harihareswara wrote: > For use in our monthly report, due to come out tomorrow > > https://www.mediawiki.org/wiki/Wikimedia_engineering_report/2012/June > > I'd like to know how many unique contributors ("owners") had commits > merged into the mediawiki & mediawiki/

[Wikitech-l] Gerrit 2.4 upgrade this evening

2012-07-05 Thread Chad
Hi, Just giving everyone a head's up that we'll be upgrading Gerrit this evening from 2.3 to 2.4.2. We're not expecting any extensive downtime for Gerrit, but we've scheduled a one-hour window from 23:00-00:00 UTC tonight (7-8pm EDT, 4-5pm PDT). The big feature I'm excited about in 2.4 is the ne

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Daniel Friesen
On Thu, 05 Jul 2012 01:01:13 -0700, Antoine Musso wrote: Hello, PHP 5.3.0, released in June 2009, introduced namespacing, a feature we have never used yet since we were still supporting 5.2. Jeroen submitted https://gerrit.wikimedia.org/r/14181 which use namespaces. Since that is, to my kno

Re: [Wikitech-l] Take a lesson from dreamhoststatus.com

2012-07-05 Thread Liangent
On Thu, Jul 5, 2012 at 10:12 PM, Thomas Morton wrote: > Like... > > This: http://status.wikimedia.org/? > And Jidanni doesn't like it because it requires JavaScript. > :) > > Tom -Liangent ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org ht

[Wikitech-l] midsummer updates from GSoC students?

2012-07-05 Thread Sumana Harihareswara
Akshay Chugh on the Convention Extension: http://lists.wikimedia.org/pipermail/wikitech-l/2012-June/061362.html (looks like the Wikimania 2013 organizers are working with him to make it work for them!) Ashish Dubey on realtime collaborative editing: http://ashishdubey.info/blog/2012/7/5/realtimeve

Re: [Wikitech-l] Take a lesson from dreamhoststatus.com

2012-07-05 Thread Thomas Morton
Like... This: http://status.wikimedia.org/? :) Tom On 5 July 2012 15:09, wrote: > On http://wikitech.wikimedia.org/view/Main_Page there is a link to > "Current status" which doesn't show what is currently causing Wikipedia > to be down. > > I suggest you take a lesson from > http://www.dream

[Wikitech-l] Take a lesson from dreamhoststatus.com

2012-07-05 Thread jidanni
On http://wikitech.wikimedia.org/view/Main_Page there is a link to "Current status" which doesn't show what is currently causing Wikipedia to be down. I suggest you take a lesson from http://www.dreamhost.com/ adding a separate http://www.dreamhoststatus.com/ and make lots of links to it... _

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Max Semenik
On 05.07.2012, 14:58 Chad wrote: > On Thu, Jul 5, 2012 at 5:14 AM, Antoine Musso wrote: >> Le 05/07/12 10:58, MZMcBride a écrit : >>> believe both of you are referring to (at least) this thread from May 2012 >>> titled "Stance on PHP namespaces?" started by Jeroen De Dauw: >>>

[Wikitech-l] Linux.conf.au CfP deadline about to close

2012-07-05 Thread Sumana Harihareswara
http://linux.conf.au/cfp Closes in about 24 hours. -- Sumana Harihareswara Engineering Community Manager Wikimedia Foundation ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Jeroen De Dauw
Hey, > I am probably missing something here, because ... isn't switching from “User” to “\User” pointless? I am not suggesting doing this. What started this discussion is me having a class called Site in the namespace MW. So it's MW\Site rather then MWSite. (Unless you want to go with just Site a

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Christian Aistleitner
Hello Jeroen, On Thu, Jul 05, 2012 at 12:48:50PM +0200, Jeroen De Dauw wrote: > > As it would be a pain for extensions to (at the same time/branch) > > support both: > > - older MWs without namespaces, and > > - newer MWs that would use namespaces. > > This is only an issue is we move existing cl

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Chad
On Thu, Jul 5, 2012 at 5:14 AM, Antoine Musso wrote: > Le 05/07/12 10:58, MZMcBride a écrit : >> believe both of you are referring to (at least) this thread from May 2012 >> titled "Stance on PHP namespaces?" started by Jeroen De Dauw: >>

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Jeroen De Dauw
Hey, > As it would be a pain for extensions to (at the same time/branch) > support both: > - older MWs without namespaces, and > - newer MWs that would use namespaces. This is only an issue is we move existing classes from the top level namespace into something else. Using namespaces for new code

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Christian Aistleitner
Hello, On Thu, Jul 05, 2012 at 11:14:48AM +0200, Antoine Musso wrote: > The reason I opened this thread is so we give a GO/NOGO about using > namespaces. NOGO. As it would be a pain for extensions to (at the same time/branch) support both: - older MWs without namespaces, and - newer MWs that wo

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Jeroen De Dauw
Hey, > PHP 5.3.0, released in June 2009, introduced namespacing, a feature we > have never used yet since we were still supporting 5.2. MediaWiki 1.20 dropped support with 5.2 - there already is 5.3 code in core. > The reason I opened this thread is so we give a GO/NOGO about using namespaces.

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Antoine Musso
Le 05/07/12 10:58, MZMcBride a écrit : > believe both of you are referring to (at least) this thread from May 2012 > titled "Stance on PHP namespaces?" started by Jeroen De Dauw: > Oh thanks for finding that thread. Look

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread MZMcBride
Max Semenik wrote: > On 05.07.2012, 12:01 Antoine wrote: >> PHP 5.3.0, released in June 2009, introduced namespacing, a feature we >> have never used yet since we were still supporting 5.2. > >> Jeroen submitted https://gerrit.wikimedia.org/r/14181 which use >> namespaces. Since that is, to my kno

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Max Semenik
On 05.07.2012, 12:01 Antoine wrote: > Hello, > PHP 5.3.0, released in June 2009, introduced namespacing, a feature we > have never used yet since we were still supporting 5.2. > Jeroen submitted https://gerrit.wikimedia.org/r/14181 which use > namespaces. Since that is, to my knowledge, the firs

Re: [Wikitech-l] PHP namespacing and traits

2012-07-05 Thread K. Peachey
Haven't we already discussed this like ten million times around? ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] PHP namespacing and traits

2012-07-05 Thread Antoine Musso
Hello, PHP 5.3.0, released in June 2009, introduced namespacing, a feature we have never used yet since we were still supporting 5.2. Jeroen submitted https://gerrit.wikimedia.org/r/14181 which use namespaces. Since that is, to my knowledge, the first patch that introduce namespace, I am opening