GNOME Bugzilla – Bug 507930
support for overriding policy
Last modified: 2008-01-11 21:23:38 UTC
I have 'updated' as my build policy (the only sane policy ;)). Now, when I'm hacking on a module I want to run "jhbuild buildone modname", but it doesn't build anything because it wasn't updated. There didn't appear to be any way to make this go without temporarily hacking my config (ick). Attached is a patch which adds a -f option to force a build, for both the "build" and "buildone" options.
Created attachment 102345 [details] [review] patch to add force option
Perfect, please commit.
Chasing a regression here: Traceback (most recent call last): ...
+ Trace 184987
if buildscript.config.force_policy:
I'll debug then commit.
You need to declare the configuration variable in jhbuild/config.py (_known_keys) (and I should read patch more carefully).
Fixed and committed, thanks!