LbAPLocal changes to improve AnalysisProductions repository organisation/navigation
This will help with lhcb-datapkg/AnalysisProductions#2 (closed) by providing commands in LbAPLocal for users to track down which tags of the AnalysisProductions repository correspond to the production they want to update.
This will require:
-
lb-ap versions
which lists all tags of the repository and their associated productions (this should really be a single production per tag). -
lb-ap versions <working_group> <production>
will list all of the tags associated with a given production. -
lb-ap checkout <version> <working_group> <production> <branch>
will checkout local master, delete the current copy of theproduction
, clone theproduction
from the specifiedversion
and then checkout thebranch
, creating the branch if it doesn't exist yet. -
lb-ap clone <version> <working_group> <production> <branch>
will dolb-ap checkout <version> <working_group> <production> <branch>
but after first cloning the repository.
To Do:
-
Add lb-ap checkout
-
Add lb-ap clone
-
Find a way to get the production associated with a given repository tag. -
Find a way to map from a version to its associated production (add it to APD) -
Add relevant unit tests. -
Add documentation to the README.md
Could also do:
-
Make lb-ap checkout
andlb-ap clone
check that the desired production really is associated with the desired version. -
Make the version/production querying be done per WG, where the user specifies which WG to search under.
Edited by Aidan Richard Wiederhold