-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change how we do CKAN metadata versioning. #229
Comments
Do we have the ability to do side by side versions of the dll? Probably not Idea put on table, dismissed.
|
If we have validation errors with metadata, we just skip that file and move on. This allows us to read from repos that have metadata intended for future clients, while still being able to use the metadata for older clients. Closes KSP-CKAN#229.
If we have validation errors with metadata, we just skip that file and move on. This allows us to read from repos that have metadata intended for future clients, while still being able to use the metadata for older clients. Closes KSP-CKAN#229.
Right now we have a mandatory
spec_version
field, which is always1
. It has never been updated, and I don't think it's really fulfilling its intended purpose.I think we should change this to specify the minimum version of the
ckan.dll
required for the file to operate correctly. This means that:Clients should ignore metadata for versions higher than themselves. Dev clients may (and probably will) accept future versions, which means we can do testing.
The downside is that we're now targeting a version of code rather than a version of the spec. However the code and the spec live in the same repository and share the same tags, so I don't imagine this will be a problem for some time. In most cases, we want to encourage people to write documents for the minimum
ckan.dll
version that will support them. (On release, we'll encourage everyone to target1.0
)The text was updated successfully, but these errors were encountered: