ome / scc

OME tools for managing the Git(Hub) workflow
https://pypi.org/project/scc/
GNU General Public License v2.0
0 stars 15 forks source link

Improve tracking branch filter parsing #211

Closed sbesson closed 7 years ago

sbesson commented 7 years ago

While the filter branch functionality is working and checked by an integration test, it fails to integrate a branch called bf_5.3.0-SNAPSHOT. This is a deficiency in the regexp logic when identifying candidate branches.

To fix this issue, this PR extends the _parse_filters() logic to actively parse tracking branches using regular expressions. Unit tests are also added covering the range of tracking branch names.

Support is also added for branch tracking using the full Github URL similarly to what is done for Pull Request inclusion.

To test this PR:

mtbc commented 7 years ago

https://ci.openmicroscopy.org/job/SCC-merge/869/ is green with this PR in.

sbesson commented 7 years ago

Discussed at SA meeting. Merging (and will do a patch release).