Skip to content
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

Introduce links to CDEvents #139

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Introduce links to CDEvents #139

merged 1 commit into from
Mar 12, 2024

Conversation

xibz
Copy link
Contributor

@xibz xibz commented May 30, 2023

Changes

This commits introduces the concept of linking events to CDEvents. We take inspiration from Eiffel for certain components, and also outline new APIs and use cases.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

@afrittoli

This comment was marked as resolved.

links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
@e-backmark-ericsson

This comment was marked as outdated.

links.md Outdated Show resolved Hide resolved
@xibz xibz force-pushed the links branch 2 times, most recently from 29ac3fb to fb3b5e0 Compare July 17, 2023 20:53
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
e-backmark-ericsson

This comment was marked as outdated.

@xibz xibz force-pushed the links branch 2 times, most recently from d7f0f23 to 845e49a Compare August 21, 2023 21:53
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Show resolved Hide resolved
@xibz xibz force-pushed the links branch 2 times, most recently from dafe4b6 to 8c3a53e Compare August 24, 2023 18:23
Copy link
Contributor

@e-backmark-ericsson e-backmark-ericsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xibz, please don't overwrite the old commits when doing new ones. It becomes very time consuming to review the changes when there is nothing to compare the updates towards. We will anyway squash the commits when merging the PR eventually, so there should be no problem having many commits on the PR.

links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
@xibz

This comment was marked as duplicate.

@xibz

This comment was marked as resolved.

@e-backmark-ericsson

This comment was marked as resolved.

schemas/links/embeddedlinkrelation.json Show resolved Hide resolved
schemas/links/embeddedlinkrelation.json Outdated Show resolved Hide resolved
schemas/servicerolledback.json Outdated Show resolved Hide resolved
Copy link
Contributor

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the updates.
It mostly looks great, thank you. I'm still unconvinced by END links though.
There are some follow-up needed too, but not in this PR.

examples/artifact_published.json Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Show resolved Hide resolved
links.md Outdated Show resolved Hide resolved
schemas/artifactpublished.json Outdated Show resolved Hide resolved
schemas/links/embeddedlinkrelation.json Outdated Show resolved Hide resolved
@xibz xibz force-pushed the links branch 2 times, most recently from c2b9f37 to 83ff0cc Compare February 12, 2024 16:02
@afrittoli afrittoli added this to the v0.4 milestone Mar 4, 2024
@xibz xibz force-pushed the links branch 6 times, most recently from e27639e to fe56c24 Compare March 6, 2024 05:15
@afrittoli afrittoli changed the title introduce links to CDEvents Introduce links to CDEvents Mar 6, 2024
Copy link
Contributor

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @xibz - excited to see this ready to be merged!

@xibz xibz force-pushed the links branch 3 times, most recently from 512d8f1 to fc74d62 Compare March 12, 2024 09:57
This commits introduces the concept of linking events to CDEvents. We
take inspiration from Eiffel for certain components, and also outline
new APIs and use cases.

Signed-off-by: benjamin-j-powell <bjp@apple.com>

Cleanup the custom spellcheck dictionary

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>

Fix linting issues

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>

Fix references to link schemas

Make the references start with a / and include the whole
path relative to the main schema base URL.
See https://json-schema.org/understanding-json-schema/structuring#dollarref

Schemas from the PR may not be published yet, so adapt
the CI job to look for local files instead.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>

Fix wrong event versions

Artifact packaged and artifact published had the wrong
event versions. Return to v0.2.0-draft (which was already
bumped in this release. Examples already match.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Signed-off-by: xibz <impactbchang@gmail.com>
@afrittoli afrittoli merged commit e923f9b into cdevents:main Mar 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants