WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
91436
NRWRT Should provide a VS project to work on
https://bugs.webkit.org/show_bug.cgi?id=91436
Summary
NRWRT Should provide a VS project to work on
Don Olmstead
Reported
2012-07-16 15:40:51 PDT
NRWRT Should provide a VS project to work on
Attachments
Patch
(891.69 KB, patch)
2012-07-16 15:46 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Proposed patch
(32.90 KB, patch)
2012-07-16 16:10 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(32.90 KB, patch)
2012-07-16 16:12 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(32.91 KB, patch)
2012-07-16 17:11 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Don Olmstead
Comment 1
2012-07-16 15:46:46 PDT
Created
attachment 152628
[details]
Patch
Don Olmstead
Comment 2
2012-07-16 16:10:33 PDT
Created
attachment 152636
[details]
Proposed patch
Don Olmstead
Comment 3
2012-07-16 16:12:13 PDT
Created
attachment 152637
[details]
Patch
Don Olmstead
Comment 4
2012-07-16 17:11:42 PDT
Created
attachment 152648
[details]
Patch
Dirk Pranke
Comment 5
2012-07-16 17:24:57 PDT
Comment on
attachment 152648
[details]
Patch looks fine. in the future, don't forget to set r? if you want the patch to be reviewed, and cq? if you want it to be landed for you.
Adam Barth
Comment 6
2012-07-16 17:51:01 PDT
How do we keep this file up-to-date / how will we know when we break it?
WebKit Review Bot
Comment 7
2012-07-16 17:58:08 PDT
Comment on
attachment 152648
[details]
Patch Clearing flags on attachment: 152648 Committed
r122789
: <
http://trac.webkit.org/changeset/122789
>
WebKit Review Bot
Comment 8
2012-07-16 17:58:15 PDT
All reviewed patches have been landed. Closing bug.
Dirk Pranke
Comment 9
2012-07-16 19:27:10 PDT
(In reply to
comment #6
)
> How do we keep this file up-to-date / how will we know when we break it?
Fair questions. My general thinking was that this is being provided as a utility for people who might want to mess around with debugging python from inside visual studio, and there are no expectations that people who aren't using this will keep it up to date or need to worry about breaking it.
Tony Chang
Comment 10
2012-07-17 10:02:17 PDT
It's also weird that this file is VS2010, but all the other sln files in the tree are VS2005. I'm not sure there's much benefit to checking this into the tree since it's likely going to bitrot in a few days.
Dirk Pranke
Comment 11
2012-07-17 11:31:20 PDT
(In reply to
comment #10
)
> It's also weird that this file is VS2010, but all the other sln files in the tree are VS2005. >
You can't use other toolchains before 2010, so 2005/2008 wouldn't work.
> I'm not sure there's much benefit to checking this into the tree since it's likely going to bitrot in a few days.
We don't move or add files around that often, and updating it is not hard. It's not obvious to me that there's a better way to get a project for the python files, but I'm open to suggestions?
Adam Barth
Comment 12
2012-07-17 11:43:30 PDT
> It's not obvious to me that there's a better way to get a project for the python files, but I'm open to suggestions?
I just use sublime, which generates the project from the file system. There isn't anything to a python "project" except the file system.
Dirk Pranke
Comment 13
2012-07-17 11:44:42 PDT
(In reply to
comment #12
)
> > It's not obvious to me that there's a better way to get a project for the python files, but I'm open to suggestions? > > I just use sublime, which generates the project from the file system. There isn't anything to a python "project" except the file system.
Using pytools in visual studio you get debugger integration. Plus I should've been clearer that I meant "VS project" :).
Dirk Pranke
Comment 14
2012-07-17 11:45:48 PDT
whoops, hit return too soon ... obviously we don't want to check in project-type files for every editor that people might want to use, but this still seems to add enough value to me to be worth it. I'm open to other suggestions, though.
Tony Chang
Comment 15
2012-07-17 11:46:38 PDT
I think it's fine for Don to just keep these files local. It's kind of like people who want to use eclipse for WebKit development. It's allowed (I think raf does it from time to time so he can use the debugger UI), but since it's not part of the official work flow, we don't check in eclipse files. Also, .sln and .vcproj files normally go in directories that match the name of the vcproj file. E.g., Tools/Scripts/webkitpy/webkitpy.pyproj/webkitpy.pyproj and Tools/Scripts/webkitpy/webkitpy.pyproj/webkitpy.sln would probably be more consistent with the existing directory structure.
Dirk Pranke
Comment 16
2012-07-17 11:53:05 PDT
The advantage of don checking them in is that I get to use them, too :). It's too bad we don't have an "experimental" / misc directory or some other mechanism for sharing non-critical files.
Eric Seidel (no email)
Comment 17
2013-01-03 13:54:07 PST
I think this is a really bad idea and should be removed.
Eric Seidel (no email)
Comment 18
2013-01-03 13:55:33 PST
I view this as an unnecessary maintenance burden. :) There isn't anything to webkitpy besides the files on disk, I don't see why having a second file-list which requires maintenance is a good idea.
Eric Seidel (no email)
Comment 19
2013-01-03 13:56:32 PST
As Adam notes, Sublime has been an excellent tool for those of us writing webkitpy (and does not require project files):
http://www.sublimetext.com/2
It also works on Windows.
Eric Seidel (no email)
Comment 20
2013-01-03 13:58:05 PST
Re-opened since this is blocked by
bug 106036
Eric Seidel (no email)
Comment 21
2013-01-03 13:59:28 PST
I don't mean to be mean... but I do think this was a bad idea, and I'm surprised I wasn't CC'd. I've posted a patch to remove them:
https://bugs.webkit.org/show_bug.cgi?id=106036
I appreciate your interest in contributing to NRWT and webkitpy, but I'm not interested in maintaining visual studio project files. If you'd like to create a script to create these files for you (and others who would like to use them) that seems totally reasonable. Then you don't have to check anything in.
Eric Seidel (no email)
Comment 22
2013-01-03 14:01:31 PST
(by "not check anything in" above, I meant "not have to check project files in") The project files you checked in could be trivially generated from a script anyway. :)
Brent Fulgham
Comment 23
2013-05-30 18:12:11 PDT
Closing bug as these files have been removed by 106036.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug