Exemple #1
0
func Get(ctx context.Context, releases ...Release) gonzo.Pipe {

	var all []gonzo.Pipe
	for _, release := range releases {
		all = append(all, get(ctx, release))
	}
	return util.Merge(ctx, all...)
}
Exemple #2
0
func Get(ctx context.Context, pkgs ...pkg.Package) gonzo.Pipe {

	var all []gonzo.Pipe
	for _, pkg := range pkgs {
		if pkg.Dist.Tarball == "" {
			ctx.Info("EMPTY", pkg.Name)
			continue
		}
		all = append(all, get(ctx, pkg))
	}
	return util.Merge(ctx, all...)
}