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 172904 - patch to implement "unpackdir" support for the tarball module type
patch to implement "unpackdir" support for the tarball module type
Status: RESOLVED INCOMPLETE
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: High enhancement
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2005-04-07 04:02 UTC by Joshua Hoblitt
Modified: 2009-01-19 20:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to support specificiation of tarball unpack directories (4.75 KB, patch)
2005-04-07 04:03 UTC, Joshua Hoblitt
none Details | Review
Opps, the previous patch has a couple of debuging print statements in it. (4.50 KB, patch)
2005-04-07 04:06 UTC, Joshua Hoblitt
none Details | Review
patch (updated) to support specificiation of tarball unpack directories (4.84 KB, patch)
2005-04-20 01:16 UTC, Joshua Hoblitt
none Details | Review

Description Joshua Hoblitt 2005-04-07 04:02:09 UTC
I'd like to use jhbuild for an internal project but one of our [external]
dependency tarballs unpacks itself into a dir other then [source_dir].tar.gz. 
This simple patch makes get_srcdir() aware of <source unpack=""> in modulesets.

Warning:  I don't actually know Python, this patch seems to function but I can't
verify that it is correct. :)
Comment 1 Joshua Hoblitt 2005-04-07 04:03:28 UTC
Created attachment 39782 [details] [review]
patch to support specificiation of tarball unpack directories
Comment 2 Joshua Hoblitt 2005-04-07 04:06:23 UTC
Created attachment 39783 [details] [review]
Opps, the previous patch has a couple of debuging print statements in it.
Comment 3 Joshua Hoblitt 2005-04-20 01:16:09 UTC
Created attachment 45461 [details] [review]
patch (updated) to support specificiation of tarball unpack directories

This patch has been updated so that the unpackdir attribute properly defaults
to None.
Comment 4 Elijah Newren 2005-10-06 21:28:53 UTC
Looks like this got implemented with a 'checkoutdir' attribute.

*** This bug has been marked as a duplicate of 313249 ***
Comment 5 Joshua Hoblitt 2007-08-09 20:52:45 UTC
'checkoutdir' still does not work when unpacking tarballs.  This needs to either be fixed to work in this case or something like the 'unpackdir' attr I originally suggested needs to be implemented.
Comment 6 Richard Hult 2007-10-15 20:32:50 UTC
Hm, really? I use "checkoutdir" for tarballs in my setup. Make sure to set in on the right tag, i.e. <tarball>, not <source>.
Comment 7 Frederic Peters 2007-12-15 21:21:21 UTC
Joshua?
Comment 8 Christoph Wurm 2009-01-19 20:15:33 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!