This recent thread Need help getting started with a new addon got me to revisit something which isn’t clear to me: why does addons-source repo have both a gramps51 branch and maintenance/gramps51 branch?
This section of the Addons development wiki isn’t clear. Should code targeted to Gramps 5.1 be targeted to gramps51
branch or maintenance/gramps51
? The first para says use the former and the third para seems to imply the latter (emphasis added). It does not talk about the relationship or difference between the two.
The addons-source repository holds the source code for the addons with branches holding the version for different gramps. If you are working on an addon for gramps for the current Gramps 5.1 public release, be sure to use the gramps51 git branch, as the default is master branch for the developmental pre-release. (Currently gramps 5.2, which is not the typical target for addons.)
Example commands are shown below referring to the public release rather than the master branch.
The developers are currently merging changes to the most recent maintenance branch into master as necessary, so you don’t have to do anything for that unless you are in a hurry.