about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--issues/automatic-importer-for-github-projects.gmi7
-rw-r--r--tissue.scm64
2 files changed, 0 insertions, 71 deletions
diff --git a/issues/automatic-importer-for-github-projects.gmi b/issues/automatic-importer-for-github-projects.gmi
deleted file mode 100644
index 314b321..0000000
--- a/issues/automatic-importer-for-github-projects.gmi
+++ /dev/null
@@ -1,7 +0,0 @@
-# Automatic importer for GitHub projects
-
-We need an importer to automagically import projects from GitHub (or from GitLab, SourceHut, etc.) into guix-forge. The user gives their GitHub/GitLab/SourceHut account URL (API token if required) and the importer will generate a guix-forge config with all of the user's repositories ready to be consumed by cgit or klaus, issue tracker is migrated to public-inbox/tissue, continuous integration is converted to something laminar can run, etc.
-
-This is a very ambitious idea, but extremely useful and will help adoption.
-
-Thanks to jgart for suggesting this!
diff --git a/tissue.scm b/tissue.scm
deleted file mode 100644
index cef25ef..0000000
--- a/tissue.scm
+++ /dev/null
@@ -1,64 +0,0 @@
-;;; guix-forge --- Guix software forge meta-service
-;;; Copyright © 2023 Arun Isaac <arunisaac@systemreboot.net>
-;;;
-;;; This file is part of guix-forge.
-;;;
-;;; guix-forge 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.
-;;;
-;;; guix-forge 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 guix-forge.  If not, see
-;;; <https://www.gnu.org/licenses/>.
-
-(use-modules (tissue skribilo))
-
-;; Add current directory to load path so that (doc skribilo) can be
-;; found when indexing doc/forge.skb.
-(add-to-load-path (dirname (current-filename)))
-
-(tissue-configuration
- #:indexed-documents (append (map (lambda (filename)
-                                    (slot-set (read-gemtext-issue filename)
-                                              'web-uri
-                                              (string-append "/guix-forge/" (string-remove-suffix ".gmi" filename))))
-                                  (gemtext-files-in-directory "issues"))
-                             (map (lambda (identifier)
-                                    (slot-set (document-fragment "doc/forge.skb" identifier)
-                                              'web-uri
-                                              (string-append "/manual/dev/en/#"
-                                                             identifier)))
-                                  (list "chapter-introduction"
-                                        "chapter-tutorial"
-                                        "chapter-how-to"
-                                        "chapter-services"
-                                        "chapter-reference"))
-                             (map (lambda (commit)
-                                    (slot-set commit
-                                              'web-uri
-                                              (string-append "https://git.systemreboot.net/guix-forge/commit/?id="
-                                                             (commit-hash commit))))
-                                  (commits-in-current-repository)))
- #:web-files (cons* (file "index.html"
-                          (skribe-exporter "website/index.skb"))
-                    (file "style.css"
-                          (copier "website/style.css"))
-                    (file "manual/dev/en/index.html"
-                          (skribe-exporter "doc/forge.skb"))
-                    (append (map (lambda (font-file)
-                                   (file (string-append "fonts/" font-file)
-                                         (copier (string-append (getenv "GUIX_ENVIRONMENT")
-                                                                "/share/fonts/web/" font-file))))
-                                 (list "charter_regular.woff2"
-                                       "FiraCode-Regular.woff2"
-                                       "FiraCode-SemiBold.woff2"))
-                            (map (lambda (filename)
-                                   (file (replace-extension filename "html")
-                                         (gemtext-exporter filename)))
-                                 (gemtext-files-in-directory "issues")))))