Bug 118603 - [jhbuild] Avoid restarting from scratch failed initial checkouts
Summary: [jhbuild] Avoid restarting from scratch failed initial checkouts
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 07:42 PDT by Emanuele Aina
Modified: 2013-07-12 13:06 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2013-07-12 07:42 PDT, Emanuele Aina
no flags Details | Formatted Diff | Diff
Patch (1.63 KB, patch)
2013-07-12 08:54 PDT, Emanuele Aina
no flags Details | Formatted Diff | Diff
Patch (1.67 KB, patch)
2013-07-12 10:53 PDT, Emanuele Aina
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Aina 2013-07-12 07:42:21 PDT
Created attachment 206546 [details]
Patch

If the initial checkout is interrupted midway (eg. because the internet                                                 
connection went down) config files do not get generated and that causes                                                 
the next checkout to start from scratch (the missing files cause the                                                    
script to delete the build root and the downloaded sources).                                                            
                                                                                                                        
By generating the files before invoking jhbuild, subsequent runs are able                                               
to start where the previous run left.
Comment 1 WebKit Commit Bot 2013-07-12 07:44:44 PDT
Attachment 206546 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/update-webkit-libs-jhbuild']" exit_code: 1
Tools/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 Martin Robinson 2013-07-12 08:12:19 PDT
Comment on attachment 206546 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=206546&action=review

> Tools/ChangeLog:3
> +        [jhbuild] Avoid restarting from scratch failed initial checkouts

Looks good to me other than the missing bug URL here.
Comment 3 Emanuele Aina 2013-07-12 08:54:17 PDT
(In reply to comment #2)
> Looks good to me other than the missing bug URL here.

Yup, I used `webkit-patch create-bug` for the upload assuming that it was going to automagically take care somewhat of this as `git bz` does, but does not seems to be the case. Knowing this I wonder about the usefulness `webkit-patch create-bug`...

However, I'll upload a fixed patch in a minute. Thanks for the review!
Comment 4 Emanuele Aina 2013-07-12 08:54:59 PDT
Created attachment 206549 [details]
Patch
Comment 5 WebKit Commit Bot 2013-07-12 09:03:55 PDT
Comment on attachment 206549 [details]
Patch

Rejecting attachment 206549 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 206549, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-queues.appspot.com/results/1064127
Comment 6 Emanuele Aina 2013-07-12 09:38:58 PDT
(In reply to comment #5)
> /Volumes/Data/EWS/WebKit/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Martin, sorry for the newbieness, should I have added you to the Changelog entry in the "Reviewed by" line?
Should I reupload the patch after adding "Reviewed by Martin Robinson."?
Comment 7 Martin Robinson 2013-07-12 10:36:10 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > /Volumes/Data/EWS/WebKit/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
> 
> Martin, sorry for the newbieness, should I have added you to the Changelog entry in the "Reviewed by" line?
> Should I reupload the patch after adding "Reviewed by Martin Robinson."?

No worries. You can either leave the "Reviewed by OOPS" line or add "Reviewed by Martin Robinson." The commit-queue knows how to fill out the reviewer field (but not other OOPS types).
Comment 8 Emanuele Aina 2013-07-12 10:50:41 PDT
(In reply to comment #7)
> > Martin, sorry for the newbieness, should I have added you to the Changelog entry in the "Reviewed by" line?
> > Should I reupload the patch after adding "Reviewed by Martin Robinson."?
> 
> No worries. You can either leave the "Reviewed by OOPS" line or add "Reviewed by Martin Robinson." The commit-queue knows how to fill out the reviewer field (but not other OOPS types).

Oh, I see, I removed the OOPS not knowing how the magic was supposed to work. :/
I'll upload the patch with "Reviewed by Martin Robinson." in a moment.

Thanks!
Comment 9 Emanuele Aina 2013-07-12 10:53:03 PDT
Created attachment 206555 [details]
Patch

Added missing 'Reviewed by' line to the ChangeLog
Comment 10 WebKit Commit Bot 2013-07-12 13:06:07 PDT
Comment on attachment 206555 [details]
Patch

Clearing flags on attachment: 206555

Committed r152605: <http://trac.webkit.org/changeset/152605>
Comment 11 WebKit Commit Bot 2013-07-12 13:06:10 PDT
All reviewed patches have been landed.  Closing bug.