projects
/
GitLab
/
stricted-build
/
lineage_builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695d0f1
)
Allow filtering by build id
author
Tom Powell
<tom@powell.io>
Sun, 2 Dec 2018 01:49:41 +0000
(17:49 -0800)
committer
Tom Powell
<tom@powell.io>
Sun, 2 Dec 2018 01:49:49 +0000
(17:49 -0800)
ui/app.py
patch
|
blob
|
blame
|
history
diff --git
a/ui/app.py
b/ui/app.py
index e1ce47491c08bb47aa09234e4cc7bb805c628348..85aa8c34b651faae448f1b71298bc2bdde93aa8a 100644
(file)
--- a/
ui/app.py
+++ b/
ui/app.py
@@
-45,6
+45,8
@@
def parse_args():
if 'date' in request.args:
date = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date()
args['build_date'] = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date()
+ if 'id' in request.args:
+ args['build_id'] = request.args.get('id')
return args
@cache.memoize()