fix: fix name and doc exceptions for catalogue generation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-09-20 16:53:49 +02:00
parent a8ce64a9db
commit 7b349732ac
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -99,12 +99,15 @@ var catalogueGenerateCommand = &cli.Command{
} }
catl[recipeMeta.Name] = catalogue.RecipeMeta{ catl[recipeMeta.Name] = catalogue.RecipeMeta{
Name: recipeName, Name: recipeMeta.Name,
Repository: recipeMeta.CloneURL, Repository: recipeMeta.CloneURL,
Icon: recipeMeta.AvatarURL,
DefaultBranch: recipeMeta.DefaultBranch, DefaultBranch: recipeMeta.DefaultBranch,
Description: recipeMeta.Description, Description: recipeMeta.Description,
Website: recipeMeta.Website, 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
} }
} }