mbox series

[bug#37413,v2,00/11] Channel news distribution mechanism

Message ID 20190921211228.13096-1-ludo@gnu.org
Headers show
Series Channel news distribution mechanism | expand

Message

Ludovic Courtès Sept. 21, 2019, 9:12 p.m. UTC
Hello!

Here’s an updated version that addresses some of the issues that
were raised and some of those that weren’t even raised.

Changes compared to v1:

  • If the news format version is incompatible, silently ignore it
    instead of raising an error.

  • Language tags in the news file are now symbols instead of
    strings.  Thus, xgettext can readily be used:

       xgettext -ken -l scheme etc/news.scm

  • News entries can refer to a tag instead of a commit, as suggested
    by Ricardo.

  • ‘guix pull’ shows news titles when there are news.  (In v1 you’d
    have to explicitly run ‘guix pull --news’ to see if there are
    news.)

Thoughts?

I’ll go with that if there are no objections.

Thanks,
Ludo’.

Ludovic Courtès (11):
  pull: '--news' shows the list of channels added or removed.
  git: 'update-cached-checkout' avoids network access when unnecessary.
  git: Add 'commit-difference'.
  channels: Add support for a news file.
  channels: Allow news entries to refer to a tag.
  ui: Add 'current-message-language'.
  pull: Display channel news.
  pull: '-l' displays channel news.
  pull: Display news titles directly upon 'pull'.
  Add '.guix-channel' file.
  DRAFT etc: Add channel news file.

 .dir-locals.el        |   1 +
 .guix-channel         |   5 ++
 Makefile.am           |   8 +-
 doc/guix.texi         |  73 ++++++++++++++++-
 etc/news.scm          |  23 ++++++
 guix/channels.scm     | 145 ++++++++++++++++++++++++++++++--
 guix/git.scm          |  58 ++++++++++++-
 guix/scripts/pull.scm | 186 +++++++++++++++++++++++++++++++++++++++---
 guix/tests/git.scm    | 105 ++++++++++++++++++++++++
 guix/ui.scm           |  18 ++++
 tests/channels.scm    | 104 +++++++++++++++++++++++
 tests/git.scm         |  99 ++++++++++++++++++++++
 12 files changed, 798 insertions(+), 27 deletions(-)
 create mode 100644 .guix-channel
 create mode 100644 etc/news.scm
 create mode 100644 guix/tests/git.scm
 create mode 100644 tests/git.scm