Subject: [bug#37413] [PATCH 9/9] DRAFT etc: Add channel news file.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 16 Sep 2019 00:21:06 +0200

DRAFT: Update commit ID before pushing.

* etc/news.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
---
 Makefile.am  |  1 +
 etc/news.scm | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 etc/news.scm

diff --git a/Makefile.am b/Makefile.am
index fe8aa3f52b..6fcd367d63 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -535,6 +535,7 @@ EXTRA_DIST +=						\
   .guix-channel						\
   scripts/guix.in					\
   etc/guix-install.sh					\
+  etc/news.scm						\
   build-aux/build-self.scm				\
   build-aux/compile-all.scm				\
   build-aux/hydra/evaluate.scm				\
diff --git a/etc/news.scm b/etc/news.scm
new file mode 100644
index 0000000000..a0a5e15766
--- /dev/null
+++ b/etc/news.scm
@@ -0,0 +1,13 @@
+;; GNU Guix news, for use by 'guix pull'.
+
+(channel-news
+ (version 0)
+ (entry (commit "ddbc4977068ac273127f98321956c807ae030cf1")
+        (title ("en" "New channel news mechanism")
+               ("fr" "Nouveau mécanisme d'information sur les canaux"))
+        (body
+         ("en" "You are reading this message through the new channel news
+mechanism, congratulations!  This mechanism allows channel authors to provide
+@dfn{news entries} that their users can view with @command{guix pull}.  Run
+@command{info \"(guix) Invoking guix pull\"} for more info.")
+         ("fr" "Vous lisez ce message à travers bla bla bla FIXME"))))
-- 
2.23.0