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

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

    <bug>
          <bug_id>54564</bug_id>
          
          <creation_ts>2025-05-30 15:08:50 +0300</creation_ts>
          <short_desc>Не задается priority_distbranch если в  apt-repo set Sisyphus указывать Sisyphus с большой буквы</short_desc>
          <delta_ts>2026-09-08 17:06:12 +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>apt-repo</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>266106</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2025-05-30 15:08:50 +0300</bug_when>
    <thetext>Платформы:
alt-kworkstation p11 x86_64
alt-workstation p11 x86_64

Пакет:
apt-repo 1.4.8-alt1

Шаги:
# apt-repo set p11
# rpm --eval %_priority_distbranch 
p11
# apt-repo set Sisyphus
# rpm --eval %_priority_distbranch 

Результат: %_priority_distbranch  не изменился, остался на p11, при этом репозиторий подключается верный.

Дополнительно: Если указать sisyphus с маленькой буквы, то переключает корректно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297116</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-08 17:06:12 +0300</bug_when>
    <thetext>Проверил в чистом контейнере Sisyphus на apt-repo 1.5.3-alt1 (задание https://packages.altlinux.org/tasks/431025/): после `apt-repo set Sisyphus` (с большой буквы) `rpm --eval %_priority_distbranch` даёт sisyphus. Проблема относилась к 1.4.8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>