<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26954</bug_id>
          
          <creation_ts>2012-02-17 13:57:38 +0400</creation_ts>
          <short_desc>Прошу обновить до версии 3.0 и не ломать работу с кодировками</short_desc>
          <delta_ts>2012-05-16 22:34:40 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>zip</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>26943</blocked>
    
    <blocked>27267</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Andrew Vasilyev">andy</assigned_to>
          <cc>admsasha</cc>
    
    <cc>andy</cc>
    
    <cc>aris</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>volkov.peter</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>129007</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-02-17 13:57:38 +0400</bug_when>
    <thetext>В Fedora zip-3.0-4.fc17.src.rpm
Прошу обновить до новой версии.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129870</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-03-19 16:15:06 +0400</bug_when>
    <thetext>Собрал тестовую сборку в Sisyphus:
task #66814: added #100: build tag &quot;3.0-alt1&quot; from /people/cas/packages/zip.git

Я адаптировал патчи, добавил патчи из Fedora и отключил недоступный ныне zcrypt29. Виталий, ты не против, если я отправлю в Сизиф?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129885</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-03-19 17:56:43 +0400</bug_when>
    <thetext>Собрал test-only в task #66814.
Упаковывает, но файлы в консоли показывает не кириллицей, а крокозяблями. Локаль ru_RU.UTF-8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129914</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-03-20 15:21:44 +0400</bug_when>
    <thetext>zip-30000000:3.0-alt1 -&gt; sisyphus:

* Mon Mar 19 2012 Andrey Cherepanov &lt;cas@altlinux&gt; 30000000:3.0-alt1
- Version 3.0 (ALT #26954)
- Disable zcrypt29 encription and codepage detection by natspec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129934</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-03-21 12:46:42 +0400</bug_when>
    <thetext>(In reply to comment #2)
&gt; Собрал test-only в task #66814.
&gt; Упаковывает, но файлы в консоли показывает не кириллицей, а крокозяблями.
&gt; Локаль ru_RU.UTF-8
Ну и какого лешего было заведомо сломанную сборку заливать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129936</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-03-21 13:34:17 +0400</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; (In reply to comment #2)
&gt; &gt; Собрал test-only в task #66814.
&gt; &gt; Упаковывает, но файлы в консоли показывает не кириллицей, а крокозяблями.
&gt; &gt; Локаль ru_RU.UTF-8
&gt; Ну и какого лешего было заведомо сломанную сборку заливать?
Ты сам проверял? Я уже убрал патч с natspec и всё стало работать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129937</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-03-21 13:58:17 +0400</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; Ну и какого лешего было заведомо сломанную сборку заливать?
&gt; Ты сам проверял?
Нет, уведомление о баге не приходило (ACL по @qa).

&gt; Я уже убрал патч с natspec и всё стало работать.
&quot;Всё&quot; -- в случае zip понятие очень растяжимое.  По части разбора существующих архивов обязательно надо проверять как минимум ещё созданные WinZip и &quot;встроенными средствами winxp (tm)&quot; -- там были отличия; по части создания -- как минимум ещё в ru_RU.{KOI8-R,CP1251}.  На что похож выхлоп WinRAR, сходу не помню.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129941</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2012-03-21 14:52:22 +0400</bug_when>
    <thetext>С этим новым zip перестал сходиться gear regression testsuite, падают тесты
gear_update_subdir_dot_zip_cwd и gear_update_subdir_sub_zip_cwd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131038</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-05-05 15:00:24 +0400</bug_when>
    <thetext>*** Bug 24816 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131039</commentid>
    <comment_count>9</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-05-05 15:27:44 +0400</bug_when>
    <thetext>Патч из Gentoo (#24816) накладывается, но в локали koi8-r делается такой архив:

Archive:  ../3.0-koi.zip
warning [../3.0-koi.zip]:  49 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [../3.0-koi.zip]:  reported length of central directory is
  -49 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2012-05-04 17:57   ▌БГ╔Б_╝_╞═Б╔╜Б╜КЕ ╗АА╚╔╓╝╒═╜╗ОЕ_▌▒.pdf
---------                     -------
        0                     1 file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131253</commentid>
    <comment_count>10</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-05-15 14:36:53 +0400</bug_when>
    <thetext>Отправил 3.0 в p6. Увы, ни наш патч, ни версия из Gentoo нормально не работает. Кстати, напоминаю, что основные графические архиваторы (Ark, File-Roller) не используют zip и созданный даже в zip-2.32 архив в популярном под Windows WinRAR открывается криво.

Патчи в Git остались. Если у кого осталось желание, может попробовать доделать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131255</commentid>
    <comment_count>11</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2012-05-15 14:49:54 +0400</bug_when>
    <thetext>(In reply to comment #10)
&gt; Отправил 3.0 в p6. Увы, ни наш патч, ни версия из Gentoo нормально не работает.
&gt; Кстати, напоминаю, что основные графические архиваторы (Ark, File-Roller) не
&gt; используют zip 

Наш файл-роллер как раз использует zip, вместо 7z в рассчете на поддержку определения кодировки посредством natspec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131258</commentid>
    <comment_count>12</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-05-15 15:27:27 +0400</bug_when>
    <thetext>zip-30000000:3.0-alt0.M60P.1 -&gt; p6:

* Tue May 15 2012 Andrey Cherepanov &lt;cas@altlinux&gt; 30000000:3.0-alt0.M60P.1
- Backport to p6 branch new version

* Mon Mar 19 2012 Andrey Cherepanov &lt;cas@altlinux&gt; 30000000:3.0-alt1
- Version 3.0 (ALT #26954)
- Disable zcrypt29 encription and codepage detection by natspec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131261</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-05-15 17:07:45 +0400</bug_when>
    <thetext>(In reply to comment #10)
&gt; Кстати, напоминаю, что основные графические архиваторы (Ark, File-Roller) не
&gt; используют zip и созданный даже в zip-2.32 архив в популярном под Windows
&gt; WinRAR открывается криво.
Это уже проблемы формата -- приходится выбирать, будут ли они открываться нормально winrar&apos;ом или &quot;встроенными средствами&quot; (и выбор оказывается относительно прост -- в пользу последних).  Попробуй создать винраром и открыть эксплорером, а также наоборот.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131263</commentid>
    <comment_count>14</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-05-15 17:20:52 +0400</bug_when>
    <thetext>(В ответ на комментарий №13)
&gt; Попробуй создать винраром и открыть эксплорером, а также наоборот.
Там всё отлично работает во все стороны: пробовал штатный архиватор, WinRAR и 7-Zip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131304</commentid>
    <comment_count>15</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-05-16 22:34:40 +0400</bug_when>
    <thetext>zip-30000000:3.0-alt0.M60P.1 -&gt; t6:

* Tue May 15 2012 Andrey Cherepanov &lt;cas@altlinux&gt; 30000000:3.0-alt0.M60P.1
- Backport to p6 branch new version

* Mon Mar 19 2012 Andrey Cherepanov &lt;cas@altlinux&gt; 30000000:3.0-alt1
- Version 3.0 (ALT #26954)
- Disable zcrypt29 encription and codepage detection by natspec</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>