Bug 17624 - gear-update-tag does not support "compress" directive syntax
Summary: gear-update-tag does not support "compress" directive syntax
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gear (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 19:54 MSD by led
Modified: 2009-10-17 09:12 MSD (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description led 2008-10-19 19:54:42 MSD
$ gear-update-tag -v -a -c
gear-update-tag: .gear/rules line 1: Unrecognized directive "compress" ignored

$ cat .gear/rules
compress: type=bzip2 name=otp_minimal_src_R11B-5.tar.bz2 -- *.tar
copy: *.patch

$ git-ls-files
.gear/rules
.gear/tags/list
erlang.spec
otp-rpath.patch
otp-sslrpath.patch
otp_minimal_src_R11B-5.tar
Comment 1 Dmitry V. Levin 2008-10-21 04:55:31 MSD
(In reply to comment #0)
> $ gear-update-tag -v -a -c
> gear-update-tag: .gear/rules line 1: Unrecognized directive "compress" ignored

Ага, когда добавляли "compress", недопатчили.

> $ cat .gear/rules
> compress: type=bzip2 name=otp_minimal_src_R11B-5.tar.bz2 -- *.tar

Зачем так сложно?  Гораздо проще было бы написать
bzip2: *.tar
Comment 2 led 2008-10-21 11:13:12 MSD
(In reply to comment #1)
> > $ cat .gear/rules
> > compress: type=bzip2 name=otp_minimal_src_R11B-5.tar.bz2 -- *.tar
> 
> Зачем так сложно?  Гораздо проще было бы написать
> bzip2: *.tar

Хороший вопрос... Наверное, просто ступил. Но тогда бы я этот баг не обнаружил:)
Comment 3 Dmitry V. Levin 2008-11-25 02:37:20 MSK
gear-1.5.1-alt1-2-g67d0b16
Comment 4 Dmitry V. Levin 2008-12-01 02:33:11 MSK
1.5.2-alt1
Comment 5 ildar 2009-10-17 09:12:33 MSD
... а ещё он не понимает suffix=:
$ gear-update-tag -ac
gear-update-tag: .gear/rules line 1: Unrecognized option "suffix=.xpi" ignored
$ cat .gear/rules
zip: upstream:. name=addon-14049-latest suffix=.xpi base=

переоткроем?