summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2022-03-23bin: Pass the tissue -> `tissue list' alias through main again.Arun Isaac
Pass the tissue -> `tissue list' alias through main again so that parameters and other setup is done correctly. * bin/tissue (main): Pass the tissue -> `tissue list' alias through main again.
2022-03-18issue: Resolve authors and assignees using aliases.Arun Isaac
* bin/tissue (main): Load config and parameterize %aliases. * tissue/issue.scm (%aliases): New public parameter. (resolve-alias): New function. (file-details): Resolve authors and assignees using aliases.
2022-03-18bin: Abstract out the loading of the configuration file.Arun Isaac
* bin/tissue (load-config): New function. (tissue-web): Use load-config.
2022-03-18issue: Record all commits affecting a file, not just how many.Arun Isaac
* tissue/issue.scm (<post>): New record type. (file-details): Record all commits affecting a file, not just how many. * bin/tissue (print-issue, print-issue-to-gemtext): Apply length on the output of issue-posts before use. * tissue/web.scm (issue-list-item-markup-writer-action): Apply length on posts before use.
2022-03-18issue: Rename issue-open to issue-open?.Arun Isaac
issue-open returns a boolean. So, it makes sense to name it like a predicate. * bin/tissue (tissue-list): Replace issue-open with issue-open?. * tissue/issue.scm (tissue): Export issue-open? instead of issue-open. (<issue>): Rename issue-open to issue-open?. * tissue/web.scm (issue-listing): Replace issue-open with issue-open?.
2022-03-15bin: Add `tissue web' subcommand.Arun Isaac
* bin/tissue: Import (tissue tissue) and (tissue web). (tissue-web): New function. (print-usage): Document web subcommand. (main): Hook up web subcommand.
2022-03-15tissue: Use more specific &issue-file-not-found-error.Arun Isaac
* bin/tissue: Do not import (rnrs conditions). Import (tissue conditions). (tissue-edit, tissue-show): Raise &issue-file-not-found-error instead of &message-condition. (print-usage): Handle &issue-file-not-found-error instead of &message-condition. * tissue/web.scm: Do not import (rnrs exceptions). Import (tissue conditions). (build-website): Raise &issue-file-not-found-error instead of &message-condition.
2022-03-15bin: Use raise instead of raise-exception.Arun Isaac
raise is from the (rnrs exceptions) standard. * bin/tissue (tissue-edit, tissue-show): Use raise instead of raise-exception.
2022-03-14bin: Handle message conditions.Arun Isaac
* bin/tissue: Import (rnrs exceptions). (main): Handle message conditions by printing them and exiting with failure.
2022-03-14bin: Raise exception on missing file.Arun Isaac
* bin/tissue: Import (rnrs conditions). (tissue-edit, tissue-show): Raise exception on missing file.
2022-03-13bin: Remove (ice-9 ftw) import.Arun Isaac
(ice-9 ftw) is no longer used. * bin/tissue: Do not remove (ice-9 ftw).
2022-03-13tissue: Reorganize code into scheme modules.Arun Isaac
* bin/tissue: Do not import (rnrs hashtables) and (srfi srfi-9). Import (tissue issue) and (tissue utils). (<issue>, issues, hashtable-append!, comma-split, remove-prefix, file-details): Move to tissue/issue.scm. (call-with-input-pipe, get-line-dos-or-unix): Move to tissue/utils.scm. * tissue/issue.scm, tissue/utils.scm: New files.
2022-02-05Initial commitArun Isaac