Bauke/tildes-issue-log
Bauke
/
tildes-issue-log
Archived
1
Fork 0

Fix pluralization, fixes #2

Update June table/statistics/post
This commit is contained in:
Bauke 2018-06-26 19:50:55 +02:00
parent a1804e6ea2
commit c970da7383
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
4 changed files with 30 additions and 22 deletions

View File

@ -121,25 +121,25 @@ Written Date: 2018-06-24
**This will be regenerated on June 30th and are not the final statistics.** **This will be regenerated on June 30th and are not the final statistics.**
In the month of June 45 issues were opened and 19 issues were closed. In the month of June 47 issues were opened and 19 issues were closed.
An average of 1.50 issues were opened and 0.63 issues were closed each day. An average of 1.57 issues were opened and 0.63 issues were closed each day.
The average time to close issues was 8.56 days or 205.34 hours. The average time to close issues was 8.56 days or 205.34 hours.
Top 3 issue creators: Top 3 issue creators:
* [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro). * [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro).
* [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz). * [Deimorz](https://gitlab.com/Deimorz) with [9 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
* [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode). * [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode).
Amount of labels assigned to currently open issues: Amount of labels assigned to currently open issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times. * [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 11 times.
* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times. * [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 time.
* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 times. * [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times. * [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times.
* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 times. * [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 time.
* [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times. * [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times. * [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times.
@ -147,10 +147,10 @@ Amount of labels assigned to currently open issues:
Amount of labels assigned to closed issues: Amount of labels assigned to closed issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times. * [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times.
* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times. * [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 time.
* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 times. * [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times. * [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times.
* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 times. * [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 time.
* [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times. * [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times. * [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times.
@ -236,6 +236,8 @@ Amount of labels assigned to closed issues:
| <a href="https://gitlab.com/tildes/tildes/issues/141" target="_blank">141</a> | Add "whisper comments" | <a href="https://gitlab.com/Natanael_L">Natanael_L</a> | 2018/06/21 12:49:12 | | | <a href="https://gitlab.com/tildes/tildes/issues/141" target="_blank">141</a> | Add "whisper comments" | <a href="https://gitlab.com/Natanael_L">Natanael_L</a> | 2018/06/21 12:49:12 | |
| <a href="https://gitlab.com/tildes/tildes/issues/142" target="_blank">142</a> | Add autocomplete for common tags | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/21 18:50:16 | | | <a href="https://gitlab.com/tildes/tildes/issues/142" target="_blank">142</a> | Add autocomplete for common tags | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/21 18:50:16 | |
| <a href="https://gitlab.com/tildes/tildes/issues/143" target="_blank">143</a> | iOS - clicking a tag in a group page results in... | <a href="https://gitlab.com/cfabbro">cfabbro</a> | 2018/06/23 22:35:14 | | | <a href="https://gitlab.com/tildes/tildes/issues/143" target="_blank">143</a> | iOS - clicking a tag in a group page results in... | <a href="https://gitlab.com/cfabbro">cfabbro</a> | 2018/06/23 22:35:14 | |
| <a href="https://gitlab.com/tildes/tildes/issues/144" target="_blank">144</a> | More favicons for site-topic | <a href="https://gitlab.com/Bauke">Bauke</a> | 2018/06/25 13:52:59 | |
| <a href="https://gitlab.com/tildes/tildes/issues/145" target="_blank">145</a> | Topic tag filters are not filtering out "descen... | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/25 22:13:02 | |
### Closed ### Closed

View File

@ -1,24 +1,24 @@
## Statistics ## Statistics
In the month of June 45 issues were opened and 19 issues were closed. In the month of June 47 issues were opened and 19 issues were closed.
An average of 1.50 issues were opened and 0.63 issues were closed each day. An average of 1.57 issues were opened and 0.63 issues were closed each day.
The average time to close issues was 8.56 days or 205.34 hours. The average time to close issues was 8.56 days or 205.34 hours.
Top 3 issue creators: Top 3 issue creators:
* [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro). * [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro).
* [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz). * [Deimorz](https://gitlab.com/Deimorz) with [9 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz).
* [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode). * [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode).
Amount of labels assigned to currently open issues: Amount of labels assigned to currently open issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times. * [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 11 times.
* [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times. * [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 time.
* [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 times. * [design](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times. * [feature](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=feature): 3 times.
* [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 times. * [high priority](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=high+priority): 1 time.
* [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times. * [investigate](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=investigate): 8 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times. * [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times.
@ -26,10 +26,10 @@ Amount of labels assigned to currently open issues:
Amount of labels assigned to closed issues: Amount of labels assigned to closed issues:
* [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times. * [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times.
* [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times. * [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 time.
* [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 times. * [design](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=design): 1 time.
* [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times. * [feature](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=feature): 3 times.
* [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 times. * [high priority](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=high+priority): 1 time.
* [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times. * [in progress](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=in+progress): 2 times.
* [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times. * [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times.
* [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times.

View File

@ -49,6 +49,8 @@
| <a href="https://gitlab.com/tildes/tildes/issues/141" target="_blank">141</a> | Add "whisper comments" | <a href="https://gitlab.com/Natanael_L">Natanael_L</a> | 2018/06/21 12:49:12 | | | <a href="https://gitlab.com/tildes/tildes/issues/141" target="_blank">141</a> | Add "whisper comments" | <a href="https://gitlab.com/Natanael_L">Natanael_L</a> | 2018/06/21 12:49:12 | |
| <a href="https://gitlab.com/tildes/tildes/issues/142" target="_blank">142</a> | Add autocomplete for common tags | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/21 18:50:16 | | | <a href="https://gitlab.com/tildes/tildes/issues/142" target="_blank">142</a> | Add autocomplete for common tags | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/21 18:50:16 | |
| <a href="https://gitlab.com/tildes/tildes/issues/143" target="_blank">143</a> | iOS - clicking a tag in a group page results in... | <a href="https://gitlab.com/cfabbro">cfabbro</a> | 2018/06/23 22:35:14 | | | <a href="https://gitlab.com/tildes/tildes/issues/143" target="_blank">143</a> | iOS - clicking a tag in a group page results in... | <a href="https://gitlab.com/cfabbro">cfabbro</a> | 2018/06/23 22:35:14 | |
| <a href="https://gitlab.com/tildes/tildes/issues/144" target="_blank">144</a> | More favicons for site-topic | <a href="https://gitlab.com/Bauke">Bauke</a> | 2018/06/25 13:52:59 | |
| <a href="https://gitlab.com/tildes/tildes/issues/145" target="_blank">145</a> | Topic tag filters are not filtering out "descen... | <a href="https://gitlab.com/Deimorz">Deimorz</a> | 2018/06/25 22:13:02 | |
### Closed ### Closed

View File

@ -179,13 +179,17 @@ function createStatistics() {
let labels = labelsAlphabet(opened, true) let labels = labelsAlphabet(opened, true)
statistics += '\nAmount of labels assigned to currently open issues:\n\n' statistics += '\nAmount of labels assigned to currently open issues:\n\n'
for (const label in labels) { for (const label in labels) {
statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n` statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} `
if (labels[label] === 1) statistics += 'time.\n'
else statistics += 'times.\n'
} }
labels = labelsAlphabet(closed, false) labels = labelsAlphabet(closed, false)
statistics += '\nAmount of labels assigned to closed issues:\n\n' statistics += '\nAmount of labels assigned to closed issues:\n\n'
for (const label in labels) { for (const label in labels) {
statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n` statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} `
if (labels[label] === 1) statistics += 'time.\n'
else statistics += 'times.\n'
} }
fs.writeFileSync(path.join(__dirname, year, month, 'statistics.md'), statistics, {encoding: 'UTF-8'}) fs.writeFileSync(path.join(__dirname, year, month, 'statistics.md'), statistics, {encoding: 'UTF-8'})