Project

General

Profile

Feature #21228

A script should be made available where it's easy for users to update the branches in their installation's git repos

Added by John Freeman about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/24/2018
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

A common issue that comes up in experiments where multiple developers have multiple installation areas is the following: a developer installs the experiment's artdaq-based package, and for the next couple of months, uses that installation area for local development. In the meantime, the experiment's package in the central repo is altered to depend on a newer version of artdaq. When the user in question tries merging in the latest-greatest experiment code from the central repo into the local area, the user - probably not an mrb expert - runs into all sorts of difficulties due to version clashes. A script should be provided which makes it simple to clean up / rebuild an mrb installation when branches get updated in this manner.

Presumably, a script - call it quick-mrb-update.sh? - could be produced to handle this. Issues to think about are: Should it back up the original area if the user supplies the wrong arguments? Should it require the user to manually update a branch first (e.g., merging in the develop branch to the user's feature branch), or should it do the updating itself? In what package should the script be located?



Also available in: Atom PDF