-
Notifications
You must be signed in to change notification settings - Fork 501
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
Add Validation + Checks to markdown PRs #1538
Comments
Is this something you are working on or just documenting. |
Just documenting, feel free tot take it on ! Github actions are pain. Worth checking out https://github.com/nektos/act |
A few more from this morning's scramble:
|
Making these into a todo list
|
Going to merge the first 2 of these checks and then add on the others. |
Just merged timestamp validation |
Another thing we should add is making sure the mp3 is only 128kbs bitrate, and/or the file size is not over ~70mb. We had released one that was 128mb and it was causing timeouts on the transcript generation. We already have ffmpeg wasm package installed, so we could check that way, but honestly checking the filesize would be good enough too. |
@stolinski This markdown: * **[32:15](#t=32:15)** Is ChatGPT Plus worth it? I'm trying to avoid death by 1000 subscriptions.
* [Mozilla’s vision for Firefox MV3](https://blog.mozilla.org/addons/2022/11/17/manifest-v3-signing-available-november-21-on-firefox-nightly/ is thinking those numbers in the urls are timestamps |
@stolinski happened again here |
Will examine 🤔 need to tweak the regex looking for times. |
I think the regex might be wrong on purpose for testing? https://github.com/syntaxfm/website/blob/main/scripts/merging-show-validation.js#L31 IMO I'd parse the show notes, and then feed it into |
Def not wrong on purpose. Just too broad
Scott Tolinski
www.scotttolinski.com ( http://www.scotttolinski.com/ )
…On Fri, Mar 1 2024 at 1:59 PM, Wes Bos < ***@***.*** > wrote:
I think the regex might be wrong on purpose for testing? https://github.com/syntaxfm/website/blob/main/scripts/merging-show-validation.js#L31
IMO I'd parse the show notes, and then feed it into linkedom , then you can
just document.querySelector( [href^="#t="]` to get all the correct links
instead of regexing everything
—
Reply to this email directly, view it on GitHub (
#1538 (comment) ) ,
or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAFDNR23Z635AEVNG7P6PZ3YWDT2BAVCNFSM6AAAAABC6NYW52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTHEYTAMRWHA
).
You are receiving this because you were mentioned. Message ID: <syntaxfm/website/issues/1538/1973910268
@ github. com>
|
That said query selector all is probably the right call because it’s so targeted
Scott Tolinski
www.scotttolinski.com ( http://www.scotttolinski.com/ )
…On Fri, Mar 1 2024 at 1:59 PM, Scott Tolinski < ***@***.*** > wrote:
Def not wrong on purpose. Just too broad
Scott Tolinski
www.scotttolinski.com ( http://www.scotttolinski.com/ )
On Fri, Mar 1 2024 at 1:59 PM, Wes Bos < ***@***.*** > wrote:
>
>
>
>
>
>
> I think the regex might be wrong on purpose for testing? https://github.com/syntaxfm/website/blob/main/scripts/merging-show-validation.js#L31
>
>
>
>
> IMO I'd parse the show notes, and then feed it into linkedom , then you can
> just document.querySelector( [href^="#t="]` to get all the correct links
> instead of regexing everything
>
>
>
> —
> Reply to this email directly, view it on GitHub (
> #1538 (comment) ) ,
> or unsubscribe (
> https://github.com/notifications/unsubscribe-auth/AAFDNR23Z635AEVNG7P6PZ3YWDT2BAVCNFSM6AAAAABC6NYW52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTHEYTAMRWHA
> ).
> You are receiving this because you were mentioned. Message ID: <syntaxfm/website/issues/1538/1973910268
> @ github. com>
>
>
>
|
Yeah, plus rendering the markdown will also tell us if the markdown will render on the site. Easy way to detect any issues |
We need to create a github action that does validation on the markdown files when we PR them. This way we can merge with confidence.
I've done this in the past with my uses.tech site: https://github.com/wesbos/awesome-uses/blob/master/.github/workflows/data-validate.yml
So, things that should be checked:
Just trying to think of others
The text was updated successfully, but these errors were encountered: