Bug 137446

Summary: [jhbuild] We should be able to disable wiping on configuration change
Product: WebKit Reporter: Tibor Mészáros <mtiborinf>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, gyuyoung.kim, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ossy: review-, ossy: commit-queue-
Patch v2
none
Patch v3 none

Description Tibor Mészáros 2014-10-06 03:15:53 PDT
It is annoying that jhbuild automatically and mandatory wipes the full Dependencies directory
during hacking jhbuildrc files. We should be able to disable this function with a command line option
and/or with an environment variable.
Comment 1 Tibor Mészáros 2014-10-06 03:24:05 PDT
Created attachment 239324 [details]
Patch

This patch will add a new flag --wipe-on-change to disable wiping on configuration change
Comment 2 Csaba Osztrogonác 2014-10-06 03:35:07 PDT
Comment on attachment 239324 [details]
Patch

The patch looks good to me, but the comment is misleading.

$wipeOnChange has true default value, but can be disabled with
- JHBUILD_WIPE_ON_CHANGE=0 environment variable (or)
- --no-wipe-on-change command line option
Comment 3 Csaba Osztrogonác 2014-10-06 03:44:03 PDT
Comment on attachment 239324 [details]
Patch

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

> Tools/Scripts/update-webkit-libs-jhbuild:34
> +GetOptions('wipe-on-change' => \$wipeOnChange,);

You meant 'wipe-on-change!' to have --no-wipe-on-change and --wipe-on-change options too.
Comment 4 Tibor Mészáros 2014-10-06 05:41:07 PDT
Created attachment 239330 [details]
Patch v2

This patch has a better description.
Comment 5 Tibor Mészáros 2014-10-06 06:07:58 PDT
Created attachment 239333 [details]
Patch v3

Updated description
Comment 6 WebKit Commit Bot 2014-10-10 03:25:27 PDT
Comment on attachment 239333 [details]
Patch v3

Clearing flags on attachment: 239333

Committed r174580: <http://trac.webkit.org/changeset/174580>
Comment 7 WebKit Commit Bot 2014-10-10 03:25:31 PDT
All reviewed patches have been landed.  Closing bug.