[INSTRM-690] generate version keywords Created: 03/Jul/19  Updated: 04/Jul/19  Resolved: 04/Jul/19

Status: Done
Project: Instrument control development
Component/s: pfs_utils, tron_actorcore
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SM1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1
Sprint: SM1-2019 J

 Description   

ICS product lists are usually pretty small, so we can simply generate a version key for each setup EUPS product. Chosing the git description if there are both a git and an eups version is simple, and gets us the following for an actively developed installation (for this ticket).

2019-07-02T22:47:33.699 xcu_b2 i version_ics_actorkeys="1.1.2-70-gf8dbe5a"
2019-07-02T22:47:33.700 xcu_b2 i version_ics_config="1.4.5"
2019-07-02T22:47:33.708 xcu_b2 i version_ics_launch="1.0.1"
2019-07-02T22:47:33.708 xcu_b2 i version_ics_xcuactor="1.10.4-dirty"
2019-07-02T22:47:33.709 xcu_b2 i version_ics_xcu_rtdadio="1.1.1-dirty"
2019-07-02T22:47:33.709 xcu_b2 i version_pfs_utils="1.0.2-3-g7e0c06f"
2019-07-02T22:47:33.710 xcu_b2 i version_tron_actorcore="2.0.3-1-gb077477"
2019-07-02T22:47:33.844 xcu_b2 i version="1.10.4-dirty"

This does require both git and the gitpython package. The second is available from conda. The first is a bit more trouble for the BEEs, since they do not have git-core installed, an in order to install that you need to run apt update to get new repo addresses, etc. If git is not available, the EUPS tags are returned, or "unknown".



 Comments   
Comment by cloomis [ 04/Jul/19 ]

pfs_utils merged at 21f831d, tagged 1.1.0
tron_actorcore merged at 3fc6ee8, tagged 2.1.0

tron_actorcore now requires pfs_utils.

Generated at Sat Feb 10 16:27:39 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.