<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10715</bug_id>
          
          <creation_ts>2016-11-23 20:53:26 +0000</creation_ts>
          <short_desc>Patchwork should change status when patches are pushed into mut (master under test) and again when they go to master</short_desc>
          <delta_ts>2026-07-30 15:24:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchwork</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=7684</see_also>
    
    <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=10716</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>mhalstead</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tim.orling</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68552</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-11-23 20:53:26 +0000</bug_when>
    <thetext>Since patches are often batched into mut and can stay there a bit, depending, it would be good to track the whole life cycle of the patch so that the author knows where the patch is and what they should expect next.
Silence is confusing :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70159</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-01-25 21:01:20 +0000</bug_when>
    <thetext>I think it&apos;s ross/mut in poky-contrib or master-next in the main poky repo depending on whether it&apos;s Ross or Richard assembling the branch, but I did see that Ross created a &quot;mut2&quot; branch the other day. If we&apos;re to be able to provide these status updates to submitters effectively, either we need to only have one nominated branch (or a clearly defined subset) or we have some other way of identifying these branches so that the tool can know where they are.

Richard / Ross - any thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70883</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-02-22 18:11:19 +0000</bug_when>
    <thetext>This enhancement requires further discussion due to the use of alternative branches and maybe new patch-statuses. Pushing to 2.4 to allow this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72604</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-04-18 16:59:35 +0000</bug_when>
    <thetext>We can add the desired additional branches to be monitored by patchwork&apos;s post-receive git hook, where the status updating takes place.

What we would need prior to that, is to define which branches will be monitored and the related state name to be displayed at patchwork, for example, we could have &quot;Under Test&quot; for mut.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72605</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-04-18 17:08:19 +0000</bug_when>
    <thetext>Its worth noting that the git hook uses the commit hash to identify the targeted patch to be updated, so if for any reason this hash changes between branches, the continuity will be broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73476</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-05-24 19:30:16 +0000</bug_when>
    <thetext>These are the branches Ross suggested:

    master-next
    poky-contrib:ross/mut

I propose that the states used in patchwork to reflect when a patch goes into one of them are (respectively):

    master-next
    mut

Let me know if other branch is missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74434</commentid>
    <comment_count>6</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-06-21 15:56:46 +0000</bug_when>
    <thetext>Change implemented at Open Embedded repositories for master and master-next branches. Pending implementation at Yocto repository for ross/mut branch only. Moving to M2 for finalization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75208</commentid>
    <comment_count>7</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-07-20 21:31:21 +0000</bug_when>
    <thetext>Change at Yocto repository has been queued and will implemented in M3. I&apos;m moving this bug accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76055</commentid>
    <comment_count>8</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-08-22 14:53:01 +0000</bug_when>
    <thetext>The Yocto-repository server configuration required for the ross/mut branch-tracking feature to be available is still in queue for implementation, although higher priority items are being handled before. I&apos;m moving this request to the next enhancements-allowed milestone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78468</commentid>
    <comment_count>9</comment_count>
      <attachid>4138</attachid>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-12-01 17:45:02 +0000</bug_when>
    <thetext>Created attachment 4138
post-receive script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78469</commentid>
    <comment_count>10</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-12-01 17:46:48 +0000</bug_when>
    <thetext>Following are the required changes that are queued to be implemented at the Yocto project&apos;s poky-contrib.git repository so the ross/mut branch can be tracked:

- A local patchwork repository must be cloned from
git://git.yoctoproject.org/patchwork (production branch) in order to
have available the latest post-receive.hook and pwclient files

- Create a local .pwclientrc file with same credentials as the one in
OE&apos;s server.

- Place the attached post-receive script (for example, in /home/git/bin
and sym-linked from the poky-contrib.git repo), ensuring that the
paths in the script are appropriate for the local configuration or edit
them accordingly: &quot;/home/git/repositories/poky-contrib.git&quot; and
&quot;/usr/local/patchwork/tools/post-receive.hook&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96887</commentid>
    <comment_count>11</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:37 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4138</attachid>
            <date>2017-12-01 17:45:02 +0000</date>
            <delta_ts>2017-12-01 17:45:02 +0000</delta_ts>
            <desc>post-receive script</desc>
            <filename>post-receive</filename>
            <type>application/octet-stream</type>
            <size>547</size>
            <attacher name="Jose Lamego">jose.a.lamego</attacher>
            
              <data encoding="base64">IyEvYmluL2Jhc2gKCmRhdGE9JChjYXQpCmV4aXRjb2Rlcz0oKQoKIyBGb2xsb3dpbmcgaXMgdGhl
IHJlcG9zaXRvcnkvYnJhbmNoIHRyYWNraW5nIG1hcCBmb3IgcGF0Y2h3b3JrCnJlcG9icmFuY2g9
KC9ob21lL2dpdC9yZXBvc2l0b3JpZXMvcG9reS1jb250cmliLmdpdDpyZWZzL2hlYWRzL3Jvc3Mv
bXV0KQoKIyB1c2Ugd29yayBkaXJlY3RvcnkgZnJvbSB0aGUgZ2l0IHB1c2gKd29ya2Rpcj0iJChw
d2QpIgpyZWZuYW1lPSIkKGVjaG8gJHtkYXRhIyMqIH0pIgoKaWYgW1sgIiAke3JlcG9icmFuY2hb
QF19ICIgPX4gIiAkd29ya2RpcjokcmVmbmFtZSAiIF1dOyB0aGVuCiAgICAjIFBhc3MgdGhlIHJl
cG9zaXRvcnkgbmFtZSBhbmQgcGF0aCB0byBwb3N0LXJlY2VpdmUgaG9vawogICAgZWNobyAiJGRh
dGEiICIkd29ya2RpciJ8IC91c3IvbG9jYWwvcGF0Y2h3b3JrL3Rvb2xzL3Bvc3QtcmVjZWl2ZS5o
b29rICYKICBleGl0Y29kZXMrPSgkPykKZmkKCmZvciBpIGluICIke2V4aXRjb2Rlc1tAXX0iOyBk
bwogIFsgIiRpIiA9PSAwIF0gfHwgZXhpdCAkaQpkb25lCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>