onflow / flixkit-go

Apache License 2.0
0 stars 2 forks source link

Publish flix to service #11

Open bthaile opened 10 months ago

bthaile commented 10 months ago

This would have to be a manual process.

Support user in publishing generated or updated flix to interaction template service.

chasefleming commented 10 months ago

Does this make a PR to a service repo?

JeffreyDoyle commented 10 months ago

We could consider adding functionality to the FLIX API to allow clients to submit new Interaction Templates to it, though we'd need to sketch out how that'd work safely.

A cheap win would be for it to open a PR to the FLIX API repo https://github.com/onflow/flow-interaction-template-service to add the new template.

chasefleming commented 10 months ago

Problem with the PR method though is that flixkit has no authentication, so I'm not sure how you'd make a PR to a repo with the Github API. And there is no guarantee that Github is where a repo for an auditor or service may live. You could push it with shell commands if someone was logged in locally. But you can't make a PR with shell commands. And this is easy to do with a developers normal process. I'm not sure this feature is necessary enough to necessitate this. Might close this one.