WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
174088
[PAL] Helper script to move PAL sources
https://bugs.webkit.org/show_bug.cgi?id=174088
Summary
[PAL] Helper script to move PAL sources
Yoshiaki Jitsukawa
Reported
2017-07-02 23:32:29 PDT
Inspired by the do-file-rename script, I think it'd be helpful to have a script to move PAL relevant sources from WebCore/platform to PAL/pal.
Attachments
PATCH.
(9.82 KB, patch)
2017-07-02 23:46 PDT
,
Yoshiaki Jitsukawa
achristensen
: review-
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews107 for mac-elcapitan-wk2
(1.39 MB, application/zip)
2017-07-03 05:17 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Yoshiaki Jitsukawa
Comment 1
2017-07-02 23:46:12 PDT
Created
attachment 314458
[details]
PATCH.
Yoshiaki Jitsukawa
Comment 2
2017-07-02 23:48:33 PDT
This script does - move files with SCM support - move entries in CMake files - rename include/import directives
Build Bot
Comment 3
2017-07-03 05:17:30 PDT
Comment on
attachment 314458
[details]
PATCH.
Attachment 314458
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/4043499
New failing tests: workers/bomb.html
Build Bot
Comment 4
2017-07-03 05:17:32 PDT
Created
attachment 314477
[details]
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Alex Christensen
Comment 5
2017-07-03 14:17:29 PDT
Comment on
attachment 314458
[details]
PATCH. Is this really necessary to have in the repository?
Yoshiaki Jitsukawa
Comment 6
2017-07-03 15:20:12 PDT
> Is this really necessary to have in the repository?
It's not, but nice to have.
Alex Christensen
Comment 7
2017-07-05 13:47:01 PDT
Comment on
attachment 314458
[details]
PATCH. View in context:
https://bugs.webkit.org/attachment.cgi?id=314458&action=review
> Tools/Scripts/do-pal-move:50 > +my %movesContemplatedForTheFuture = ( > + "KillRing.h" => "text/KillRing.h", > + "KillRingNone.cpp" => "text/none/KillRingNone.cpp", > + "mac/KillRingMac.mm" => "text/mac/KillRingMac.mm",
I don't think we should add this to the repository. Maybe a general move helper, but not this.
Don Olmstead
Comment 8
2017-07-05 13:49:56 PDT
(In reply to Alex Christensen from
comment #7
)
> Comment on
attachment 314458
[details]
> PATCH. > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=314458&action=review
> > > Tools/Scripts/do-pal-move:50 > > +my %movesContemplatedForTheFuture = ( > > + "KillRing.h" => "text/KillRing.h", > > + "KillRingNone.cpp" => "text/none/KillRingNone.cpp", > > + "mac/KillRingMac.mm" => "text/mac/KillRingMac.mm", > > I don't think we should add this to the repository. Maybe a general move > helper, but not this.
That works for me. We can take a look at the two files that are currently there and see what a more general purpose one might look like,
Yoshiaki Jitsukawa
Comment 9
2017-07-06 15:05:19 PDT
Thanks for the comments. I though it was good to write a script based on "do-file-rename" and "do-webcore-rename" but probably what is time consuming when moving PAL files is to maintain the affected files by the move, not to manage svn/git and builds. Let me look for some other approach to make it more general.
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