Lines Matching +full:start +full:- +full:line
4 # SPDX-License-Identifier: Apache-2.0
8 This script searches for issues referenced via pull-requests in a release
21 -t ~/.ghtoken \
22 -b v2.7-branch \
23 -s 2021-12-15 -e 2022-04-22 \
24 -P 45074 -P 45868 -P 44918 -P 41234 -P 41174 \
25 -j | jq . | tee /tmp/backports.json
29 -b v3.0-branch \
30 -p 43381 \
31 -j | jq . | tee /tmp/backports.json
50 command line"""
52 return datetime.strptime(arg_date_str, "%Y-%m-%d")
54 msg = "Given Date ({0}) not valid! Expected format, YYYY-MM-DD!".format(arg_date_str)
60 parser.add_argument('-t', '--token', dest='tokenfile',
62 parser.add_argument('-b', '--base', dest='base',
63 … help='branch (base) for PRs (e.g. v2.7-branch)', metavar='BRANCH', required=True)
64 parser.add_argument('-j', '--json', dest='json', action='store_true',
66 parser.add_argument('-s', '--start', dest='start', help='start date (YYYY-mm-dd)',
68 parser.add_argument('-e', '--end', dest='end', help='end date (YYYY-mm-dd)',
70 parser.add_argument("-o", "--org", default="zephyrproject-rtos",
72 parser.add_argument('-p', '--include-pull', dest='includes',
75 parser.add_argument('-P', '--exclude-pull', dest='excludes',
78 parser.add_argument("-r", "--repo", default="zephyr",
84 if getattr(args, 'start'):
86 'the --start argument should not be used with --include-pull')
90 'the --end argument should not be used with --include-pull')
93 if not getattr(args, 'start'):
95 'if --include-pr PR is not used, --start START_DATE is required')
101 if args.end < args.start:
103 f'end date {args.end} is before start date {args.start}')
133 base, start datetime object, and end datetime objects, and
198 # * :github:`38972` - logging: Cleaning references to tracing in logging
199 print(f'* :github:`{i.number}` - {title}')
228 for line in buf.readlines():
229 line = line.strip()
230 match = re.search(r"^Fixes[:]?\s*#([1-9][0-9]*).*", line)
233 …ttps://github\.com/{self._repo.organization.login}/{self._repo.name}/issues/([1-9][0-9]*).*", line)
309 args.start, args.end, set(args.excludes))