Bug 11008 - не работает параметр suffix= для директивы zip
Summary: не работает параметр suffix= для директивы zip
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: 2007-03-04 15:06 MSK by Alexey Gladkov
Modified: 2007-03-04 18:22 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Gladkov 2007-03-04 15:07:00 MSK
В документации сказано:
#  zip: tree_path [options] 
#  zip?: tree_path [options] 
...
#    suffix=suffix      - override default output file name suffix.

Либо документация не полная, либо suffix= не работает.
Вот тест:

$ find . -type f \! -wholename '*/.git/*'
./.gear-rules
./firefox-switch-locales.spec
./switch-locales/chrome/content/switch-tbird.xul
./switch-locales/chrome/content/switch.js
./switch-locales/chrome/content/switch.xul
./switch-locales/chrome.manifest
./switch-locales/install.rdf
./switch-locales-2.0.xpi

$ cat ./.gear-rules
#copy: *.xpi
zip: switch-locales suffix=.xpi

$ gear -v --commit --export-dir=/tmp/zzz
Created commit 01696302541d274eb7ac1361066de952ba2ff223
 7 files changed, 159 insertions(+), 2 deletions(-)
 create mode 100644 switch-locales/chrome.manifest
 create mode 100644 switch-locales/chrome/content/switch-tbird.xul
 create mode 100644 switch-locales/chrome/content/switch.js
 create mode 100644 switch-locales/chrome/content/switch.xul
 create mode 100644 switch-locales/install.rdf
gear: Temporarily committed local changes.
gear: Extracted "switch-locales-2.0.zip" archive.
gear: Extracted "firefox-switch-locales.spec" specfile.
gear: Reverted temporary commit.

$ find /tmp/zzz        
/tmp/zzz
/tmp/zzz/firefox-switch-locales.spec
/tmp/zzz/switch-locales-2.0.zip
Comment 1 Dmitry V. Levin 2007-03-04 16:16:42 MSK
Try 1.2.0-alt1-1-gd805957
Comment 2 Alexey Gladkov 2007-03-04 18:22:19 MSK
Исправлено