public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-appstream-metadata] rawhide: update-appstream-metadata: Drop logic for release < 40
Date: Fri, 13 Nov 2026 11:51:17 GMT [thread overview]
Message-ID: <179457067757.1.15271788470179958904.rpms-fedora-appstream-metadata-85f0e6bcd12c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-appstream-metadata
Branch : rawhide
Commit : 85f0e6bcd12c4e6eb4d409c27a9c8041faea8c1a
Author : Timothée Ravier <tim@siosm.fr>
Date : 2026-11-11T21:43:34+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-appstream-metadata/c/85f0e6bcd12c4e6eb4d409c27a9c8041faea8c1a?branch=rawhide
Log:
update-appstream-metadata: Drop logic for release < 40
---
diff --git a/update-appstream-metadata.go b/update-appstream-metadata.go
index 551f095..f4b905e 100644
--- a/update-appstream-metadata.go
+++ b/update-appstream-metadata.go
@@ -321,11 +321,7 @@ func main() {
}
} else if c.Status == "Active" || c.Status == "EOL" {
r.Type = "stable"
- if version < 40 {
- r.Description.P = fmt.Sprintf("https://fedoramagazine.org/announcing-fedora-%s/", c.Version)
- } else {
- r.Description.P = fmt.Sprintf("https://fedoramagazine.org/announcing-fedora-linux-%s/", c.Version)
- }
+ r.Description.P = fmt.Sprintf("https://fedoramagazine.org/announcing-fedora-linux-%s/", c.Version)
} else {
log.Fatal("Should never be reached")
}
reply other threads:[~2026-11-13 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179457067757.1.15271788470179958904.rpms-fedora-appstream-metadata-85f0e6bcd12c@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox