summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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