Bug#751984: devscripts: mk-origtargz do not handle xpi files correctly
Nicholas Bamber
nicholas at periapt.co.uk
Fri Dec 4 15:43:38 UTC 2015
Osamu,
It's this error
testRepackXpi2XZ
ASSERT:standard output of mk-origtargz --package foo --version 0.1
foo-0.1.xpi -
-compression xz
expected:<Unpacking foo-0.1.xpi
Unpacked xpi file.
Successfully repacked foo-0.1.xpi as foo_0.1.orig.tar.xz.> but was:<>
ASSERT:error output of mk-origtargz --package foo --version 0.1
foo-0.1.xpi --co
mpression xz
expected:<> but was:<xpi-unpack binary not found. You need to install
the packa
ge mozilla-devscripts to be able to repack .xpi upstream archives.>
ASSERT:result does not exist
ASSERT:filetype for foo_0.1.orig.tar.xz expected:<application/xz> but
was:<canno
t open `test_mk-origtargz.mXnz/foo_0.1.orig.tar.xz' (No such file or
directory)>
which looks pretty easy to fix to me.
On 04/12/15 13:48, Osamu Aoki wrote:
> Hi,
>
> On Fri, Dec 04, 2015 at 08:13:26AM +0000, Nicholas Bamber wrote:
>> Osamu,
>> It's no longer building again. I think you should have a look at that.
>
> What? Did you update the watch file? Remove "xip-repack" and add
> "uupdate". Also do not set 2 watch lines which cause to download twice.
>
>> BTW I started looking at a test script that takes a package through a
>> lifecycle. So it can test:
>>
>> debuild
>> dscverify
>> dscextract
>> debchange
>> debdiff
>
> Good. I guess you have not committed them yet.
I've got up to dscextract so far, so probbaly enough to check in. There
are a lot of debchange bug reports so it should provide a framework for
addressing those.
>
>> at the very least. I was going to reuse your GPG data from the uscan_mangle
>> test.
>
>
>
>> On 03/12/15 16:02, Osamu Aoki wrote:
>>> Hi,
>>>
>>> Just for the record, I did not understand why 2 sites are listed in the
>>> watch file of mozilla-noscript. Anyway:
>>>
>>> version=4
>>> opts=uversionmangle=s/([^\.\d]+)/\~$1/ \
>>> https://addons.mozilla.org/en-US/firefox/addon/noscript/ \
>>> https://addons.mozilla.org/firefox/downloads/file/\d+/noscript_security_suite-(\d+(?:\.\d+){1,3}(?:\w+\d+)?)-[+\w]+\.xpi\?src=dp-btn-\w+ \
>>> debian uupdate
> ^^^^^^^
>
>>> #opts=uversionmangle=s/([^\.\d]+)/\~$1/ \
>>> #http://noscript.net/getit \
>>> #https://secure.informaction.com/download/\w+/noscript-([\d\.\w]+).xpi \
>>> #debian uupdate
>
> All above are commented out.
>
>>> This worked nicely. Now uupdate works if ther e is new version.
>
> Osamu
>
More information about the devscripts-devel
mailing list