[BASOP-CI] add script for getting the ref branch of a basop port branch
This adds a script that creates the float ref branch name for a given basop port branch name.
Usage is simply:
usage: get_float_ref_branch_name.py [-h] branchname
positional arguments:
branchname
options:
-h, --help show this help message and exit
It simply replaces the first occurence of "basop" with "ref". For example:
> python3 ci/get_float_ref_branch_name.py 1314_basop_port-mr1273
1314_ref_port-mr1273
If the branch name does not conform to the naming convention set here, an error message is printed:
> python3 ci/get_float_ref_branch_name.py port-mr1273
Your branch name port-mr1273 does not match the template '<issue_number>_basop_<description>', e.g. '123_basop_fix_this_one_bug-2'.
Sticking to this branch is needed for the testing system to match this branch with its float-reference counterpart.
Please rename your branch. You can easily do this by creating a new branch from this branch:
- git checkout -b <new branch name here>
You then also need to create a new merge request and update the links in your issue.
See here for details on the porting work process: https://forge.3gpp.org/rep/sa4/audio/ivas-basop/-/wikis/Porting-MRs-from-floating-point-codec#workflow-for-porting-a-merge-request-from-floating-point-codec-to-basop-codec