[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deliver important Guix changes to users, please
From: |
Ludovic Courtès |
Subject: |
Re: Deliver important Guix changes to users, please |
Date: |
Tue, 16 Apr 2019 22:30:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Tobias Geerinckx-Rice <address@hidden> skribis:
> Ludovic Courtès wrote:
>> I suppose we could use some specially-formatted Git commits to pass
>> messages to users. I’m afraid it would be hard to get those
>> messages
>> translated.
>
> I beg you not to do this, even as fodder for a friendly front
> end. Just use a structured text file. Add dates. Affected
> packages. Metadata. Hell, use sexps if you like. Fix typos/add
> caveats to old news items when needed, not through errata commits.
> Don't confuse git log with a log like some people confuse git blame
> with comments.
The interesting part here is that commits are anchored in the version
control history. Thus, you could easily tell whether a news item is
relevant or not.
If you store news separately, well I guess you could just write the
commit to which the news item applies.
Hmm, maybe you’re right!
So we could have, say:
.news/[0-9]+.news (every other file would be ignored)
and then some sexp format, say:
(news
(entry
(title "GDM is now the default")
(commit "cabba9e")
(body "Hey, GDM’s in the house!"))
(entry
(title "News are here")
…))
and we could maybe even have a PO file for this.
How does that sound?
(Probably post 1.0, but worth discussing.)
Ludo’.