README | 2 +- add | 2 +- metas | 4 ++-- diff --git a/README b/README index 8c452ebad696afe8ea59c846286d24a82735a524c4a7c74979819e00aca49a8e..0c38feacafd93423edddc57f045506b8a878accaa4255bbc36f97c149b5f617b 100644 --- a/README +++ b/README @@ -33,7 +33,7 @@ dashes should be interpreted as n-1 dashes when converting the directory name to a human readable issue title, as PoormanIssueTracker suggests. The "about" file contains the description of the issue. The "result" -(initially empty) contains the resolved issue information. The "meta" +(initially empty) contains the resolved issue information. The "meta.rec" file contains metainformation in recfile format, having at least "created" fields. https://www.gnu.org/software/recutils/ diff --git a/add b/add index cc89b71fb99f818268fe0e40e8082860b36acb78c82c2d73d0a3533d96feed70..be5e01286eaf904e87b615f9368b51290b7ee9e4b6c1e4539d72c2ea4e8e5faa 100755 --- a/add +++ b/add @@ -9,7 +9,7 @@ fn="$@" fn="$(dirname "$fn")/$(basename "$fn" | endash)" fn=${fn#./} mkdir "$fn" -echo created: $(date -u +"%Y-%m-%d %H:%M:%S") >"$fn"/meta +echo created: $(date -u +"%Y-%m-%d %H:%M:%S") >"$fn"/meta.rec touch "$fn"/about "$fn"/result $EDITOR "$fn"/about git add "$fn" diff --git a/metas b/metas index 27f8681815a5957c873aa37d4a6d3e2f4caa6d432704f8f7bc74306c5fe6fe9d..a3491e6b7f2159b6468dd5cd1013ad2fc35ba8cce372190de2be7d9126a9290f 100755 --- a/metas +++ b/metas @@ -3,9 +3,9 @@ for i in $(find ${1:-.} -type d) ; do i=${i#./} i=${i%/} - [ -s $i/meta ] || continue + [ -s $i/meta.rec ] || continue echo id: $i echo name: $i | ${PERL:-perl} -npe 's/([^-])-([^-])/$1 $2/g ; s/-(-+)/$1/g' - cat $i/meta + cat $i/meta.rec echo done