From edd7e4010ed228572945a7520d8eaa51cecafe09 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 3 Jul 2022 01:59:14 +0530 Subject: conditions: Deprecate &issue-file-not-found-error. The &issue-file-not-found-error cannot occur anymore now that we are reading files directly from the git repository and not from the working tree. * tissue/conditions.scm: Delete file. * bin/tissue, tissue/web/server.scm, tissue/web/static.scm: Do not import (tissue conditions). * bin/tissue (main): Do not guard against &issue-file-not-found-error conditions. --- tissue/conditions.scm | 27 --------------------------- tissue/web/server.scm | 1 - tissue/web/static.scm | 1 - 3 files changed, 29 deletions(-) delete mode 100644 tissue/conditions.scm (limited to 'tissue') diff --git a/tissue/conditions.scm b/tissue/conditions.scm deleted file mode 100644 index b2ae543..0000000 --- a/tissue/conditions.scm +++ /dev/null @@ -1,27 +0,0 @@ -;;; tissue --- Text based issue tracker -;;; Copyright © 2022 Arun Isaac -;;; -;;; This file is part of tissue. -;;; -;;; tissue is free software: you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation, either version 3 of the License, or -;;; (at your option) any later version. -;;; -;;; tissue is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;;; General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with tissue. If not, see . - -(define-module (tissue conditions) - #:use-module (rnrs conditions) - #:export (issue-file-not-found-error - issue-file-not-found-error? - issue-file-not-found-error-issue-file)) - -(define-condition-type &issue-file-not-found-error &error - issue-file-not-found-error issue-file-not-found-error? - (issue-file issue-file-not-found-error-issue-file)) diff --git a/tissue/web/server.scm b/tissue/web/server.scm index be783db..06fb8de 100644 --- a/tissue/web/server.scm +++ b/tissue/web/server.scm @@ -33,7 +33,6 @@ (case symbol ((parse-query) 'xapian:parse-query) (else symbol)))) - #:use-module (tissue conditions) #:use-module (tissue document) #:use-module (tissue search) #:use-module (tissue utils) diff --git a/tissue/web/static.scm b/tissue/web/static.scm index d9a2fb1..bc759b2 100644 --- a/tissue/web/static.scm +++ b/tissue/web/static.scm @@ -29,7 +29,6 @@ #:use-module (skribilo evaluator) #:use-module (skribilo reader) #:use-module (web uri) - #:use-module (tissue conditions) #:use-module (tissue git) #:use-module (tissue issue) #:use-module (tissue utils) -- cgit v1.2.3