commit | 3a083843fa3523d9fbd179cdeea49aeda180cb4c | [log] [tgz] |
---|---|---|
author | Pi-Hsun Shih <pihsun@chromium.org> | Mon Nov 16 18:32:29 2020 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 17 03:02:48 2020 +0000 |
tree | 3ac74ea2ec176bc6b3dfe7388186e7fa1d358f9d | |
parent | 1eb16e4fdc1293ecdbae702fb3c89c817ac33fcf [diff] |
fromupstream: Don't restrict patchwork ID to be number only. Some patchwork site use Message ID for the patch_id (for example, https://patchwork.kernel.org/project/linux-usb/list/), which is currently unable to be picked by fromupstream.py. Fix this by using a string instead of int for patch_id. BUG=None TEST=With usbpw pointed to https://patchwork.kernel.org/project/linux-usb/ in ~/.pwclientrc, test that `./fromupstream.py --bug None --test None pw://usbpw/1604403610-16577-2-git-send-email-jun.li@nxp.com` works Change-Id: Ic94c718b0aa86f37a4b7009fc2ddb49a0f61d2c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2540107 Tested-by: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org> Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org>