<?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>10759</bug_id>
          
          <creation_ts>2016-12-02 15:43:39 +0000</creation_ts>
          <short_desc>patchwork: post-receive git hook is not functional</short_desc>
          <delta_ts>2017-12-06 17:19:14 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Lamego">jose.a.lamego</reporter>
          <assigned_to name="Jose Lamego">jose.a.lamego</assigned_to>
          <cc>Martin.Jansa</cc>
    
    <cc>mhalstead</cc>
    
    <cc>patrick.ohly</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>68812</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2016-12-02 15:43:39 +0000</bug_when>
    <thetext>The patchwork post-receive git hook automatically updates a patch status to Accepted when it gets pushed to master.
The hook stopped working apparently after enabling it for all projects, from previous configuration that only included oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68813</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-12-02 17:47:17 +0000</bug_when>
    <thetext>It never worked for meta-oe, it maybe marked one patch in 1000. Maybe it doesn&apos;t mark patches which are already in some bundle (all meta-oe patches go first to master-next bundle and then they are merged after testing in master-next branch/bundle).

So it probably isn&apos;t related to enabling it for all projects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68814</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2016-12-02 18:02:56 +0000</bug_when>
    <thetext>Correct, this isn&apos;t related to the per-project configuration, but to the post-receive git hook having a hard-coded path to patchwork, which does not reflect the actual path in the production server. 

We just recently pointed the server to the Yocto-hosted repository [1], and may skipped to update that line.

Upon confirmation of that path, I will submit a patch to update the hook.

[1] git://git.yoctoproject.org/patchwork</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68822</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2016-12-03 00:25:54 +0000</bug_when>
    <thetext>After removing

[options]
default=oe-core

from .pwclientrc pwclient exits with the following

ConfigParser.NoSectionError: No section: &apos;base&apos;.

I&apos;ve reverted the change and now oe-core is updating again.

What do we try next for the other projects?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68824</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2016-12-03 11:30:22 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; After removing
&gt; 
&gt; [options]
&gt; default=oe-core
&gt; 
&gt; from .pwclientrc pwclient exits with the following
&gt; 
&gt; ConfigParser.NoSectionError: No section: &apos;base&apos;.
&gt; 
&gt; I&apos;ve reverted the change and now oe-core is updating again.
&gt; 
&gt; What do we try next for the other projects?

Thanks Michael. I&apos;m closing this bug now and will track the all-projects enabling request separately.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>