-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Deploying datapackage with Cloudflare Pages
|
Hi @peterdesmet, I was going back and forth on this, and in the end, I highly simplified the approach to the state similar to what we have in v1 but improving explanations and definitions. The main changes are:
|
For example, if profiles are idempotent, we can safely release e.g. At the same time, idempotency might be too strict as it prevents implicit bug-fixing in the profiles and providing new, non-breaking features. So another option would be switching from |
I think I prefer idempotent (immutable) to non-breaking: it makes the text pretty clear and indicates to extension authors that you should be careful not to release versions that are inherently broken. 😅 That's why we used a release candidate for Camtrap DP, making it clear that any data artefact using that is experimental. |
Co-authored-by: Peter Desmet <[email protected]>
Thanks @peterdesmet! I've updated it based on your comments. I think immutability is definitely the most straightforward way, as it enables worry-free caching and, in general, a really simple concept on both sides (standard/extensions -> implementations) |
I believe immutable is indeed what we want here. Unless I'm misunderstanding something, I don't believe the term idempotent is appropriate in this case (that has a very specific mathematical definition, and I don't see how it applies here). |
ACCEPTED by WG (6/9) |
I love this. Awesome work. 👌 |
Overview
It's the beginning of the pull request that might bring versioning to Data Package specification descriptors as well as simplify and fix some other parts of the standard.
Currently, it's been created to get feedback on the new
$schema
property that allows versioning and hopefully will allow us to employ native JSON Schema for handling basically all the metadata aspects in the standard (PR needs to be extended to get there).One of examples of how we can benefit from closer JSON Schema integration, by using
$schema
we get free visual descriptor validation in many modern text editors:Deployment preview: