diff --git a/000ddc5eaf58e781c945d6321970ec40/description b/000ddc5eaf58e781c945d6321970ec40/description index 2792f4b..cc07c5e 100644 --- a/000ddc5eaf58e781c945d6321970ec40/description +++ b/000ddc5eaf58e781c945d6321970ec40/description @@ -6,3 +6,8 @@ for ISSUE_ID in $(ent list --ids-only ${MY_FILTER}); do # do thing with ${ISSUE_ID} done ``` + +For now you can sort of emulate this with: +``` +ent list state=done done-time=2026-01-01T00:00:00-06:00.. | grep ' ' | cut -f 1 -d ' ' +``` diff --git a/08f0d7ee7842c439382816d21ec1dea2/comments/0c39fa626ffff7e2f3a9b704e2eb7ec7/description b/08f0d7ee7842c439382816d21ec1dea2/comments/0c39fa626ffff7e2f3a9b704e2eb7ec7/description new file mode 100644 index 0000000..fc05e0d --- /dev/null +++ b/08f0d7ee7842c439382816d21ec1dea2/comments/0c39fa626ffff7e2f3a9b704e2eb7ec7/description @@ -0,0 +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 think i want to fix this by setting a done-time for each of them using +something like: +``` +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} +done +``` +