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

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

    <bug>
          <bug_id>60334</bug_id>
          
          <creation_ts>2026-08-31 19:04:56 +0300</creation_ts>
          <short_desc>Сортировка образов по версии строковая, а не по rpmvercmp</short_desc>
          <delta_ts>2026-08-31 19:04:56 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>packages.altlinux.org</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ajrat Makhmutov">rauty</reporter>
          <assigned_to name="Danil Shein">dshein</assigned_to>
          
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>293775</commentid>
    <comment_count>0</comment_count>
    <who name="Ajrat Makhmutov">rauty</who>
    <bug_when>2026-08-31 19:04:56 +0300</bug_when>
    <thetext>На вкладке «Образы» (`/srpms/&lt;pkg&gt;/images/`) сортировка по столбцу «Версия» сравнивает версии как обычные строки. В результате `0.4.7-alt1` считается больше, чем `0.4.49-alt2`, и уезжает в конец списка при сортировке по возрастанию:
- https://packages.altlinux.org/ru/p11/srpms/alterator-vm/images/?o=version.file&amp;task_repo=p11

C thunderbird ещё веселее:
- https://packages.altlinux.org/ru/p11/srpms/thunderbird/images/?o=version.file&amp;task_repo=p11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>