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

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

    <bug>
          <bug_id>25707</bug_id>
          
          <creation_ts>2011-06-02 16:00:49 +0400</creation_ts>
          <short_desc>inheritance check should not be performed on p6&lt;-&gt;t6 copying</short_desc>
          <delta_ts>2011-11-22 02:40:22 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>git.altlinux.org</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/people/viy/packages/?p=girar-builder.git;a=commit;h=493b19f5fd240eb110850a367047608cfd1eb4ee</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>enp</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Mikhail Gusarov">dottedmag</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121859</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-06-02 16:00:49 +0400</bug_when>
    <thetext>Не получилось скопировать из p6 в t6 более новое ядро std-def,
из-за inheritance check, который явно не к месту при копировании p6-&gt;t6
(и наоборот)
пример хака, отключающего копирование, в коммите в ссылке.
2011-Jun-02 14:58:33 :: error: /gears/k/kernel-modules-rtl8168-std-def.git branch `p6&apos; is not inherited from branch `t6&apos;
2011-Jun-02 14:58:34 :: gears inheritance check FAILED
2011-Jun-02 14:58:34 :: task #46827 for t6 FAILED
--- a/gb-task-check-girar
+++ b/gb-task-check-girar
@@ -50,6 +50,8 @@ girar_check_copy()
 {
        local copy_repo copy_commit_id
        copy_repo=&quot;$(cat gears/$i/copy_repo)&quot;
+       # allow copying from p6 to t6 w/o inheritance check
+       [ &quot;$copy_repo$GB_REPO_NAME&quot; = &quot;p6t6&quot; ] &amp;&amp; return 0
        if ! copy_commit_id=&quot;$(git rev-parse --verify &quot;heads/$copy_repo^{commit}&quot; 2&gt;/dev/null)&quot;; then
                fail &quot;$GIT_DIR already contains \`$GB_REPO_NAME&apos; branch, but does not contain \`$copy_repo&apos; branch&quot;
                return

http://git.altlinux.org/people/viy/packages/?p=girar-builder.git;a=commit;h=493b19f5fd240eb110850a367047608cfd1eb4ee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127074</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2011-11-22 02:40:22 +0400</bug_when>
    <thetext>Уже давно проверки gb-task-check-girar и gb-task-check-lastchange в p6 и t6 не вполне обязательные.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>