After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 368820 - Should reload jhbuildrc after configure failure
Should reload jhbuildrc after configure failure
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2006-11-01 11:53 UTC by Guillaume Desmottes
Modified: 2009-05-03 12:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2006-11-01 11:53:57 UTC
When i got a error during ./configure stage, i often edit my ~/.jhbuildrc to modify some configure flags and try to fix the problem.
After i ask to jhbuild to rerun configure stage (first option) but the ~/.jhbuildrc is not reloaded and so my modifications are ignored.
Comment 1 Luis Menina 2006-11-29 22:38:42 UTC
Confirming this. That's quite annoying. Currently, we need to tell people to edit the file, Ctrl+C the build, then rerun jhbuild buid --start-at=themodule which could be avoided.
Comment 2 Frederic Peters 2007-08-18 12:40:34 UTC
The thing is reloading jhbuildrc is not enough but for the really simple things; common cases such as changing autogenargs also requires all the modules to be reloaded, which is far from simple.
Comment 3 Frederic Peters 2009-05-03 12:39:32 UTC
After some refactoring of the different module types and version control systems to directly access the configuration object, here comes the patch that adds a new "[5] reload configuration" option to the terminal frontend.

commit 393f51faff525581fdaea3b2da3a7ebcda803b71
Author: Frederic Peters <fpeters@0d.be>
Date:   Sun May 3 14:34:16 2009 +0200

    [terminal] add option to reload configuration
    
    New option in terminal mode to let the user reload the configuration file
    without aborting JHBuild.  (GNOME #368820)

 jhbuild/frontends/terminal.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)