thinktandem / tandem

All the things that power the Tandem engine
https://thinktandem.io/
4 stars 2 forks source link

Create a plugin delivery mechanism eg a bash script. #85

Closed serundeputy closed 5 years ago

serundeputy commented 5 years ago

What is to be done?

Context of the Problem

Tandem intends to be able to deliver contrib plugins to Lando users. In the long term we'll need public infrastructure for this ecosystem. In the short term Tandem will dogfood this mechanism with a smaillish roll out of some automation of some tasks that we know we always have to repeat across projects, e.g. spin up devs on existing projects, create new projects, integrate our projects with other services like github, p.sh, travis, etc.

Scope of this Card: Plugin Delivery Mechanism

With that context in mind the first step is a mechanism to deliver plugins to Lando users. The initial PoC is a bash script that can provide a simple way to Lando users to specify a name of a plugin and have it downloaded to there machine in a place that Lando recognnizes and will then expose the features (commands) of that plugin to the Lando user in question.

image

this bash script lives here: https://github.com/thinktandem/lando-tandem/blob/master/getPlugin.sh

TODO: Proposed Architecture

curl -Ls <onTheInternetURLTo/getPlugin.js> --name <PLUGIN_MACHINE_NAME>

Task checklist

Next steps(s)

Once we have the plugin delivery script follow ups are likely to be to create cards for new plugins Tandem wishes to develop.

pirog commented 5 years ago

@serundeputy just to clearly scope this a bit better. We are not trying to create a mechanism to delivery ANY plugin. We are writing a script that Tandem devs can use to get the Tandem plugin.

Eventually we might abstract, generalize, etc as part of a broader lando plugin install thing but lets not overcomplicate for now!

serundeputy commented 5 years ago

Great; so essentially we are done here and can move onto #86 which could probably use some help with scope as well.

Unless we want to get that packaging/release thing happening that happens in hyperdrive and allows the script to be easily run from the internet.

pirog commented 5 years ago

@serundeputy so before we get ahead of ourselves i think we probably want to take a step back and ask some important but less exciting questions around the management, devops, etc of this repo. Probably best to do that next time we meet!