From 7b349732ac4e0129cc8ef3c57dd04e1008f8b69a Mon Sep 17 00:00:00 2001
From: decentral1se <lukewm@riseup.net>
Date: Mon, 20 Sep 2021 16:53:49 +0200
Subject: [PATCH] fix: fix name and doc exceptions for catalogue generation
---
cli/catalogue/generate.go | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/cli/catalogue/generate.go b/cli/catalogue/generate.go
index 524527ea6..2d97d95e8 100644
--- a/cli/catalogue/generate.go
+++ b/cli/catalogue/generate.go
@@ -99,12 +99,15 @@ var catalogueGenerateCommand = &cli.Command{
}
catl[recipeMeta.Name] = catalogue.RecipeMeta{
- Name: recipeName,
+ Name: recipeMeta.Name,
Repository: recipeMeta.CloneURL,
+ Icon: recipeMeta.AvatarURL,
DefaultBranch: recipeMeta.DefaultBranch,
Description: recipeMeta.Description,
Website: recipeMeta.Website,
- Versions: nil, // FIXME: once the new versions work goes down
+ // Versions: ..., // FIXME: once the new versions work goes down
+ // Category: ..., // FIXME: once we sort out the machine-readable catalogue interface
+ // Features: ..., // FIXME: once we figure out the machine-readable catalogue interface
}
}