Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

test page preview #214

Closed
wants to merge 4 commits into from
Closed

test page preview #214

wants to merge 4 commits into from

Conversation

ocefpaf
Copy link
Member

@ocefpaf ocefpaf commented Aug 6, 2024

Note that, if this works, it won't work from a fork due to security reasons. That is why I'm sending this PR from ioos/ioos_code_lab instead. We need to think if this is worth it. The alternative is to use something like netfly but that will require another account, login, credentials, etc...

@ocefpaf ocefpaf marked this pull request as draft August 6, 2024 12:47
@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 8, 2024

The comment was not created but the temporary branch with the preview-changes was: a9b2ed1

@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 8, 2024

@MathewBiddle I wonder if this is worth pursing due to the limitations on how the preview will show up. Maybe netfly is the way to go here. What do you think?

@MathewBiddle
Copy link
Contributor

@ocefpaf could you provide a little more detail? Is this logged in an issue I could review?

It looks like your trying to add some feature called "preview" that...gives you a preview webpage of the intended changes?

A little more background would help me understand if this is something worth pursuing.

@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 8, 2024

@ocefpaf could you provide a little more detail? Is this logged in an issue I could review?

Sorry. This is such an old request that I let fall through the cracks but I'm trying to catch up with those now. The original issue is probably in the old version of this repository. Indeed this is about getting a page preview and we never got to it due to the complexities in commit rights.

Back when we had the Monday meetings we did touch based on netfly and how that service could generate these previews for us. However, it required managing another account and I'm not sure they have a free tier, so we dropped it.

This GHA alternative could work but then we would need to send all PRs from the main repo instead of a fork, which is not recommended.

TL;DR I'm inclined to look at netfly again but if that doesn't work. Abandon this and move to the next long standing issue. (Adding the many notebooks in draft PRs!)

@MathewBiddle
Copy link
Contributor

Do we need a preview? IMO the process using GHA builds quick enough that we can 'review' after major PRs are merged simply using the live website.

@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 8, 2024

Do we need a preview? IMO the process using GHA builds quick enough that we can 'review' after major PRs are merged simply using the live website.

This was an old request and I guess that revisiting it in the era of notebooks diffs on GH, no. We don't need a preview. The rare case where one would be required is is we start changing the page theme, etc. Our PRs here are mostly Markdown files and notebooks, all diffable now.

@MathewBiddle
Copy link
Contributor

Okay. I say we ditch this effort as no longer applicable.

@ocefpaf ocefpaf closed this Aug 9, 2024
@ocefpaf ocefpaf deleted the preview_page branch August 9, 2024 06:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants