Juniper / contrail

Contrail repo for core components (go based)
Apache License 2.0
44 stars 32 forks source link

Schema management improvement #35

Open damianoneill opened 6 years ago

damianoneill commented 6 years ago

This section on the README.md –

_

Schema Files

Note that schema stored here is just a cache for helping development. Developers should make sure download latest schema from http://github.com/Juniper/contrail-api-client

JSON version stored in public/schema.json

_

If the intent is that the user always uses the latest schema managed under a different repository, why don’t you just use a git submodule for this?

nati commented 6 years ago

Contrail repos are under migration now. so I would like to use git subtree once main repo get ready

git sub tree: https://www.atlassian.com/blog/git/alternatives-to-git-submodule-git-subtree

damianoneill commented 6 years ago

I'm not opinionated on either option, other than it should be done rather than asking users to copy from a different repo.

nati commented 6 years ago

kk let's keep open this issue until this issue get fixed.