guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

64/66: programming-2022: Reference the artifact as requested.


From: Ludovic Courtès
Subject: 64/66: programming-2022: Reference the artifact as requested.
Date: Wed, 29 Jun 2022 11:32:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 97c650f55d90b4b3f531ddd1e2cc91dc40210248
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Jun 14 13:38:02 2022 +0200

    programming-2022: Reference the artifact as requested.
---
 doc/programming-2022/bibliography.scm | 10 +++++++---
 doc/programming-2022/security.sbib    | 12 +++++++++++-
 doc/programming-2022/supply-chain.skb |  5 +++--
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/doc/programming-2022/bibliography.scm 
b/doc/programming-2022/bibliography.scm
index 0c4cb9d..31142c4 100644
--- a/doc/programming-2022/bibliography.scm
+++ b/doc/programming-2022/bibliography.scm
@@ -4,9 +4,13 @@
   ;; Return a template for KIND that includes a DOI.
   ;; Note: This uses the API of Skribilo 0.9.5 and earlier.
   (let ((template (make-bib-entry-template/default kind)))
-    (if (eq? 'misc kind)
-        `(,@template (" " note "."))
-        `(,@template (if doi (" DOI: " doi) (" ISBN: " isbn))))))
+    (cond ((eq? 'misc kind)
+           `(,@template (" " note ".")))
+          ((eq? 'software kind)
+           `(author ".  " title ".  " publisher ", " month " " year
+                    ".  " (if url url ("  DOI:" doi))))
+          (else
+           `(,@template (if doi (" DOI: " doi) (" ISBN: " isbn)))))))
 
 (when-engine-is-loaded 'latex
   (lambda ()
diff --git a/doc/programming-2022/security.sbib 
b/doc/programming-2022/security.sbib
index c3c877f..7edb62e 100644
--- a/doc/programming-2022/security.sbib
+++ b/doc/programming-2022/security.sbib
@@ -333,7 +333,7 @@ Thayer")
 /RelNotes/2.34.0.txt"))
 
 (misc courtes2016:authentication
-  (author "Ludovic Courtès, Guix contributors")
+  (author "Ludovic Courtès, GNU Guix contributors")
   (year "2016")
   (month "May")
   (url "https://issues.guix.gnu.org/22883";)
@@ -428,6 +428,16 @@ Jan Nieuwenhuizen")
   (note "Last accessed June 2022")
   (url "https://bootstrappable.org/";))
 
+(software courtes2022:programming-artifact
+  (author "Ludovic Courtès, GNU Guix contributors")
+  (title "Accepted Artifact for “Building a Secure Software Chain with GNU 
Guix”")
+  (month "June")
+  (year "2022")
+  (publisher "Zenodo")
+  (version "1.0")
+  (doi "10.5281/zenodo.6581453")
+  (url "https://doi.org/10.5281/zenodo.6581453";))
+
 #|
 (defun skr-from-bibtex ()
   "Vaguely convert the BibTeX snippets after POINT to SBibTeX."
diff --git a/doc/programming-2022/supply-chain.skb 
b/doc/programming-2022/supply-chain.skb
index 1cff514..2a2abfa 100644
--- a/doc/programming-2022/supply-chain.skb
+++ b/doc/programming-2022/supply-chain.skb
@@ -1003,8 +1003,9 @@ to trick users into getting stale revisions.]))
       
       (p [Channel authentication as described above is now used in
 production.  This section documents the reasoning behind some of the
-important implementation choices that we made and our early
-experience.])
+important implementation choices that we made and our early experience;
+a companion software artifact is available ,(ref :bib
+'courtes2022:programming-artifact).])
 
       (section :title [Commit Signatures]
         



reply via email to

[Prev in Thread] Current Thread [Next in Thread]