<?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>7652</bug_id>
          
          <creation_ts>2015-04-24 09:43:04 +0000</creation_ts>
          <short_desc>patchwork: ensure that merged patches get properly marked as such</short_desc>
          <delta_ts>2015-08-20 04:26:24 +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>unspecified</version>
          <rep_platform>All</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>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Jose Lamego">jose.a.lamego</assigned_to>
          <cc>benjamin.esquivel</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <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>50497</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-24 09:43:04 +0000</bug_when>
    <thetext>At the moment it seems like most of the patches for OE-Core that get merged aren&apos;t being marked as such in patchwork; this is the #1 thing that makes patchwork unusable at the moment. This may be because the code in the commit hook that does the comparison can&apos;t handle the fact that the maintainer adds their own Signed-off-by to commits before pushing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50499</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-24 09:47:11 +0000</bug_when>
    <thetext>This may be worth solving in conjunction with bug 7653.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50802</commentid>
    <comment_count>2</comment_count>
      <attachid>2490</attachid>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-05-05 19:09:44 +0000</bug_when>
    <thetext>Created attachment 2490
post-receive git hook script

this attachment is the base post-receive git hook script.

I also found there is a very similar version here:

https://github.com/stephenfin/patchwork/blob/master/tools/post-receive.hook

all the same but the install path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52946</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2015-08-10 14:25:45 +0000</bug_when>
    <thetext>Patchwork client configuration file (.pwclientrc) was configured to new format as described in [1] including oe-core project identifiers and appropriate login data for &quot;git&quot; user, which are the credentials used by the hook to automatically update patch status to &quot;Accepted&quot; and include corresponding commit hash whenever a git-push is performed to apply a patch.

[1] https://lists.ozlabs.org/pipermail/patchwork/2014-July/001051.html</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2490</attachid>
            <date>2015-05-05 19:09:44 +0000</date>
            <delta_ts>2015-05-05 19:09:44 +0000</delta_ts>
            <desc>post-receive git hook script</desc>
            <filename>post-receive.sh</filename>
            <type>application/x-shellscript</type>
            <size>1910</size>
            <attacher name="Benjamin Esquivel">benjamin.esquivel</attacher>
            
              <data encoding="base64">CiMhL2Jpbi9iYXNoCiMKIyBHaXQgcG9zdC1yZWNlaXZlIGhvb2sgdG8gdXBkYXRlIFBhdGNod29y
ayBwYXRjaGVzIGFmdGVyIEdpdCBwdXNoZXMKIwojIENvcHlyaWdodCDCqSAyMDE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