backport-create-issue: set the priority of the backport issue
The backport issue should have the same priority as the issue it is derived from. This is a hint that helps backporters figure out which issues should be worked on first.
If the backport issues had their priority set manually, they would likely be different from the priority of the issue they are derived from. But noone is doing this as of 2021 and as a result all backport issues have the same priority. When someone has to pick a backport issue to work on, they chose at random.
Setting the priority of a backport is better because there is a good chance that an issue that had to be fixed urgently in master also has a higher backport priority.
#2 Updated by Loïc Dachary over 1 year ago
@cory here is the patch that sets the priority of the backports to be the same as the priority of the main issue. There are no tests in the main tree for this script just yet (will be not too much work once tests run for ceph-backport.sh). There are tests for this change that you can review . Running them on your laptop is also possible and they also run in the CI of this forge
If this looks ok to you, I'd be grateful if you could create a pull request with the patch. I cannot do it myself because I actively boycott GitHub