<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Mark,<div class=""><br class=""></div><div class="">Thanks, I haven’t tested it but this looks quite useful.  As another feature request: it’s common for people working with private builds to be using a specific branch.  And in addition to doing a `git pull` on that branch, they may want to get updates from the master with `git merge origin/master` or merge with some other branch and then rebuild everything.  </div><div class=""><br class=""></div><div class="">Maybe others would also find it useful to have a flag `-merge branchName` for this script that you could choose to merge your local branch with “branchName” from the remote repository and then rebuild?</div><div class=""><br class=""></div><div class="">-Justin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 29, 2018, at 7:40 PM, Mark Ito <<a href="mailto:marki@jlab.org" class="">marki@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Builders,</p><p class="">I've written a new script to update private builds of gluex
      software packages, bringing them up-to-date with their respective
      upstream repositories and rebuilding them. This was a request from
      the last Offline Meeting. Find the script at</p><p class="">  /group/halld/Software/build_scripts/my_halld_update.py</p><p class="">Documentation can be found <a moz-do-not-send="true" href="https://github.com/JeffersonLab/build_scripts/wiki/my_halld_update.py" class="">here</a>,
      and is reproduced below.</p><p class="">  -- Mark</p><p class="">___________________</p>
    <div class="markdown-body"><p class="">Usage message:</p>
      <pre class=""><code class="">usage: my_halld_update.py [-h] [-x XML] [-n NTHREADS]
                          [inputPackages [inputPackages ...]]

positional arguments:
  inputPackages         list of packages to update

optional arguments:
  -h, --help            show this help message and exit
  -x XML, --xml XML     version set xml file name (default: version.xml)
  -n NTHREADS, --nthreads NTHREADS
                        number of threads to use in rebuild (default: 1)
</code></pre><p class="">Examples</p>
      <ol class="">
        <li class="">Update all private packages as identified by version.xml in
          the current working directory. Private packages contain a
          "home" attribute:</li>
      </ol>
      <pre class=""><code class="">my_halld_update.py
</code></pre>
      <ol start="2" class="">
        <li class="">Update halld_sim only:</li>
      </ol>
      <pre class=""><code class="">my_halld_update.py halld_sim
</code></pre>
      <ol start="3" class="">
        <li class="">Update all private packages as identified by
          /home/user/project/version_special.xml:</li>
      </ol>
      <pre class=""><code class="">my_halld_update.py -x /home/user/project/version_special.xml
</code></pre>
    </div>
  </div>

_______________________________________________<br class="">Halld-offline mailing list<br class=""><a href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</div></blockquote></div><br class=""></div></div></div></body></html>