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

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

    <bug>
          <bug_id>43186</bug_id>
          
          <creation_ts>2022-07-08 11:02:04 +0300</creation_ts>
          <short_desc>Groups multiple lists</short_desc>
          <delta_ts>2022-07-15 09:59: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>installer-alterator-pkg</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>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>jqt4</cc>
    
    <cc>manowar</cc>
    
    <cc>mike</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>212482</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-08 11:02:04 +0300</bug_when>
    <thetext>Предлагаю добавить возможность указывать несколько спиской пакетов в dekstop-файлах групп выбора пакетов.
Тогда форимровать списки можно будет более гибко, выделяя отдельные компоненты, которые можно пихать в несколько групп.

Например, вместо
X-Alterator-PackageList=workstation/games
может быть что-то типа
X-Alterator-PackageList=workstation/games;workstation/wine;workstation/game-32bit-libs;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212483</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-08 11:03:26 +0300</bug_when>
    <thetext>А вместо
X-Alterator-PackageList=workstation/emulators
может быть что-то типа
X-Alterator-PackageList=workstation/emulators;workstation/wine;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212484</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-08 11:05:54 +0300</bug_when>
    <thetext>А installer-alterator-pkg уже умеет такое? Это же ему устанавливать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212485</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-08 11:09:24 +0300</bug_when>
    <thetext>&gt; А installer-alterator-pkg уже умеет такое? Это же ему устанавливать.
Я догадываюсь, что это не в одном месте надо делать.
Значит, его тоже допилить надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212486</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-08 11:11:42 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #3)
&gt; &gt; А installer-alterator-pkg уже умеет такое? Это же ему устанавливать.
&gt; Я догадываюсь, что это не в одном месте надо делать.
&gt; Значит, его тоже допилить надо.

Его в первую очередь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212594</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-12 08:49:46 +0300</bug_when>
    <thetext>Сделал примерную реализацию в installer-alterator-pkg:
[#303510] TESTED (try 3) installer-alterator-pkg.git=3.0.1-alt1

Теперь можно вот так:
X-Alterator-PackageList=workstation/emulators;workstation/wine

но не так:
X-Alterator-PackageList=workstation/emulators;workstation/wine;

Для m-p коммит нужен такой:
https://git.altlinux.org/people/antohami/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commit;h=61b1832a4feeb3799126e45e4ff9ef2fa521bc9d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212599</commentid>
    <comment_count>6</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-12 09:39:39 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #5)
&gt; Теперь можно вот так:
&gt; X-Alterator-PackageList=workstation/emulators;workstation/wine
Круто! Сечас буду пробовать.
 
&gt; но не так:
&gt; X-Alterator-PackageList=workstation/emulators;workstation/wine;
Ок, но так правильнее. В XDG, например, обязательный символ в конце.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212602</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-12 11:42:19 +0300</bug_when>
    <thetext>&gt; Теперь можно вот так:
&gt; X-Alterator-PackageList=workstation/emulators;workstation/wine
Проверил -- работает такое:
https://git.altlinux.org/people/zerg/packages/?p=mkimage-profiles-kworkstation.git;a=commitdiff;h=2c97247caf37d74bea0f8d70bcaae2a6c246f40c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212603</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-12 11:44:24 +0300</bug_when>
    <thetext>Ой, ещё с этим https://git.altlinux.org/people/zerg/packages/?p=mkimage-profiles-kworkstation.git;a=commitdiff;h=0654082c25e65fcd3a047e9660bf70ab7de36221</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212606</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-12 12:10:22 +0300</bug_when>
    <thetext>А последним символом &quot;;&quot; будем что-то делать? Я, в принципе, не против и без него, т.к. сама возможность уже есть и работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212611</commentid>
    <comment_count>10</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-12 12:25:01 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #9)
&gt; А последним символом &quot;;&quot; будем что-то делать? Я, в принципе, не против и без
&gt; него, т.к. сама возможность уже есть и работает.

Я это предложил, как черновик. Может, у кого-то появятся идеи, как сделать всё более красиво.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212613</commentid>
    <comment_count>11</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2022-07-12 13:34:08 +0300</bug_when>
    <thetext>Честно говоря, не до конца улавливаю, зачем это нужно. Чтобы сократить количество desktop-файлов?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212614</commentid>
    <comment_count>12</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-12 14:03:39 +0300</bug_when>
    <thetext>(Ответ для manowar@altlinux.org на комментарий #11)
&gt; Честно говоря, не до конца улавливаю, зачем это нужно. Чтобы сократить
&gt; количество desktop-файлов?
Нет. Чтобы увеличить количаство файлов списков, поделив толстые списки покомпонентно по любому желаемому критерию.

Это позволит более гибко складывать группы из &quot;кирпичей&quot;. Эти же &quot;кирпичи&quot; можно использовать ещё где-то. Например, в conf.d/distr.mk
@$(call add,LIVE_LISTS,distr/conponent-1)

Т.е. бОльшая гибкость появляется и меньше бардака за счёт меньшего дублирования &quot;кирпичей&quot; в текущих списках.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212723</commentid>
    <comment_count>13</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-14 13:11:51 +0300</bug_when>
    <thetext>В новом варианте добавил поддержку &apos;;&apos; на конце (удаляется из переменной). Но она должна быть действительно последним символом в строке. Теперь можно указывать на конце &apos;;&apos;, а можно не указывать. Пробелы в пути до списка и раньше и тем более сейчас не допускаются.

[#303510] TESTED (try 4) installer-alterator-pkg.git=3.0.1-alt1

Других замечаний никто не высказывал, отправлять в Сизиф?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212725</commentid>
    <comment_count>14</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-07-14 14:15:43 +0300</bug_when>
    <thetext>Я за!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212729</commentid>
    <comment_count>15</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2022-07-14 14:58:34 +0300</bug_when>
    <thetext>Я не против.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212750</commentid>
    <comment_count>16</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-07-14 18:35:08 +0300</bug_when>
    <thetext>installer-alterator-pkg-3.0.1-alt1 -&gt; sisyphus:

 Thu Jul 14 2022 Anton Midyukov &lt;antohami@altlinux&gt; 3.0.1-alt1
 - add multiple lists support in X-Alterator-PackageList (Closes: 43186)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>