Bug 38423

Summary: Add infrastructure to handle executable bit
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, cjerdonek, eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Daniel Bates
Reported 2010-05-01 14:13:05 PDT
Add the infrastructure to handle the executable bit. We need to implement to parsing of the file mode information in a separate patch.
Attachments
Patch (4.12 KB, patch)
2010-05-01 14:17 PDT, Daniel Bates
no flags
Patch (3.96 KB, patch)
2010-05-01 14:39 PDT, Daniel Bates
no flags
Patch (3.04 KB, patch)
2010-05-01 15:12 PDT, Daniel Bates
no flags
Patch (3.03 KB, patch)
2010-05-01 15:25 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2010-05-01 14:17:11 PDT
Created attachment 54856 [details] Patch No functionality was changed, so no new tests. This patch is part of a coordinated effort with Chris Jerdonek to implement support of the executable bit property.
Daniel Bates
Comment 2 2010-05-01 14:39:44 PDT
Created attachment 54857 [details] Patch Updated patch.
Chris Jerdonek
Comment 3 2010-05-01 15:00:34 PDT
(In reply to comment #2) > Created an attachment (id=54857) [details] > +++ WebKitTools/Scripts/VCSUtils.pm (working copy) > +sub toggleExecutableBit > +{ > + my ($path, $executableBitDelta) = @_; I would rename this to something like "scmToggleExecutableBit" to indicate that this method is setting the executable bit in the source control sense. Also, I would document that this method does not error out if the file corresponding to $path does not exist. > +++ WebKitTools/Scripts/svn-apply (working copy) > + if (!$addition && !$deletion && !$isBinary && !$isGitBinary && !defined($diffHashRef->{executableBitDelta})) { Should you leave this line unchanged to allow the patch to apply? > +++ WebKitTools/Scripts/svn-unapply (working copy) > + if (!$addition && !$deletion && !$isBinary && !defined($diffHashRef->{executableBitDelta})) { Should you leave this line unchanged to allow the patch to apply?
Daniel Bates
Comment 4 2010-05-01 15:12:54 PDT
Created attachment 54858 [details] Patch Corrected patch to work when the patch describes modifications to existing files.
Daniel Bates
Comment 5 2010-05-01 15:25:52 PDT
Created attachment 54859 [details] Patch Updated patch based on Chris's suggestions.
Chris Jerdonek
Comment 6 2010-05-01 15:29:17 PDT
Comment on attachment 54859 [details] Patch As we discussed, LGTM.
Daniel Bates
Comment 7 2010-05-01 15:44:33 PDT
Comment on attachment 54859 [details] Patch Clearing flags on attachment: 54859 Committed r58637: <http://trac.webkit.org/changeset/58637>
Daniel Bates
Comment 8 2010-05-01 15:44:40 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.