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

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

    <bug>
          <bug_id>60550</bug_id>
          
          <creation_ts>2026-09-15 15:55:03 +0300</creation_ts>
          <short_desc>Неверно отображаются версии пакетов в окне подтверждения обновления</short_desc>
          <delta_ts>2026-09-17 10:52:21 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>plasma-discover</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Жора Змейкин">me</reporter>
          <assigned_to name="sirius@altlinux.org">sirius</assigned_to>
          <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>298924</commentid>
    <comment_count>0</comment_count>
    <who name="Жора Змейкин">me</who>
    <bug_when>2026-09-15 15:55:03 +0300</bug_when>
    <thetext>В Discover активен патч alt-ui-remove-disttag.patch, который убирает DistTag пакетов из окна подтверждения обновлений (оно вылезает, если при обновлении какие-то пакеты удаляются). Но иногда он срабатывает некорректно, например, если PackageKit передаёт версию:
&gt; 2:9.0.1-alt1:sisyphus+431341.100.4.2@1788409669

То в Discover она отображается как:
&gt; ffmpeg (2)

В alt-beautify-changelog.patch такой проблемы нет, там используется lastIndexOf, вместо indexOf. Поэтому надо просто скорректировать патч, поменяв один вызов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299366</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-09-17 10:52:21 +0300</bug_when>
    <thetext>plasma-discover-6.7.5-alt2 -&gt; sisyphus:

Wed Sep 16 2026 Dmitrii Fomchenkov &lt;sirius@altlinux&gt; 6.7.5-alt2
- fix incorrect stripping of DistTag from the package version (closes: 60550)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>