[Halld-offline] new script to update private packages (build_scripts)
Justin Stevens
jrsteven at jlab.org
Thu Aug 30 11:27:22 EDT 2018
Hi Mark,
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.
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?
-Justin
> On Aug 29, 2018, at 7:40 PM, Mark Ito <marki at jlab.org> wrote:
>
> Builders,
>
> 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
>
> /group/halld/Software/build_scripts/my_halld_update.py
>
> Documentation can be found here <https://github.com/JeffersonLab/build_scripts/wiki/my_halld_update.py>, and is reproduced below.
>
> -- Mark
>
> ___________________
>
> Usage message:
>
> 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)
> Examples
>
> Update all private packages as identified by version.xml in the current working directory. Private packages contain a "home" attribute:
> my_halld_update.py
> Update halld_sim only:
> my_halld_update.py halld_sim
> Update all private packages as identified by /home/user/project/version_special.xml:
> my_halld_update.py -x /home/user/project/version_special.xml
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20180830/13e363cd/attachment-0002.html>
More information about the Halld-offline
mailing list