GNOME Bugzilla – Bug 172904
patch to implement "unpackdir" support for the tarball module type
Last modified: 2009-01-19 20:15:33 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. :)
Created attachment 39782 [details] [review] patch to support specificiation of tarball unpack directories
Created attachment 39783 [details] [review] Opps, the previous patch has a couple of debuging print statements in it.
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.
Looks like this got implemented with a 'checkoutdir' attribute. *** This bug has been marked as a duplicate of 313249 ***
'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.
Hm, really? I use "checkoutdir" for tarballs in my setup. Make sure to set in on the right tag, i.e. <tarball>, not <source>.
Joshua?
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!