Compare commits
No commits in common. "3bfb78aa4be881b98e39460d9d226c554bc91f95" and "e2613eb77a440cb9ddc9af0e56406a9295084bd5" have entirely different histories.
3bfb78aa4b
...
e2613eb77a
15 changed files with 5 additions and 21 deletions
|
|
@ -1,14 +1,12 @@
|
|||
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 fixed this by setting a done-time for each of them using this script:
|
||||
I think i want to fix this by setting a done-time for each of them using
|
||||
something like:
|
||||
```
|
||||
#!/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
|
||||
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}"
|
||||
# use `git log` on the issue's state file to find when it got marked Done
|
||||
ent done-time ${ISSUE_ID} ${TIME}
|
||||
done
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
2025-07-08T18:48:13-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-11T11:54:56-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-13T10:39:17-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-11T20:32:59-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-08T18:48:23-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-12T16:14:46-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-09T11:03:14-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-10T09:49:17-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-10T09:49:24-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-08T18:48:37-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-13T21:56:29-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-07T21:24:25-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-08T16:16:09-06:00
|
||||
|
|
@ -1 +0,0 @@
|
|||
2025-07-11T20:32:31-06:00
|
||||
Loading…
Add table
Add a link
Reference in a new issue