pa-wills / Home-Assistant-Config

This is my Home Assistant config repo. Just yamls at this very early stage.
0 stars 0 forks source link

Need to reinstate Escea #47

Open pa-wills opened 4 years ago

pa-wills commented 4 years ago

The main issue I see is - how do we import that sub-repo in a way that is less crude that a raw copy-paste. A copy-paste WILL WORK, yet it's crude as hell. What happens if the dude ever updates his repo? Also, it feels less than cool to just copy-paste without some sort of attribution.

So, submodules seems to be an option: https://gist.github.com/Noitidart/7af2e120bb83e2be9aa4cc3ca0a37722 https://github.blog/2016-02-01-working-with-submodules/ https://git-scm.com/book/en/v2/Git-Tools-Submodules

pa-wills commented 4 years ago

Ok, I reckon this is a loser. I can't make it line up on the right directory, so what's the point? I think more to the point - I need some kind of make file, similar to the travis.yaml. It should go mkdir the directory in question, and then clone the repository, and then leave it at that.