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

Validate package repo link exists #376

Open
ntjess opened this issue Feb 11, 2024 · 2 comments
Open

Validate package repo link exists #376

ntjess opened this issue Feb 11, 2024 · 2 comments

Comments

@ntjess
Copy link
Contributor

ntjess commented Feb 11, 2024

Description

Currently, packages can specify their repository in typst.toml, but this link is unvalidated (see Amelia-Mowers/typst-tabut#12 for an example)

It would be nice if one of the PR checks confirmed that URL-like fields in the config return valid status codes. As a bonus, if a link is broken, it would help maintainers notice this quickly if there was a visual indication on the packages webpage (e.g. a red slash through the link icon)

@laurmaedje
Copy link
Member

What would be needed for this is some sort of ephemeral check. Right now, full CI runs for all packages on every PR, so if a link was okay, but then became broken, CI would keep failing with no way to fix it.

@slashformotion
Copy link
Contributor

slashformotion commented Apr 7, 2024

Maybe a solution would be to detect which packages are being updated/changed and then only check if the homepage of thoses package is till available.

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

No branches or pull requests

3 participants