forked from toolshed/abra
		
	WIP: gather more meta for catalogue generation
This commit is contained in:
		| @ -89,10 +89,21 @@ var catalogueGenerateCommand = &cli.Command{ | ||||
| 		} | ||||
|  | ||||
| 		catl := make(catalogue.RecipeCatalogue) | ||||
| 		for recipeName := range repos { | ||||
| 			// TODO: gather more metadata | ||||
| 			catl[recipeName] = catalogue.RecipeMeta{ | ||||
| 				Name: recipeName, | ||||
| 		for _, recipeMeta := range repos { | ||||
| 			if recipeName != "" && recipeName != recipeMeta.Name { | ||||
| 				continue | ||||
| 			} | ||||
| 			if _, exists := CatalogueSkipList[recipeMeta.Name]; exists { | ||||
| 				continue | ||||
| 			} | ||||
|  | ||||
| 			catl[recipeMeta.Name] = catalogue.RecipeMeta{ | ||||
| 				Name:          recipeName, | ||||
| 				Repository:    recipeMeta.CloneURL, | ||||
| 				DefaultBranch: recipeMeta.DefaultBranch, | ||||
| 				Description:   recipeMeta.Description, | ||||
| 				Website:       recipeMeta.Website, | ||||
| 				Versions:      nil, // FIXME: once the new versions work goes down | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user