diff --git a/gitlab-changelog.py b/gitlab-changelog.py index a1c00f57a26789a62d9229a79da0e4d48632b394..7e5d11b2cbbdaf307825538cd76f9e1c2262f3d6 100755 --- a/gitlab-changelog.py +++ b/gitlab-changelog.py @@ -100,6 +100,11 @@ def get_issues_and_merge_requests(commit, gl_project_name): if matches: issues.add(int(matches.group(1))) + # Part-of: + matches = re.search(r'^Part-of: $'.format(gl_project_name), line) + if matches: + merge_requests.add(int(matches.group(1))) + # https://gitlab.gnome.org/GNOME/glib/issues/1620 # https://gitlab.gnome.org/GNOME/glib/merge_requests/554 prefix = 'https://gitlab.gnome.org/{}/'.format(gl_project_name)