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

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

    <bug>
          <bug_id>42861</bug_id>
          
          <creation_ts>2022-05-25 18:37:33 +0300</creation_ts>
          <short_desc>Несоответствие информации о задании girar и git.altlinux.org</short_desc>
          <delta_ts>2022-05-25 18:54:12 +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>girar</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>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Novikov">sotor</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>211131</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Novikov">sotor</who>
    <bug_when>2022-05-25 18:37:33 +0300</bug_when>
    <thetext>Информация о дисапрувах для некоторых тасков, запрашиваемая с https://git.altlinux.org/tasks/XXXXXX/info.json, не соответствует реальной информации с получаемой с girar.

Например:
$ curl https://git.altlinux.org/tasks/258650/info.json
{
 &quot;taskid&quot;: 258650,
 &quot;shared&quot;: false,
 &quot;test_only&quot;: false,
 &quot;repo&quot;: &quot;p9&quot;,
 &quot;state&quot;: &quot;EPERM&quot;,
 &quot;try&quot;: 1,
 &quot;iter&quot;: 1,
 &quot;owner&quot;: &quot;boyarsh&quot;,
 &quot;subtasks&quot;: {
  &quot;100&quot;: {
   &quot;dir&quot;: &quot;/gears/m/mkfontscale.git&quot;,
   &quot;tag_name&quot;: &quot;1.2.1-alt2&quot;,
   &quot;tag_id&quot;: &quot;47871a3722d2878995054b86ed085f8b993439c4&quot;,
   &quot;tag_author&quot;: &quot;shrek@altlinux.ru (Valery Inozemtsev) &lt;shrek@altlinux.org&gt;&quot;,
   &quot;type&quot;: &quot;repo&quot;,
   &quot;approved_by&quot;: [&quot;boyarsh&quot;],
   &quot;pkgname&quot;: &quot;mkfontscale&quot;,
   &quot;userid&quot;: &quot;boyarsh&quot;
  }
 }
}

Дисапрува нет.

ssh girar task show 258650
id=258650 locked=no shared=no fail_early=yes test_only=no repo=p9 owner=boyarsh state=EPERM try=1 iter=1 age=86w build_time=2020-Sep-25/09:58:06 message=fix_for_dist-upgrade_from_c8.1
 100:dir=/gears/m/mkfontscale.git
 100:tag_name=1.2.1-alt2
 100:tag_id=47871a3722d2878995054b86ed085f8b993439c4
 100:tag_author=shrek@altlinux.ru (Valery Inozemtsev) &lt;shrek@altlinux.org&gt;
 100:fetched=2020-09-25T09:53:49
 100:userid=boyarsh
 100:approved_by=boyarsh 
 100:disapproved_by=sotor 
 100:pkgname=mkfontscale

Дисапрув есть.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211133</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Novikov">sotor</who>
    <bug_when>2022-05-25 18:52:04 +0300</bug_when>
    <thetext>Такое же поведение на тасках:
257007, 256804, 256688, 253154, 250078, 248508, 247568, 241103, 239678.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211134</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2022-05-25 18:54:12 +0300</bug_when>
    <thetext>commit 6182299d76dea6e9ae3295be7b24d33352267911 updates index.html and info.json files only if the task is not locked.  I wonder why I implemented it this way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>