Open arnisoph opened 9 years ago
Value of JSON-LD:
{'type:'@id'}
thanks for your thoughts! it might be reasonable to implement dependency management outside of gathergit (which I need for simple git repo compilation for Salt and Puppet).
I plan to have (at least) two ways to deploy Salt/ Puppet environments:
Defining a metadata scheme will require some user discussions to get as many people as possible to use this scheme.
On Tue, Aug 11, 2015 at 4:27 PM, Arnold Bechtoldt notifications@github.com wrote:
I plan to have (at least) two ways to deploy Salt/ Puppet environments:
- pinning versions in https://github.com/bechtoldt/GatherGit/blob/master/config.dist/deployments.yaml
- intelligent dependency resolution using a -more or less- well known package format that can be handled by the most of the Salt users
Defining a metadata scheme will require some user discussions to convince as many people as possible to use this scheme.
.json/.jsonld with {'name':'str', 'dependencies': ['uri1', 'name2']}
I wrote pyrpo, probably for a similar purpose (some things are not in git and I'd rather not fork): https://github.com/westurner/pyrpo (* [ ] submodules and -C, * [ ] partially-initialized commands whch error, https://github.com/westurner/pyrpo/issues )
You could probably easily generate a .yaml with pyrpo.
— Reply to this email directly or view it on GitHub https://github.com/bechtoldt/GatherGit/issues/3#issuecomment-130083243.
The Salt Package Manager might be a solution for this issue in the future. I think it's still in a very early state. I'll file some feature requests.. :)
https://github.com/saltstack/salt/issues/24896 (PR) https://github.com/saltstack/salt/issues/25210 https://github.com/saltstack/salt/issues/25211
So, TBH, I think JSON-LD would be preferable here. (in order to avoid needing to run setup.py; but do we need to reimplement python/conda packaging?)
Probably wouldn't even need an JSON-LD lib with a defined formula schema vocabulary context.