Make lychee check news fragments for broken links

Open
#246 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions

Research direction

Start with pull request #245, which removed the news fragment link check, and the CI linkcheck step that caused the failures. The issue proposes running lychee on the news fragments only, and checking docs/release-notes/index.md during the towncrier release. Maintainers have not yet agreed on the approach, so confirm it in the thread first. Done means a CI check on fragment links that does not block unrelated merges.

Written by the indexing model from the issue text.

Description

In https://github.com/plone/aurora/pull/245 I removed checking the news fragments for valid links and Sphinx references because linkcheck would fail in the CI and block merges.

To address this issue:

  1. Lychee can check the news fragments for links only. I can create that PR.
  2. When making a release from the fragments using towncrier, the release manager can verify that docs/release-notes/index.md doesn't create any errors. On pull requests after a new release, if there are any problems, then CI will complain.

@sneridagh @pnicolli what do you think?

Dominant language
JavaScript
Stars
10
Forks
9
Avg merge
4d 7h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/aurora

All issues in plone/aurora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.