unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob c834c6d791c93fb55bc7a7044df0fcf35980f223 2025 bytes (raw)
name: website/apps/development/templates/branches.scm 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 
;;; GNU Guix web site
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of the GNU Guix web site.
;;;
;;; The GNU Guix web site is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU Affero General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; The GNU Guix web site 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 Affero General Public License for more details.
;;;
;;; You should have received a copy of the GNU Affero General Public License
;;; along with the GNU Guix web site.  If not, see <http://www.gnu.org/licenses/>.

(define-module (apps development templates branches)
  #:use-module (apps base templates theme)
  #:use-module (apps base types)
  #:use-module (apps base utils)
  #:use-module (apps i18n)
  #:use-module (apps development templates components)
  #:export (branch-list-t))

(define (branch-list-t branches)
  "Return the branch page in SHTML."
  (theme
   #:title (C_ "webpage title" '("Branching status"))
   #:description
   (G_ "Status of active development branches.")
   #:keywords
   ;; TRANSLATORS: |-separated list of webpage keywords.
   (string-split (G_ "Development|Branching") #\|)
   #:active-menu-item (C_ "website menu" "Branching")
   #:css (list
	  (guix-url "static/base/css/page.css")
	  (guix-url "static/development/css/branches.css"))
   #:crumbs (list (crumb (C_ "website menu" "Publications") "./"))
   #:content
   `(main
     (section
      (@ (class "page"))
      ,(G_ `(h2 "Branching"))

      ,(G_
        `(p
          (@ (class "centered-block limit-width"))

          "This page lists currently-active Git development branches."))

      (div
       (@ (class "publication-list centered-block limit-width"))

       ,@(map branch->shtml branches))))))

debug log:

solving c834c6d ...
found c834c6d in https://yhetil.org/guix-patches/20210702162904.314-1-ludo@gnu.org/

applying [1/1] https://yhetil.org/guix-patches/20210702162904.314-1-ludo@gnu.org/
diff --git a/website/apps/development/templates/branches.scm b/website/apps/development/templates/branches.scm
new file mode 100644
index 0000000..c834c6d

Checking patch website/apps/development/templates/branches.scm...
Applied patch website/apps/development/templates/branches.scm cleanly.

index at:
100644 c834c6d791c93fb55bc7a7044df0fcf35980f223	website/apps/development/templates/branches.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).