Compare commits
15 commits
e2613eb77a
...
3bfb78aa4b
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bfb78aa4b | |||
| bc3239c72a | |||
| c930008318 | |||
| f3b6eb9312 | |||
| 472ca9e7f6 | |||
| bc7672d943 | |||
| de85949c63 | |||
| eaccd15ccd | |||
| e847a7e92a | |||
| a93ebac812 | |||
| 08a9644e37 | |||
| de772691b6 | |||
| 554f3fd7c4 | |||
| 10728968fe | |||
| 40c16c3b55 |
15 changed files with 21 additions and 5 deletions
|
|
@ -1,12 +1,14 @@
|
|||
The done-time thing is implemented and merged, but many issues in our
|
||||
database were marked Done before this change, so they have no `done_time`.
|
||||
|
||||
I think i want to fix this by setting a done-time for each of them using
|
||||
something like:
|
||||
I fixed this by setting a done-time for each of them using this script:
|
||||
```
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
for ISSUE_ID in $(ent list state=done done-time=9999-01-01T00:00:00-06:00.. | grep ' ' | cut -f 1 -d ' '); do
|
||||
# use `git log` on the issue's state file to find when it got marked Done
|
||||
ent done-time ${ISSUE_ID} ${TIME}
|
||||
UTIME=$(PAGER='' git log -n1 --pretty=format:%at%n entomologist-data -- ${ISSUE_ID}/state)
|
||||
DATETIME=$(date --rfc-3339=seconds --date="@${UTIME}")
|
||||
ent done-time ${ISSUE_ID} "${DATETIME}"
|
||||
done
|
||||
```
|
||||
|
||||
|
|
|
|||
1
093e87e8049b93bfa2d8fcd544cae75f/done_time
Normal file
1
093e87e8049b93bfa2d8fcd544cae75f/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-08T18:48:13-06:00
|
||||
1
317ea8ccac1d414cde55771321bdec30/done_time
Normal file
1
317ea8ccac1d414cde55771321bdec30/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-11T11:54:56-06:00
|
||||
1
4e314a8590864fa76d22758e1785ae35/done_time
Normal file
1
4e314a8590864fa76d22758e1785ae35/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-13T10:39:17-06:00
|
||||
1
54f0eb67b05aa10763c86869ce840f33/done_time
Normal file
1
54f0eb67b05aa10763c86869ce840f33/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-11T20:32:59-06:00
|
||||
1
793bda8b9726b0336d97e856895907f8/done_time
Normal file
1
793bda8b9726b0336d97e856895907f8/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-08T18:48:23-06:00
|
||||
1
7d2d236668872cf11f167ac0462f8751/done_time
Normal file
1
7d2d236668872cf11f167ac0462f8751/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-12T16:14:46-06:00
|
||||
1
9e69a30ad6965d7488514584c97ac63c/done_time
Normal file
1
9e69a30ad6965d7488514584c97ac63c/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-09T11:03:14-06:00
|
||||
1
a26da230276d317e85f9fcca41c19d2e/done_time
Normal file
1
a26da230276d317e85f9fcca41c19d2e/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-10T09:49:17-06:00
|
||||
1
a5ac277614ea4d13f78031abb25ea7d6/done_time
Normal file
1
a5ac277614ea4d13f78031abb25ea7d6/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-10T09:49:24-06:00
|
||||
1
af53c561b36e9b2709b939f81daee534/done_time
Normal file
1
af53c561b36e9b2709b939f81daee534/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-08T18:48:37-06:00
|
||||
1
d3a705245bd69aa56524b80b5ae0bc26/done_time
Normal file
1
d3a705245bd69aa56524b80b5ae0bc26/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-13T21:56:29-06:00
|
||||
1
da435e5e298b28dc223f9dcfe62a9140/done_time
Normal file
1
da435e5e298b28dc223f9dcfe62a9140/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-07T21:24:25-06:00
|
||||
1
e089400e8a9e11fe9bf10d50b2f889d7/done_time
Normal file
1
e089400e8a9e11fe9bf10d50b2f889d7/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-08T16:16:09-06:00
|
||||
1
fd81241f795333b64e7911cfb1b57c8f/done_time
Normal file
1
fd81241f795333b64e7911cfb1b57c8f/done_time
Normal file
|
|
@ -0,0 +1 @@
|
|||
2025-07-11T20:32:31-06:00
|
||||
Loading…
Add table
Add a link
Reference in a new issue