Re: [webkit-dev] using namespace style guideline

2009-11-12 Thread Darin Adler
On Nov 11, 2009, at 6:56 PM, Chris Jerdonek wrote:

 What is the current thinking on all of the using WTF::... statements at the 
 end of many header files in JSC?  For example, what was the original reason 
 behind including those, and is there any chance that they will be taken out 
 at a later date (or has that already been ruled out)? I searched a bit and 
 didn't come across any discussion of this.

WTF uses namespacing differently than most libraries. We’re using it to 
disambiguate at link time, but not compile  time.Having the symbols in a 
namespace at link time still has a substantial benefit, so it’s good to put 
things in a WTF namespace instead of just putting them outside any namespace.

Maciej Stachowiak devised this scheme for WTF, and I think on balance it’s 
probably a good way to do things although I would probably not have chosen it 
myself, and would have used the more conventional scheme. Maciej and I and a 
few others at Apple discussed this a bit a few years back, but nobody on any 
WebKit mailing list ever raised the issue before.

Since WTF is for use inside WebKit itself, I think we can stick with this 
approach unless we run into a substantial, concrete problem with it.

I don’t think things would be better if we did this in the conventional way and 
either had to utter WTF::RefPtr and WTF::Vector in WebCore and JavaScriptCore 
header files, or every client of RefPtr had to include a certain header file 
with a using WTF::RefPtr in the WebCore or JavaScriptCore namespace. 
Similarly if many .cpp files had to have using namespace WTF.

For a while I was adding using namespace WTF to .cpp files because I did not 
understand our WTF namespacing approach.

-- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] The Chromium WebKit API

2009-11-12 Thread Yaar Schnitman
Hi,

WebKit/chromium is now a live directory. We have completed committing the
bulk of the Chromium WebKit API into WebKit/chromium and this code is now
integrated to Chromium.

Our next steps, as described below, are to commit a 2nd wave (much smaller)
of API additions, and to port DumpRenderTree to the Chromium API.

Best regards,
Yaar


On Thu, Nov 5, 2009 at 12:02 AM, Darin Fisher da...@chromium.org wrote:

 *Please ignore this if you are not interested in the Chromium WebKit
 API...*


 I'm writing to announce that we have finished decoupling the Chromium
 WebKit API http://src.chromium.org/viewvc/chrome/trunk/src/webkit/api/from 
 the rest of the Chromium repository, and so we are now ready to move it
 to svn.webkit.org.  The plan is for it to live under
 WebKit/WebKit/chromium/http://trac.webkit.org/browser/trunk/WebKit/chromium/
 .


 *Some background:*

 Chromium began life using WebCore directly.  A layer (named webkit/glue)
 was added to the Chromium repository to help insulate most of the Chromium
 repository from the fast moving WebCore codebase.  However, that layer grew
 to have many dependencies on lower layers in the Chromium repository (base,
 net, etc.), and it was also coded using Google C++ style.

 For much of the past year (since Feb!), we have been working furiously to
 eliminate those dependencies and convert to WebKit C++ style so that this
 glue layer could live in the WebKit repository and thereby provide a clean
 and stable API to WebCore for consumption by Chromium.  The result is
 something we have been calling our WebKit API.

 Over the past year, we also upstreamed all of our modifications to WebCore.
  However, without the corresponding WebKit layer in plain sight, it is often
 hard to understand some of the PLATFORM(CHROMIUM) code that lives in
 WebCore.  It is long overdue that we contribute our WebKit API layer into
 svn.webkit.org.


 *Next steps:*

 Within the coming days, we plan to commit the Chromium WebKit API into
 WebKit/WebKit/chromium, and then throw all the requisite switches in the
 Chromium repository to point the Chromium build at this code.  Dimitri
 Glazkov and Eric Seidel are going to be driving this effort.  Thanks guys!!


 *Future steps:*

 After the dust has settled with this move, we will still have some chores
 left to do.

 There remain a number of WebCore dependencies in the Chromium repository
 that we plan to eliminate.  These will be eliminated by introducing
 additional interfaces in the Chromium WebKit API.  (We did not want to delay
 the initial commit of the Chromium WebKit API waiting on these changes.)

 It will now be possible to port DumpRenderTree to the Chromium WebKit API,
 and this is a task we will undertake in the following months.  It'll be
 great for the Chromium project to move to the same testing infrastructure
 for layout tests as the rest of the WebKit community!


 Regards,
 -Darin

 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Barth
As the project grows, we need to scale our processes to match.  In
large part, that means automating as much work as possible.
Commit-queue has done a good job of solving the land patches from
non-committers efficiently problem, effectively removing that as a
pain point.  I'd like to ask you to open your hearts and your minds to
the idea of automating more of our processes.

Currently, I see the biggest pain-point in our process as the
always-burgeoning pending-review list.  It's difficult to automate the
process of accepting good patches because that requires attention from
experts.  Instead, I think we should make it easier to reject bad
patches.  As a first step, I've started extending bugzilla-tool to be
a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
Here's how this might work:

1) Contributor posts patch for review.
2) Committer marks patch with the try? flag.
3) The try-queue downloads, applies, builds, and tests the patch.
4) If all systems are go, the try-queue marks the patch as try+.
Otherwise, it marks the patch as try- with an explanation of what went
wrong.

The try-queue will be purely optional and advisory.  Hopefully a try-
notation will encourage the contributor to post a new version of the
patch that passes the try-queue.

Further down the road, one can also imagine another bot that automates
step (2) by scanning the pending-review list for untried patches and
marking them as try? when the try-queue has unused bandwidth.

Adam
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Kenneth Christiansen
I think that sounds like a really good idea, and I can see my self
using that when touching cross platform code.

Kenneth

On Thu, Nov 12, 2009 at 4:37 PM, Adam Barth aba...@webkit.org wrote:
 As the project grows, we need to scale our processes to match.  In
 large part, that means automating as much work as possible.
 Commit-queue has done a good job of solving the land patches from
 non-committers efficiently problem, effectively removing that as a
 pain point.  I'd like to ask you to open your hearts and your minds to
 the idea of automating more of our processes.

 Currently, I see the biggest pain-point in our process as the
 always-burgeoning pending-review list.  It's difficult to automate the
 process of accepting good patches because that requires attention from
 experts.  Instead, I think we should make it easier to reject bad
 patches.  As a first step, I've started extending bugzilla-tool to be
 a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
 Here's how this might work:

 1) Contributor posts patch for review.
 2) Committer marks patch with the try? flag.
 3) The try-queue downloads, applies, builds, and tests the patch.
 4) If all systems are go, the try-queue marks the patch as try+.
 Otherwise, it marks the patch as try- with an explanation of what went
 wrong.

 The try-queue will be purely optional and advisory.  Hopefully a try-
 notation will encourage the contributor to post a new version of the
 patch that passes the try-queue.

 Further down the road, one can also imagine another bot that automates
 step (2) by scanning the pending-review list for untried patches and
 marking them as try? when the try-queue has unused bandwidth.

 Adam
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev




-- 
Kenneth Rohde Christiansen
Technical Lead / Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Jeremy Orlow
It's so easy to have code that builds on one platform but not another.  Even
if the try servers were only builders to begin with, I think they'd provide
a lot of value to the project.

On Thu, Nov 12, 2009 at 11:43 AM, Kenneth Christiansen 
kenneth.christian...@openbossa.org wrote:

 I think that sounds like a really good idea, and I can see my self
 using that when touching cross platform code.

 Kenneth

 On Thu, Nov 12, 2009 at 4:37 PM, Adam Barth aba...@webkit.org wrote:
  As the project grows, we need to scale our processes to match.  In
  large part, that means automating as much work as possible.
  Commit-queue has done a good job of solving the land patches from
  non-committers efficiently problem, effectively removing that as a
  pain point.  I'd like to ask you to open your hearts and your minds to
  the idea of automating more of our processes.
 
  Currently, I see the biggest pain-point in our process as the
  always-burgeoning pending-review list.  It's difficult to automate the
  process of accepting good patches because that requires attention from
  experts.  Instead, I think we should make it easier to reject bad
  patches.  As a first step, I've started extending bugzilla-tool to be
  a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
  Here's how this might work:
 
  1) Contributor posts patch for review.
  2) Committer marks patch with the try? flag.
  3) The try-queue downloads, applies, builds, and tests the patch.
  4) If all systems are go, the try-queue marks the patch as try+.
  Otherwise, it marks the patch as try- with an explanation of what went
  wrong.
 
  The try-queue will be purely optional and advisory.  Hopefully a try-
  notation will encourage the contributor to post a new version of the
  patch that passes the try-queue.
 
  Further down the road, one can also imagine another bot that automates
  step (2) by scanning the pending-review list for untried patches and
  marking them as try? when the try-queue has unused bandwidth.
 
  Adam
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 



 --
 Kenneth Rohde Christiansen
 Technical Lead / Software Engineer
 Qt Labs Americas, Nokia Technology Institute, INdT
 Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Brian Weinstein
Seconded (or Thirded). I'd been working on a try-server using Chromium's 
try-change.py, but this seems like a much cleaner way to handle it, and ties 
into the Bugzilla workflow much better than my solution, and would be much 
easier to limit who can set the try bit, based on what we decide the policy to 
be.
 
On Nov 12, 2009, at 12:41 PM, Jeremy Orlow wrote:

 It's so easy to have code that builds on one platform but not another.  Even 
 if the try servers were only builders to begin with, I think they'd provide a 
 lot of value to the project.
 
 On Thu, Nov 12, 2009 at 11:43 AM, Kenneth Christiansen 
 kenneth.christian...@openbossa.org wrote:
 I think that sounds like a really good idea, and I can see my self
 using that when touching cross platform code.
 
 Kenneth
 
 On Thu, Nov 12, 2009 at 4:37 PM, Adam Barth aba...@webkit.org wrote:
  As the project grows, we need to scale our processes to match.  In
  large part, that means automating as much work as possible.
  Commit-queue has done a good job of solving the land patches from
  non-committers efficiently problem, effectively removing that as a
  pain point.  I'd like to ask you to open your hearts and your minds to
  the idea of automating more of our processes.
 
  Currently, I see the biggest pain-point in our process as the
  always-burgeoning pending-review list.  It's difficult to automate the
  process of accepting good patches because that requires attention from
  experts.  Instead, I think we should make it easier to reject bad
  patches.  As a first step, I've started extending bugzilla-tool to be
  a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
  Here's how this might work:
 
  1) Contributor posts patch for review.
  2) Committer marks patch with the try? flag.
  3) The try-queue downloads, applies, builds, and tests the patch.
  4) If all systems are go, the try-queue marks the patch as try+.
  Otherwise, it marks the patch as try- with an explanation of what went
  wrong.
 
  The try-queue will be purely optional and advisory.  Hopefully a try-
  notation will encourage the contributor to post a new version of the
  patch that passes the try-queue.
 
  Further down the road, one can also imagine another bot that automates
  step (2) by scanning the pending-review list for untried patches and
  marking them as try? when the try-queue has unused bandwidth.
 
  Adam
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 
 
 
 --
 Kenneth Rohde Christiansen
 Technical Lead / Software Engineer
 Qt Labs Americas, Nokia Technology Institute, INdT
 Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Mark Rowe

On 2009-11-12, at 11:37, Adam Barth wrote:

 1) Contributor posts patch for review.
 2) Committer marks patch with the try? flag.
 3) The try-queue downloads, applies, builds, and tests the patch.
 4) If all systems are go, the try-queue marks the patch as try+.
 Otherwise, it marks the patch as try- with an explanation of what went
 wrong.

I have a few comments / questions about this:
1) People are already confused about how to handle the recently-added 
commit-queue flag.  Adding an extra flag is going to increase the confusion.
2) What machines are going to be doing these tests, and on which platforms?
3) Which patches would this test?  Running tests on an arbitrary patch uploaded 
in Bugzilla opens up the testing machine to executing arbitrary code unless 
there are limitations in place.

- Mark



smime.p7s
Description: S/MIME cryptographic signature
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Barth
On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
 On 2009-11-12, at 11:37, Adam Barth wrote:
 1) Contributor posts patch for review.
 2) Committer marks patch with the try? flag.
 3) The try-queue downloads, applies, builds, and tests the patch.
 4) If all systems are go, the try-queue marks the patch as try+.
 Otherwise, it marks the patch as try- with an explanation of what went
 wrong.

 I have a few comments / questions about this:

I suspected you might, hence the post to this list.  :)

 1) People are already confused about how to handle the recently-added 
 commit-queue flag.  Adding an extra flag is going to increase the confusion.

Do you have other ideas about how to present the information?  We want
to make the information easily available to reviewers when they're
reviewing patches.

 2) What machines are going to be doing these tests, and on which platforms?

I was going to start by running the try-queue on a Mac laptop I don't
use very often.  If/when we want to expand coverage to other
platforms, we can worry about where to get more machines.  Ultimately,
machines are much cheaper than people.  I'm not worried about finding
hardware.

 3) Which patches would this test?  Running tests on an arbitrary patch 
 uploaded in Bugzilla opens up the testing machine to executing arbitrary code 
 unless there are limitations in place.

My plan what to require a committer to sign-off on the patch (e.g., by
setting the flag), the same way we require a committer to sign off for
running the commit-queue or the build-bot.

Adam
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Barth
On Thu, Nov 12, 2009 at 12:41 PM, Jeremy Orlow jor...@chromium.org wrote:
 It's so easy to have code that builds on one platform but not another.  Even
 if the try servers were only builders to begin with, I think they'd provide
 a lot of value to the project.

That's a good idea, especially for ports that have perennially red tests.

Adam
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Barth
On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
 1) People are already confused about how to handle the recently-added 
 commit-queue flag.  Adding an extra flag is going to increase the confusion.

I chatted with Eric about how to solve this problem.  One option is to
just try every change that has review? and add a comment to the bug
about success / failure.  That minimizes the UI surface and avoids
adding yet-another-flag.

Adam
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Mark Rowe

On 2009-11-12, at 14:43, Adam Barth wrote:

 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
 1) People are already confused about how to handle the recently-added 
 commit-queue flag.  Adding an extra flag is going to increase the confusion.
 
 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.

That doesn't seem to fit with your suggestion for how we deal with the risk of 
running arbitrary code on the test machines.

- Mark



smime.p7s
Description: S/MIME cryptographic signature
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Jeremy Orlow
That sounds good to me.

As for the security issues: It seems like we could build code from anyone
but only run the tests from committers.

On Thu, Nov 12, 2009 at 2:43 PM, Adam Barth aba...@webkit.org wrote:

 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
  1) People are already confused about how to handle the recently-added
 commit-queue flag.  Adding an extra flag is going to increase the confusion.

 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.

 Adam
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Brian Weinstein
What if someone changed build-webkit or the build procedure in one of the 
vcproj's?

On Nov 12, 2009, at 2:50 PM, Jeremy Orlow wrote:

 That sounds good to me.
 
 As for the security issues: It seems like we could build code from anyone but 
 only run the tests from committers.
 
 On Thu, Nov 12, 2009 at 2:43 PM, Adam Barth aba...@webkit.org wrote:
 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
  1) People are already confused about how to handle the recently-added 
  commit-queue flag.  Adding an extra flag is going to increase the confusion.
 
 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.
 
 Adam
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Mark Rowe

On 2009-11-12, at 14:50, Jeremy Orlow wrote:

 That sounds good to me.
 
 As for the security issues: It seems like we could build code from anyone but 
 only run the tests from committers.

Building involves running code too.  build-webkit, makefiles for dependencies, 
scripts in Xcode projects, etc.

- Mark

 
 On Thu, Nov 12, 2009 at 2:43 PM, Adam Barth aba...@webkit.org wrote:
 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
  1) People are already confused about how to handle the recently-added 
  commit-queue flag.  Adding an extra flag is going to increase the confusion.
 
 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.
 
 Adam
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 



smime.p7s
Description: S/MIME cryptographic signature
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Jeremy Orlow
Ok.  The only run stuff uploaded by committers automatically?

Maybe have a web page committers can visit to submit (i.e. vouch for)
patches to be run through the bots?

J

On Thu, Nov 12, 2009 at 2:52 PM, Brian Weinstein bweinst...@apple.comwrote:

 What if someone changed build-webkit or the build procedure in one of the
 vcproj's?

 On Nov 12, 2009, at 2:50 PM, Jeremy Orlow wrote:

 That sounds good to me.

 As for the security issues: It seems like we could build code from anyone
 but only run the tests from committers.

 On Thu, Nov 12, 2009 at 2:43 PM, Adam Barth aba...@webkit.org wrote:

 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
  1) People are already confused about how to handle the recently-added
 commit-queue flag.  Adding an extra flag is going to increase the confusion.

 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.

 Adam
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Eric Seidel
Agreed.  Running every r=? patch through such a build-service is
insecure.  However if Adam wishes to run it on his own hardware, I
certainly have no objections to such. :)

-eric

On Thu, Nov 12, 2009 at 2:49 PM, Mark Rowe mr...@apple.com wrote:

 On 2009-11-12, at 14:43, Adam Barth wrote:

 On Thu, Nov 12, 2009 at 1:04 PM, Mark Rowe mr...@apple.com wrote:
 1) People are already confused about how to handle the recently-added 
 commit-queue flag.  Adding an extra flag is going to increase the confusion.

 I chatted with Eric about how to solve this problem.  One option is to
 just try every change that has review? and add a comment to the bug
 about success / failure.  That minimizes the UI surface and avoids
 adding yet-another-flag.

 That doesn't seem to fit with your suggestion for how we deal with the risk 
 of running arbitrary code on the test machines.

 - Mark


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Ojan Vafai
This approach doesn't lend itself as well to trying patches before putting
them up for review. Specifically, I want to be able to  try patches without
spamming everyone with bugzilla mail. This is solvable in this
bugzilla-based approach, but it doesn't lend itself to this as
naturally, e.g. presumably there's a way to tell bugzilla not to send mail
for a given comment.

Also, it would be great if the commit-queue, try-server, whatever, had a UI
like the buildbot waterfall. There's a couple advantages:
1. Can see the stdio as the tests run and get better information about why
it failed.
2. Can grab layout test results from the try servers. This would reduce the
need/occurence of committing Mac expectations and then cleaning up other
platforms post commit.

Ojan

On Thu, Nov 12, 2009 at 12:58 PM, Brian Weinstein bweinst...@apple.comwrote:

 Seconded (or Thirded). I'd been working on a try-server using Chromium's
 try-change.py, but this seems like a much cleaner way to handle it, and ties
 into the Bugzilla workflow much better than my solution, and would be much
 easier to limit who can set the try bit, based on what we decide the policy
 to be.

 On Nov 12, 2009, at 12:41 PM, Jeremy Orlow wrote:

 It's so easy to have code that builds on one platform but not another.
  Even if the try servers were only builders to begin with, I think they'd
 provide a lot of value to the project.

 On Thu, Nov 12, 2009 at 11:43 AM, Kenneth Christiansen 
 kenneth.christian...@openbossa.org wrote:

 I think that sounds like a really good idea, and I can see my self
 using that when touching cross platform code.

 Kenneth

 On Thu, Nov 12, 2009 at 4:37 PM, Adam Barth aba...@webkit.org wrote:
  As the project grows, we need to scale our processes to match.  In
  large part, that means automating as much work as possible.
  Commit-queue has done a good job of solving the land patches from
  non-committers efficiently problem, effectively removing that as a
  pain point.  I'd like to ask you to open your hearts and your minds to
  the idea of automating more of our processes.
 
  Currently, I see the biggest pain-point in our process as the
  always-burgeoning pending-review list.  It's difficult to automate the
  process of accepting good patches because that requires attention from
  experts.  Instead, I think we should make it easier to reject bad
  patches.  As a first step, I've started extending bugzilla-tool to be
  a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
  Here's how this might work:
 
  1) Contributor posts patch for review.
  2) Committer marks patch with the try? flag.
  3) The try-queue downloads, applies, builds, and tests the patch.
  4) If all systems are go, the try-queue marks the patch as try+.
  Otherwise, it marks the patch as try- with an explanation of what went
  wrong.
 
  The try-queue will be purely optional and advisory.  Hopefully a try-
  notation will encourage the contributor to post a new version of the
  patch that passes the try-queue.
 
  Further down the road, one can also imagine another bot that automates
  step (2) by scanning the pending-review list for untried patches and
  marking them as try? when the try-queue has unused bandwidth.
 
  Adam
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 



 --
 Kenneth Rohde Christiansen
 Technical Lead / Software Engineer
 Qt Labs Americas, Nokia Technology Institute, INdT
 Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Ojan Vafai
To clarify, I think abarth's proposal is great and we shouldn't block it on
other things a try-server could provide. Would just be nice to keep the
make writing patches more efficient use-case in mind as we add other
infrastructure to avoid needing, for example, a whole different set of
servers for that.

On Thu, Nov 12, 2009 at 3:48 PM, Adam Roben aro...@apple.com wrote:

 On Nov 12, 2009, at 6:38 PM, Ojan Vafai wrote:

 2. Can grab layout test results from the try servers. This would reduce the
 need/occurence of committing Mac expectations and then cleaning up other
 platforms post commit.

 Without being able to see the loaded page on that platform, how do you know
 if the results are correct?

 (If you're able to verify the results just based on the test output, maybe
 the test should be cross-platform!)


This entirely depends on the change you're making. For example, with a
change that makes buttons 1px wider it's easy to verify from the layout test
diff that the new results are correct. It's also easy to spot tests with
FAIL or PASS in the output. :)

Ojan
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Roben
On Nov 12, 2009, at 6:38 PM, Ojan Vafai wrote:

 2. Can grab layout test results from the try servers. This would reduce the 
 need/occurence of committing Mac expectations and then cleaning up other 
 platforms post commit.

Without being able to see the loaded page on that platform, how do you know if 
the results are correct?

(If you're able to verify the results just based on the test output, maybe the 
test should be cross-platform!)

-Adam


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Barth
I agree that this design doesn't solve the problem of writing patches
more efficiently.  That's not the goal.  The goal is to reduce review
latency by automating the mechanical parts of the review process.

Adam


On Thu, Nov 12, 2009 at 3:38 PM, Ojan Vafai o...@chromium.org wrote:
 This approach doesn't lend itself as well to trying patches before putting
 them up for review. Specifically, I want to be able to  try patches without
 spamming everyone with bugzilla mail. This is solvable in this
 bugzilla-based approach, but it doesn't lend itself to this as
 naturally, e.g. presumably there's a way to tell bugzilla not to send mail
 for a given comment.

 Also, it would be great if the commit-queue, try-server, whatever, had a UI
 like the buildbot waterfall. There's a couple advantages:
 1. Can see the stdio as the tests run and get better information about why
 it failed.
 2. Can grab layout test results from the try servers. This would reduce the
 need/occurence of committing Mac expectations and then cleaning up other
 platforms post commit.
 Ojan
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Eric Seidel
On Thu, Nov 12, 2009 at 3:51 PM, Eric Seidel esei...@google.com wrote:
 I think Ojan is used to Chromium's world where there is a layout-test
 rebaseling tool which knows how to suck expected results off of the
 chromium try-bots, including new pixel test results.  So he (and
 others) are used to posting their patch for try and then getting back
 the new results for all the platforms.  You can see how a page looks
 on that platform by looking at the pixel tests for that platform which
 come back to you from the rebaselining tool/try-bots.

 As abarth mentioned, a very nice-to-have, but not part of his initial
 stated goal.

 -eric

 On Thu, Nov 12, 2009 at 3:48 PM, Adam Roben aro...@apple.com wrote:
 On Nov 12, 2009, at 6:38 PM, Ojan Vafai wrote:

 2. Can grab layout test results from the try servers. This would reduce the
 need/occurence of committing Mac expectations and then cleaning up other
 platforms post commit.

 Without being able to see the loaded page on that platform, how do you know
 if the results are correct?
 (If you're able to verify the results just based on the test output, maybe
 the test should be cross-platform!)
 -Adam


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Jeremy Orlow
I think the main reason why we don't yet have a try server is that we block
it on stuff like this...which is nice to have.

It seems like we could get something basic up that worked for 90% of cases
and then iterate on something more featureful.  I think Adam has the right
idea here.

J

On Thu, Nov 12, 2009 at 3:38 PM, Ojan Vafai o...@chromium.org wrote:

 This approach doesn't lend itself as well to trying patches before putting
 them up for review. Specifically, I want to be able to  try patches without
 spamming everyone with bugzilla mail. This is solvable in this
 bugzilla-based approach, but it doesn't lend itself to this as
 naturally, e.g. presumably there's a way to tell bugzilla not to send mail
 for a given comment.

 Also, it would be great if the commit-queue, try-server, whatever, had a UI
 like the buildbot waterfall. There's a couple advantages:
 1. Can see the stdio as the tests run and get better information about why
 it failed.
 2. Can grab layout test results from the try servers. This would reduce the
 need/occurence of committing Mac expectations and then cleaning up other
 platforms post commit.

 Ojan

 On Thu, Nov 12, 2009 at 12:58 PM, Brian Weinstein bweinst...@apple.comwrote:

 Seconded (or Thirded). I'd been working on a try-server using Chromium's
 try-change.py, but this seems like a much cleaner way to handle it, and ties
 into the Bugzilla workflow much better than my solution, and would be much
 easier to limit who can set the try bit, based on what we decide the policy
 to be.

 On Nov 12, 2009, at 12:41 PM, Jeremy Orlow wrote:

 It's so easy to have code that builds on one platform but not another.
  Even if the try servers were only builders to begin with, I think they'd
 provide a lot of value to the project.

 On Thu, Nov 12, 2009 at 11:43 AM, Kenneth Christiansen 
 kenneth.christian...@openbossa.org wrote:

 I think that sounds like a really good idea, and I can see my self
 using that when touching cross platform code.

 Kenneth

 On Thu, Nov 12, 2009 at 4:37 PM, Adam Barth aba...@webkit.org wrote:
  As the project grows, we need to scale our processes to match.  In
  large part, that means automating as much work as possible.
  Commit-queue has done a good job of solving the land patches from
  non-committers efficiently problem, effectively removing that as a
  pain point.  I'd like to ask you to open your hearts and your minds to
  the idea of automating more of our processes.
 
  Currently, I see the biggest pain-point in our process as the
  always-burgeoning pending-review list.  It's difficult to automate the
  process of accepting good patches because that requires attention from
  experts.  Instead, I think we should make it easier to reject bad
  patches.  As a first step, I've started extending bugzilla-tool to be
  a try server in https://bugs.webkit.org/show_bug.cgi?id=31422.
  Here's how this might work:
 
  1) Contributor posts patch for review.
  2) Committer marks patch with the try? flag.
  3) The try-queue downloads, applies, builds, and tests the patch.
  4) If all systems are go, the try-queue marks the patch as try+.
  Otherwise, it marks the patch as try- with an explanation of what went
  wrong.
 
  The try-queue will be purely optional and advisory.  Hopefully a try-
  notation will encourage the contributor to post a new version of the
  patch that passes the try-queue.
 
  Further down the road, one can also imagine another bot that automates
  step (2) by scanning the pending-review list for untried patches and
  marking them as try? when the try-queue has unused bandwidth.
 
  Adam
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 



 --
 Kenneth Rohde Christiansen
 Technical Lead / Software Engineer
 Qt Labs Americas, Nokia Technology Institute, INdT
 Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] ruby annotation layout tests

2009-11-12 Thread Roland Steiner
Hm, interesting - I have to admit I just now saw that most (all?) test that
use non-English text are marked as Skipped for Windows (i.e., are in
LayoutTests/platform/win/Skipped). Now, if there is a fundamental reason why
such tests can't just be re-baselined (rendering incompatibilities between
Windows versions perhaps?), then changing the tests in fast/ruby to simply
use English text may well be the more prudent solution after all.

Cheers,

Roland
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] A bot-filled future?

2009-11-12 Thread Adam Roben
On Nov 12, 2009, at 6:59 PM, Ojan Vafai wrote:

 On Thu, Nov 12, 2009 at 3:48 PM, Adam Roben aro...@apple.com wrote:
 On Nov 12, 2009, at 6:38 PM, Ojan Vafai wrote:
 2. Can grab layout test results from the try servers. This would reduce the 
 need/occurence of committing Mac expectations and then cleaning up other 
 platforms post commit.
 
 Without being able to see the loaded page on that platform, how do you know 
 if the results are correct?
 
 (If you're able to verify the results just based on the test output, maybe 
 the test should be cross-platform!)
 
 This entirely depends on the change you're making. For example, with a change 
 that makes buttons 1px wider it's easy to verify from the layout test diff 
 that the new results are correct.

That's true.

 It's also easy to spot tests with FAIL or PASS in the output. :)

I'd hope that those tests would have cross-platform results, since clearly the 
condition is testable without having access to a full render tree dump.

-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] ruby annotation layout tests

2009-11-12 Thread Dirk Pranke
FWIW, Chromium has version-specific diffs between XP and Vista/Win-7.
I don't remember off-hand how bad the diffs where, but comparing the
files in:

http://src.chromium.org/viewvc/chrome/trunk/src/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/ruby

http://src.chromium.org/viewvc/chrome/trunk/src/webkit/data/layout_tests/platform/chromium-win-xp/LayoutTests/fast/ruby

will show you. It wouldn't surprise me to see minor pixel diffs
between the two, most of the east-asian script tests have them.

-- Dirk

On Thu, Nov 12, 2009 at 6:37 PM, Roland Steiner
rolandstei...@google.com wrote:
 Hm, interesting - I have to admit I just now saw that most (all?) test that
 use non-English text are marked as Skipped for Windows (i.e., are in
 LayoutTests/platform/win/Skipped). Now, if there is a fundamental reason why
 such tests can't just be re-baselined (rendering incompatibilities between
 Windows versions perhaps?), then changing the tests in fast/ruby to simply
 use English text may well be the more prudent solution after all.
 Cheers,
 Roland
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev