-
Notifications
You must be signed in to change notification settings - Fork 23
Pick schemas up directly from repo #101
Comments
Created matching issue ga4gh/ga4gh-server#660 |
I think it would offer a better user experience if we automatically copy the schemas to some well-known place when they're built (or tagged, maybe), and let developers pull them when needed. I've created havoc for myself a couple of times by copying the schema files into my local compliance or server branches, only to discover some conflict (in the test data, say) that stopped me. If the copy could happen automatically/behind my back, I'd be even more confused, more often. I have some thoughts about where we could push the schema files. That said, we may want to wait to tackle this until the whole Avro/Protobuf conversion is out of the way. |
the well know place is github. Ideally it would happen given a repo+ tag/branch. That would make if far easier for developers to work in their own branches. A 4th repo, containing the build system that pulls and build the whole system is something to consider. There are multiple systems built on git like this, for instance, Android has one. |
I'm not sure how we'd do this --- have we a rough outline of how this would work? Would this pull down the schemas fresh on mvn install or whatever? |
I would have a build repo that has a mvn that does it all. I am not sure if submodules would work, because the submodule is tied I believe the Android repo facility address just this problem:
Jerome Kelleher [email protected] writes:
|
Herb and Maciek will be proposing a system for building all three repos that handles the needs of developer working on topic branches as well as building official release. |
At the very least we should have a single place in the compliance suite where the version number of the schemas is sourced. As currently stands, I had to grep some 20 files to update this in PR #138 |
Per @sarahhunt's suggestion in PR #27, re-architect so that the schemas are freshly loaded from the official GitHub repo every time the compliance suite is built. This would greatly aid in automating a continuous integration workflow between all three repos.
The text was updated successfully, but these errors were encountered: