Subject: [PATCH] templates: Suggest a specification example that works on ci.guix.gnu.org

From: Leo Famulari <[email-masked]>
Date: Mon, 13 Dec 2021 18:08:43 -0500

The specification used to build our master branch was renamed from
"guix-master" to "master".

* doc/cuirass.texi (API description): Change "guix-master" to "master".
* src/cuirass/templates.scm: Change "guix-master" to "master".
---
 doc/cuirass.texi          | 2 +-
 src/cuirass/templates.scm | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/cuirass.texi b/doc/cuirass.texi
index 3b529ac..db46a33 100644
--- a/doc/cuirass.texi
+++ b/doc/cuirass.texi
@@ -737,7 +737,7 @@ $ curl -s "http://localhost:8080/api/evaluation?id=1" | jq
 
 @{
   "id": 1,
-  "specification": "guix-master",
+  "specification": "master",
   "status": 0,
   "timestamp": 1615289011,
   "checkouttime": 1615289011,
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 3cfe5ee..e70d42b 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -95,7 +95,7 @@
           (p "You can limit the search results with the following keywords:")
           (ul
            (li (code "spec")
-               ", a " (em "specification") " such as " (code "guix-master"))
+               ", a " (em "specification") " such as " (code "master"))
            (li (code "system")
                ", a build for the given " (em "target system")
                " such as " (code "x86_64-linux"))
@@ -108,9 +108,9 @@
                (code "failed-other") ", or "
                (code "canceled") "."))
           (p "For example, the following query will list successful builds of
-the " (code "guix-master") " specification for the " (code "i686-linux") "
+the " (code "master") " specification for the " (code "i686-linux") "
 system whose names start with " (code "guile-") ":" (br)
-(code "spec:guix-master system:i686-linux status:success guile-")))))
+(code "spec:master system:i686-linux status:success guile-")))))
 
 (define* (html-page title body navigation
                     #:optional query
-- 
2.34.0