Bug 137446 - [jhbuild] We should be able to disable wiping on configuration change
Summary: [jhbuild] We should be able to disable wiping on configuration change
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: 2014-10-06 03:15 PDT by Tibor Mészáros
Modified: 2014-10-10 03:25 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.54 KB, patch)
2014-10-06 03:24 PDT, Tibor Mészáros
ossy: review-
ossy: commit-queue-
Details | Formatted Diff | Diff
Patch v2 (1.70 KB, patch)
2014-10-06 05:41 PDT, Tibor Mészáros
no flags Details | Formatted Diff | Diff
Patch v3 (1.69 KB, patch)
2014-10-06 06:07 PDT, Tibor Mészáros
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.