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

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

    <bug>
          <bug_id>44065</bug_id>
          
          <creation_ts>2022-10-17 22:42:33 +0300</creation_ts>
          <short_desc>Команда &quot;apt-repo add altlinuxclub.p10&quot; не работает при существовании самого репозитория</short_desc>
          <delta_ts>2023-01-19 15:25:01 +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="Nikolay Strelkov">n.strelkov</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>rider</cc>
    
    <cc>shilovps</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>216068</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2022-10-17 22:42:33 +0300</bug_when>
    <thetext>Репозиторий altlinuxclub (http://www.altlinuxclub.ru/repo/repo.html) для p10 существует по строкам sources:

```
rpm http://altlinuxclub.ru/repo/Repo_P10/ i686 hasher
rpm http://altlinuxclub.ru/repo/Repo_P10/ x86_64 hasher
```

Но при этом команда

apt-repo add altlinuxclub.p10

не работает, выдает ошибку:

```
# apt-repo add altlinuxclub.p10
Nothing to add: bad source format. See `man apt-repo` for details.
```

Для сравнения p9:

```
# apt-repo add altlinuxclub.p9
# apt-repo | grep club
rpm http://altlinuxclub.ru repo/Repo_P9/x86_64 hasher
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218211</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Shilov">shilovps</who>
    <bug_when>2022-12-01 10:47:57 +0300</bug_when>
    <thetext>Проверялось в p10, ошибка воспроизвелась.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218217</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-12-01 11:42:45 +0300</bug_when>
    <thetext>apt-repo и не должен добавлять сторонние, не поддерживаемые командой ALT Linux Team репозитории.

Поведение правильное.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218257</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2022-12-01 23:12:08 +0300</bug_when>
    <thetext>Как-то вы не последовательны или код не смотрели.

Спросим ув. @cas прямо по коду https://git.altlinux.org/gears/a/apt-repo.git?p=apt-repo.git;a=blob;f=apt-repo;h=8f3a5adcb8082f8f44df88d1bdb453c8e122d194;hb=880a3275f16029ba9a0e15c5de1222251053adb2#l122 .
Вижу здесь поддержку  altlinuxclub.p9 и altlinuxclub.sisyphus , altlinuxclub.p10 отсутствует. Прошу добавить последний для полного комплекта.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218260</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-12-02 08:34:15 +0300</bug_when>
    <thetext>Тогда эту ошибку надо переквалифицировать в удаление сторонних репозиториев. Да, будем последовательны.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220349</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-01-19 15:25:01 +0300</bug_when>
    <thetext>apt-repo-1.4.1-alt1 -&gt; sisyphus:

 Thu Jan 19 2023 Andrey Cherepanov &lt;cas@altlinux&gt; 1.4.1-alt1
 - Added altlinuxclub.p10 repository (ALT #44065).
 - Removed obsoleted egrep.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>