summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-18web: Parameterize %tags-path when exporting all files.Arun Isaac
User-created files might also need %tags-path. So %tags-path should be parameterized even when user-created files are being exported. * tissue/web.scm (build-website): Parameterize %tags-path when exporting all files, not just the auto-generated files.
2022-03-18web: Join lines when reading gemtext.Arun Isaac
* tissue/web.scm (build-website): Pass `#:join-lines? #t' to the gemtext reader.
2022-03-16tissue: Fix "#\s pace" typo.Arun Isaac
It should be "#\space", not "#\s pace". * tissue/web.scm (issue-list-item-markup-writer-action): Fix "#\s pace" typo.
2022-03-16tissue: Add CSS class specific to each tag.Arun Isaac
This will let users customize the color of their tags. * tissue/web.scm (issue-list-item-markup-writer-action): Add CSS class specific to each tag.
2022-03-16tissue: Encode URIs for safety.Arun Isaac
* tissue/web.scm: Import (web uri). (issue-list-item-markup-writer-action): Encode URIs for safety.
2022-03-16tissue: Support tagging using "key: value" pairs.Arun Isaac
* tissue/issue.scm (<=n-words?, list-line->alist): New functions. (file-details): Support tagging using "key: value" pairs.
2022-03-16tissue: Deduplicate keywords in hash table.Arun Isaac
* tissue/issue.scm (hashtable-append!): Deduplicate after appending new values.
2022-03-16tissue: Enforce prefix check on checklist.Arun Isaac
* tissue/issue.scm (file-details): Match checklist only if it starts at the beginning of its line.
2022-03-16tissue: Sanitize tag names in file paths.Arun Isaac
* tissue/web.scm (sanitize-string): New function. (issue-list-item-markup-writer-action, build-website): Use sanitize-string.
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: Introduce declarative configuration.Arun Isaac
The <tissue-configuration> record will provide a declarative configuration interface. * tissue/tissue.scm: New file.
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-15tissue: Introduce specialized conditions.Arun Isaac
* tissue/conditions.scm: New file.
2022-03-15tissue: Allow specification of CSS.Arun Isaac
* tissue/web.scm (build-website): Accept #:css argument and set the CSS of generated web pages accordingly.
2022-03-15tissue: Allow override of auto-generated files in website.Arun Isaac
* tissue/web.scm (build-website): Export auto-generated files first so that user-created files can override them.
2022-03-15tissue: Use the term "export" instead of "publish".Arun Isaac
* tissue/web.scm (build-website): In comments, use the term "export" instead of "publish".
2022-03-15tissue: Raise exception on missing file when building website.Arun Isaac
* tissue/web.scm (build-website): Raise exception on missing file.
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-14tissue: Ignore missing files when listing issues.Frederick Muriuki Muriithi
tissue would fail to list issues and throw an exception when a user deletes a file, or renames a file, but has not committed the changes to the issue tracker. This commit simply ignores such deletions and renames, and lists out the other issues that have not changed. * tissue/issue.scm (file-details): Read the file only if it exists. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2022-03-14Makefile: Install guile libraries.Arun Isaac
* Makefile (project, guile_effective_version, GUILD, libdir, datarootdir, top_level_module_dir, sources, objects, scmdir, godir): New variables. * Makefile (all): Depend on $(objects). (%.go): New target. (install): Install $(sources) and $(objects).
2022-03-14tissue: Support exporting issues to the web.Arun Isaac
* tissue/web.scm: New file.
2022-03-14tissue: Memoize the issues function.Arun Isaac
The issues function is disk intensive and will be frequently used in different parts of the program. Memoize it. * tissue/issue.scm (memoize-thunk): New function. (issues): Memoize.
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-05guix.scm: Add guix.scm.Arun Isaac
* guix.scm: New file.
2022-02-05Add text of GPLv3.Arun Isaac
* COPYING: New file.
2022-02-05Initial commitArun Isaac