From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Fri, 11 Dec 2020 12:27:03 +0800 Subject: patman regression? In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Dec 11, 2020 at 12:08 PM Bin Meng wrote: > > Hi Simon, > > The following command no longer works. They used to work. > > $ ./tools/patman/patman -n -c1 > usage: patman [-h] [-b BRANCH] [-c COUNT] [-e END] [-D] [-p PROJECT] > [-P PATCHWORK_URL] [-s START] [-v] [-H] > {send,test,status} ... > patman: error: unrecognized arguments: -n > $ ./tools/patman/patman -n -c 1 > usage: patman [-h] [-b BRANCH] [-c COUNT] [-e END] [-D] [-p PROJECT] > [-P PATCHWORK_URL] [-s START] [-v] [-H] > {send,test,status} ... > patman: error: argument -c/--count: invalid int value: 'send' > > I did not run a bisect to locate which commit introduced this. Do you > have any idea? Resetting to v2020.10, patman works again with the above 2 commands. Note the latest patman also throws an exception about commit tags while the v2020.10 version did not. Traceback (most recent call last): File "./tools/patman/patman", line 177, in control.send(args) File "./tools/patman/control.py", line 177, in send args.smtp_server) File "./tools/patman/control.py", line 136, in email_patches add_maintainers, limit) File "./tools//patman/series.py", line 264, in MakeCcFile raise_on_error=raise_on_error) File "./tools//patman/gitutil.py", line 383, in BuildEmailList raw += LookupEmail(item, alias, raise_on_error=raise_on_error) File "./tools//patman/gitutil.py", line 588, in LookupEmail raise ValueError(msg) ValueError: Alias 'doc' not found Regards, Bin