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 132031 - Needs way to have .modules files maintained elsewhere
Needs way to have .modules files maintained elsewhere
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2004-01-20 20:43 UTC by Jim Gettys
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jim Gettys 2004-01-20 20:43:39 UTC
Jhbuild needs a way to be able to not have all .modules files maintained in
Gnome CVS to become a generally viable tool.

If it did something like a wget if a moduleset didn't exist from somewhere,
then it could be used for many projects (e.g. freedesktop.org).
Comment 1 James Henstridge 2004-01-25 14:36:00 UTC
Sorry I haven't gotten round to this yet.  I'll look at getting this
sorted soon.
Comment 2 James Henstridge 2004-01-28 14:21:38 UTC
I've added some code to support external module sets now.  Simply set
moduleset to a URI in your ~/.jhbuildrc file, and it should work.

A cached version of the remote moduleset file will be stored in
~/.jhbuild/cache/.  By default, jhbuild will cache the file for 6
hours although the web server can override this by sending an Expires
header.  When the file expires, jhbuild sends If-Modified-Since and
If-None-Match headers to speed things up for the common case when
nothing changes.

It still needs a bit of work to handle things like the --no-network
argument (which should just use the cached version), but should work
well enough to test out the new feature.
Comment 3 James Henstridge 2004-02-10 01:43:51 UTC
Closing the report because things seem to be working correctly.

I was able to set my module_set to
http://anoncvs.gnome.gr.jp/viewcvs.cgi/*checkout*/jhbuild/modulesets/gnome26.modules
and everything worked.  It even managed to download
freedesktop.modules from the same directory.  Subsequent calls to
jhbuild used the cached version.