<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Alex,</p>
    <div class="moz-cite-prefix">El 12/10/16 a les 19:46, Alex McMurchy
      ha escrit:<br>
    </div>
    <blockquote
      cite="mid:fa6b587c-ae01-d7a0-3759-95a8ea492048@yahoo.co.uk"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      All<br>
      <br>
      As a training exercise I ran through a bibisect session to try and
      track done the cause of the regression bug - <br>
      <blockquote type="cite">[Bug 102951] Mail Merge Wizard no longer
        works</blockquote>
      This was a bug that I'd raised myself, several days ago, so had
      some interest in it.<br>
    </blockquote>
    <br>
    Great! Thank you for reporting the bug and helping bibisecting it.<br>
    <blockquote
      cite="mid:fa6b587c-ae01-d7a0-3759-95a8ea492048@yahoo.co.uk"
      type="cite"> <br>
      From the bibisect I got this result -<br>
      <br>
       
      <blockquote type="cite">f0be6ccdc4e4e45f3d6bcf322f98dbd66b1dcfc0
        is the first bad commit<br>
        commit f0be6ccdc4e4e45f3d6bcf322f98dbd66b1dcfc0<br>
        Author: Miklos Vajna <a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E"
          href="mailto:vmiklos@collabora.co.uk"><vmiklos@collabora.co.uk></a><br>
        Date:   Sat Mar 19 05:41:35 2016 +0100<br>
        <br>
            2016-03-19:
        source-hash-b86b97e54590872fc0ea85fbea22c2d00d241181<br>
        <br>
        :100644 100644 2af32b9130734292d26f33b9ac77ed8474f735a3
        eb4c7262bb954e1897378ee6f73548f9dfefc234 M      build-info.txt<br>
        :040000 040000 bb948b1da2441f0590c9b6b90cb963ebc8f3d05c
        0b17c036fcfc6e30417d0e4b52176c87fd401f1d M      opt<br>
      </blockquote>
      <br>
      <br>
      I then did this<br>
      <br>
      <blockquote type="cite"> git show f0be6cc --stat</blockquote>
      <br>
      I've extracted what I believe to be relevant information, for the
      bug report I'd raised, returned by the above command which I've
      recorded below<br>
      <blockquote type="cite"><font face="Courier New, Courier,
          monospace" size="-2"> opt/share/config/soffice.cfg/modules/swform/toolbar/mailmerge.xml     
          |  25 +++++<br>
 opt/share/config/soffice.cfg/modules/swreport/toolbar/mailmerge.xml   
          |  25 +++++<br>
 opt/share/config/soffice.cfg/modules/swriter/toolbar/mailmerge.xml    
          |  25 +++++<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/floatingmmchild.ui    
          |  54 -----------<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmmergepage.ui        
          | 263 --------------------------------------------------<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmoutputpage.ui       
          | 674
--------------------------------------------------------------------------------------------------------------------------------<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmpreparepage.ui      
          | 350
          ------------------------------------------------------------------<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmresultemaildialog.ui
          | 430
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmresultprintdialog.ui
          | 292 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
 opt/share/config/soffice.cfg/modules/swriter/ui/mmresultsavedialog.ui 
          | 222 ++++++++++++++++++++++++++++++++++++++++++<br>
 opt/share/config/soffice.cfg/modules/swxform/toolbar/mailmerge.xml    
          |  25 +++++</font><br>
      </blockquote>
      <br>
      and<br>
      <blockquote type="cite"> 160 files changed, 1126 insertions(+),
        1415 deletions(-)</blockquote>
      <br>
      It then dawned on me, rightly or wrongly, that  <i><b>git show
          f0be6cc --stat</b></i> was showing me all the commits that had
      been applied on one particular day.<br>
      <br>
      Again, rightly or wrongly, what I think I did was to go back to
      the source code and did bisects -<br>
      <ol>
        <li>between the commits one or two days around about Sat Mar 19
          05:41:35 2016 the date of the first bad commit in bibisect.
          Found nothing.</li>
        <li>over a wider range that gave me these positive results -</li>
      </ol>
      <br>
      <blockquote type="cite">
        <pre class="bz_comment_text"> ba0796b 2015-12-23 | mailmerge: Killed the 'Save, print or send' page. (HEAD) [Jan Holesovsky]
* 6b35590 2015-12-23 | mailmerge: Implemented "Edit Individual Documents" toolbar button. (refs/bisect/good-6b355901a7e7a1fd8710e743621ad655068a5817) [Jan Holesovsky]
* 6d08322 2015-12-23 | mailmerge: Icon for the Mail Merge Wizard too. [Jan Holesovsky]
* 7342baf 2015-12-23 | mailmerge: Really show the icons for first/prev/next/last mailmerge entry. [Jan Holesovsky]
* d0f7cdc 2015-12-22 | mailmerge: Icons for the first/prev/next/last mailmerge entry buttons. (refs/bisect/good-d0f7cdc36d9858c3eed461377564a1875305d6e0) [Jan Holesovsky]
* 00fa85e 2015-12-22 | mailmerge: Make the SwMailMergeConfigItem instance long-living. [Jan Holesovsky]
* 906333a 2015-12-22 | mailmerge: Decrease indentation level by an early return. [Jan Holesovsky]
* 55202ec 2015-12-21 | mailmerge: Enable/disable the first/prev/next/last mailmerge entry buttons. [Jan Holesovsky]
* 827ff2e 2015-12-18 | mailmerge: Introduce buttons for first/prev/next/last mailmerge entry. [Jan Holesovsky]
* 299cc33 2015-12-18 | mailmerge: Don't hide the source document. [Jan Holesovsky]
* ac522d1 2015-12-18 | mailmerge: Introduce a mailmerge toolbar. [Jan Holesovsky]</pre>
      </blockquote>
      <br>
      The question I've got is how one gets from the bibisect commit to
      the actual commit in the master tree?<br>
    </blockquote>
    <br>
    Mainly there are three kind of bibisect repositories:<br>
    1. 'max' repos: They have one build per commit<br>
    2. 'all' repos: They have one build made every 64 commits<br>
    3. dbgutil daily repos: They have one build made daily<br>
    <br>
    So, as you're using the last one, in the end you will have a range
    of commits made between 2016-03-18 and 2016-03-19 where the
    problematic one should be.<br>
    At this point, you can run 'git bisect log', copy the output to the
    bug and add the keywords: 'regression' and 'bibisected'. More info:
<a class="moz-txt-link-freetext" href="https://wiki.documentfoundation.org/QA/Bibisect/Linux#Short_.28and_sweet.29_Instructions_-_Linux_Only">https://wiki.documentfoundation.org/QA/Bibisect/Linux#Short_.28and_sweet.29_Instructions_-_Linux_Only</a><br>
    <br>
    However, I'd recommend you to use the max repos when possible as the
    problematic commit can be easily identified. Max repos for 5.2 are
    already available in Mac and Windows, and it should be soon for
    Linux too.<br>
    If you still have doubt, please ping me in IRC ( #libreoffice-qa )
    and we can talk about it.<br>
    <br>
    Regards<br>
    <pre class="moz-signature" cols="72">-- 
Xisco Faulí
Libreoffice QA Team
IRC: x1sc0</pre>
  </body>
</html>