public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-appstream-metadata] rawhide: update-appstream-metadata: Relax entry type check
@ 2026-10-02 9:36
0 siblings, 0 replies; only message in thread
From: @ 2026-10-02 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-appstream-metadata
Branch : rawhide
Commit : 98ba5c62ad7f6acba289b9a70aff9dcb880672fc
Author : Timothée Ravier <tim@siosm.fr>
Date : 2026-10-02T11:35:21+02:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-appstream-metadata/c/98ba5c62ad7f6acba289b9a70aff9dcb880672fc?branch=rawhide
Log:
update-appstream-metadata: Relax entry type check
For F44, the Current Final Target date is a Task, not a Milestone.
---
diff --git a/update-appstream-metadata.go b/update-appstream-metadata.go
index e7b0662..06c3b1c 100644
--- a/update-appstream-metadata.go
+++ b/update-appstream-metadata.go
@@ -178,7 +178,7 @@ func isValidURL(url string) bool {
func getStartDateRecursive(tasks []Tasks) string {
for _, t := range tasks {
- if t.Name == "Current Final Target date" && t.Type == "Milestone" {
+ if t.Name == "Current Final Target date" && (t.Type == "Milestone" || t.Type == "Task") {
res, err := strconv.Atoi(t.Start)
if err != nil {
log.Fatal(err)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-02 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 9:36 [rpms/fedora-appstream-metadata] rawhide: update-appstream-metadata: Relax entry type check
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox