summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/parser.py
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-11-22 21:49:53 -0800
committerJeremy Kerr <jk@ozlabs.org>2015-03-22 21:08:30 +0800
commit968f33eff4be769159771d7b5db4444a8112b227 (patch)
tree2294bac67fe0881db340dcfb041aca928c611e5a /apps/patchwork/parser.py
parent235238fdfbfbf4e201a36c0ea57576bf63bc3536 (diff)
downloadpatchwork-968f33eff4be769159771d7b5db4444a8112b227.tar.bz2
patchwork-968f33eff4be769159771d7b5db4444a8112b227.tar.xz
pwclient: support 'archived' filtering and updating
Examples: # Mark patch as uperseded and archived pwclient update -s Superseded -a yes <ID> # List all archived patches pwclient list -a yes Notably, we still leave the '-s' option as required for 'pwclient update'; so you can't *just* archive a patch without setting its state. I couldn't quite figure out the right argparse usage to represent that the user must include one or both of '-s' and '-a'. And of course, the server must have an updated xmlrpc that supports the 'archived' field for list filtering (recently patched), otherwise you'll just get an empty list. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/parser.py')
0 files changed, 0 insertions, 0 deletions