forked from zhangjing1/finishline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6788a0
commit 611cfcb
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
install: | ||
test -d ./node_modules/md2gslides/bin/ || npm install md2gslides | ||
test -d venv || virtualenv venv | ||
venv/bin/pip install -Ur requirements.txt | ||
|
||
buildstatus: install | ||
venv/bin/python finishline \ | ||
--config errata.conf > foo.md | ||
|
||
uploadstatus: buildstatus | ||
./node_modules/md2gslides/bin/md2gslides.js foo.md \ | ||
-t "ET-QE-OKRs, FY19Q4" \ | ||
-e -a 1T1jKJAk6_3puf1vpV2L7YEqLv5wamh22bPt-zldGUi4 | ||
|
||
buildemail: install | ||
venv/bin/python finishline \ | ||
--config ${YOUR_CONFIG_FILE} > report-$(shell date '+%F').md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
project = {{ project }} | ||
AND ( | ||
resolution is EMPTY OR ( | ||
resolution is not EMPTY | ||
AND resolutiondate >= {{ since }} | ||
) | ||
) | ||
AND ( | ||
"Epic Link" in (ERRATA-7106,ERRATA-7078,ERRATA-7083,ERRATA-7077,ERRATA-7123,ERRATA-6689,ERRATA-6622 | ||
) | ||
) | ||
AND status != Dropped | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# {{title}} | ||
{% if subtitle %} | ||
## {{subtitle}} | ||
{% endif %} | ||
--- | ||
# OKR Summary | ||
{% for objective in objectives | sort %} | ||
* {{objective}}{% for key, epic in epics.items() if epic and key in objectives[objective] %} | ||
* [{{ epic.raw['fields']['summary'].split('\n')[0] }}]({{ server }}/browse/{{ key }}) **{{epic.percent_complete}}%**{% endfor %} | ||
{% endfor %} | ||
--- | ||
{% for objective in objectives | sort %}# {{ objective }} {.big} | ||
--- | ||
{% for key, epic in epics.items() if epic and key in objectives[objective] %} | ||
# [{{ epic.raw['fields']['summary'].split('\n')[0].split('KR:')[-1].strip() }}]({{ server }}/browse/{{ key }}) | ||
|
||
* **Progress**: {{epic.percent_complete}}%{% if epic.target_date %} | ||
* **Target**: {{ epic.target_date}}{% endif %}{% if epic.mvp_status %} | ||
* **Status**: **{{ epic.mvp_status['value']}}**{% endif %}{% if epic.status_update %} | ||
* **Update**: (*{{epic.status_update.updated.split('T')[0]}}*) {{epic.status_update.cleaned}}{% if attribution %} — *{{epic.status_update.author}}*{% endif %}{% endif %} | ||
|
||
{.column} | ||
{% for category in by_epic[key] | sort %} | ||
**{{ category }}**: | ||
{% for issue in by_epic[key][category] %} | ||
* ([{{ issue.key }}]({{ server }}/browse/{{ issue.key }})) | ||
{{ issue['summary'].replace('[', '').replace(']', ':') }}{% endfor %} | ||
{% endfor %} | ||
{% if epic.image_url %}{.background}{% endif %} | ||
---{% endfor %} | ||
{% endfor %} | ||
# Thank you {.big} | ||
|
||
Auto-generated from JIRA data with [finishline](https://github.com/ralphbean/finishline). | ||
{% if references %} | ||
--- | ||
{{references}} | ||
{% endif %} |