First prototype of this functionality
We can hand define this library publish configuration file:
{
"prefix" : "HTTP",
"label" : "#http #client #server. This library implements a HTTP(S) client which...",
}
This goes into the directory of a library.
A consumer of the library would have 2 extra fields:
commitid - Unique git commit id for the version of the code
git - url of the git repo
We build code which can look at the GIT repos we have registered in the list of GIT repos configured for a Product X instance, then:
We have a button in the translator to bring up a list of importable libraries
The user can select a library which will then result in this action happening:
Checks out a clone of the neuron containing the code into a temp directory
Copies the files into our current neuron
Deletes the working copy clone.
Â