Open laroque opened 8 years ago
The installation scripts have been updated such as they will
git clone https://github.com/project8/dripline-python.git
and go to the associated sub-folders to pip install
and python setup.py install
I agree with Ben's suggestion to move the code into separate repos, and then create submodules until all of the necessary steps have been completed.
Should we consider adding the dripline version to the wire protocol? Each implementation would be responsible for knowing what version it implements and filling that in on the messages. We could even consider a standard for, for example, accepting messages only if the major version number matches.
The move of dripline-cpp into a its own repo is now complete: https://github.com/project8/dripline-cpp
There's an even easier way to move directories into separate repos. Apparently the git people are aware that this is a popular thing to do, so it was added to git at some point.
I also noticed that, while the extracted files retain their history, separate branches are lost. So using essentially the method described in my last comment, I extracted progress on a development branch and moved it to the language-specific repo:
I had local repos of dripline and dripline-go. Dripline had the branch feature/h2d, which I wanted to move to dripline-go.
cd dripline
# isolate the "go" directory after switching to the relevant branch
git checkout feature/h2d
git subtree split -P go -b go-only-h2d
# push the changes over to the dripline-go repository
git checkout go-only-h2d
git push /path/to/dripline-go go-only-h2d
# change the name of the branch and push it to github
cd ../dripline-go
git checkout go-only-h2d
git branch feature/h2d
git checkout feature/h2d
git push origin feature/h2d
The move of dripline-go into a its own repo is now complete: https://github.com/project8/dripline-go
All golang to-do items are now complete.
dripline-python is now mostly done. Insectarium untouched and should be done by someone familiar with it.
Everything looks good against a test of services running on claude.
Motivation
It can be messy to keep track of updates to different languages in the same repo. At times features in develop for one end up accidentally merged into master when another language generates a release. There are administrative solutions that would probably allow us to clean this up, but public repos are free and so we might as well just split each language into its own repo (with its own issues, language-specific docs, etc.).
Proposal
Notes