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

chore(tools/netlify): add DINI specs for preview #2748

Merged
merged 6 commits into from Feb 17, 2020

Conversation

sidvishnoi
Copy link
Member

No description provided.

"https://w3c.github.io/hr-time/",
],
DINI: [
"https://dini-ag-kim.github.io/oer-service-card/latest/",
Copy link
Member

Choose a reason for hiding this comment

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

@sebastian-meyer, just a heads up that we will be depending on these URLs. Is that ok?

Copy link
Member

Choose a reason for hiding this comment

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

@sebastian-meyer, just to be clear, to see this in action:

Screenshot_2020-02-13_11_28_16

And then, you see the below:

Screenshot 2020-02-13 11 30 21

Copy link
Member

Choose a reason for hiding this comment

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

As you add more important specs, we can add them here so you can check your profile.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, this will work only if you're using w3.org hosted ReSpec scripts.

Copy link
Collaborator

Choose a reason for hiding this comment

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

As far as I know the DINI profile isn't published to w3.org (at least I can't reach it via https://w3.org/Tools/respec/respec-dini), so we currently have a fork at https://github.com/dini-ag-kim/respec which is published via GitHub Pages. We then use the profile by referencing https://dini-ag-kim.github.io/respec/builds/respec-dini.js. Whenever there is a new release of ReSpec, we have to update our fork.

Alternatively, we could directly reference https://w3c.github.io/respec/builds/respec-dini.js, but I wasn't sure, if the GitHub Pages for this repo won't be turned off some day, and wanted to make sure, that linking to the profile would stay persistent.

Or is there any better way of handling this?

Copy link
Member Author

Choose a reason for hiding this comment

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

The DINI profile should've been published to w3.org as soon as we did the release. @marcoscaceres Can you check why it didn't?
https://w3c.github.io/respec/builds/respec-dini.js seems like a good alternative and I don't think the GitHub page will be turned off in a foreseeable future (without us letting know the users). I'll add support for the GitHub pages version in PR preview if we can't add it to w3.org

Copy link
Member

Choose a reason for hiding this comment

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

Can you check why it didn't?

It might be scoped to proxy only specific files on the w3c side. If we can use gh-pages as an alternative, then we probably should. I'd prefer not to put the profile on the w3c server unless we really have to... but if it's a huge pain, I can ask the W3C to mirror them (*.js and the source map).

Copy link
Collaborator

Choose a reason for hiding this comment

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

I am OK with using gh-pages. My only concern was having a persistent URL. As long as gh-pages isn't turned off for the w3c/respec Repo this is fine!

Copy link
Member Author

Choose a reason for hiding this comment

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

@sidvishnoi sidvishnoi merged commit 264cc6f into develop Feb 17, 2020
@sidvishnoi sidvishnoi deleted the netlify-preview-urls branch February 17, 2020 09:17
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.

None yet

3 participants