Commit cded6522 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Introduce --fast

iIf we find and issue created for a commit that should have
been backported, it most probably means that we don't need to
keep looking for more backportable commits since we already processed
them when we processed the commit that created said issue
parent 503a4a56
#!/usr/bin/env python3
import argparse
import json
import os
import requests
import subprocess
parser = argparse.ArgumentParser(description='Create gitlab issues from Pick-to: commits.')
parser.add_argument('--fast', help='Skip looking for commits after we found a commit for which an issue has already been created', action="store_true")
args = parser.parse_args()
gitlab_token = os.environ.get('GITLAB_TOKEN')
if not gitlab_token:
......@@ -54,4 +59,6 @@ for qt5submodule in qt5submodules.splitlines():
print("Created new issue: " + title)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment