Re: [PATCH 2/2] serve.py: add support for 'list-voted'

2018-04-05 Thread Lukas Fleischer
On Tue, 03 Apr 2018 at 21:19:16, Simon Legner wrote: > This command lists voted packages. > --- > aurweb/git/serve.py | 18 ++ > test/t1200-git-serve.sh | 22 ++ > 2 files changed, 40 insertions(+) > > [...] > @@ -508,6 +521,9 @@ def serve(action, cmdargv,

Re: [PATCH 2/2] serve.py: add support for 'list-voted'

2018-04-03 Thread Eli Schwartz
On 04/03/2018 03:19 PM, Simon Legner wrote: > This command lists voted packages. Looks useful, thanks. Especially refactoring the boilerplate into a helper function. > cmds = { > "adopt ": "Adopt a package base.", > "disown ": "Disown a package base.", >

[PATCH 2/2] serve.py: add support for 'list-voted'

2018-04-03 Thread Simon Legner
This command lists voted packages. --- aurweb/git/serve.py | 18 ++ test/t1200-git-serve.sh | 22 ++ 2 files changed, 40 insertions(+) diff --git a/aurweb/git/serve.py b/aurweb/git/serve.py index 01aea20..3b3967a 100755 --- a/aurweb/git/serve.py +++ b/aurwe