Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1ec35ee
Fix ARC festival link.
samcunliffe Sep 11, 2026
fbd5387
Correct working directory.
samcunliffe Sep 11, 2026
62d639b
Try prefix
samcunliffe Sep 11, 2026
e5dd665
Revert accidental change from other branch.
samcunliffe Sep 11, 2026
9893b3b
Working directory as expected by the lychee-action
samcunliffe Sep 11, 2026
16a6b93
Fix one link.
samcunliffe Sep 11, 2026
d2e9a7b
Rootdir option works, but a lot of theme links are broken in a differ…
samcunliffe Sep 11, 2026
fb22f1a
Debug with tmate.
samcunliffe Sep 11, 2026
3e890bb
Revert "Rootdir option works, but a lot of theme links are broken in …
samcunliffe Sep 11, 2026
f4f6da2
Merge branch 'main' into sc/fix-link-checker
samcunliffe Sep 11, 2026
e00c97f
Remove tmate.
samcunliffe Sep 11, 2026
a6d925d
Gymnastics.
samcunliffe Sep 11, 2026
c287f94
Suppress all upsream theme bugs.
samcunliffe Sep 11, 2026
6fa9283
Fix rootdir.
samcunliffe Sep 11, 2026
3501f30
Yet another link decay in the breakfast club notes.
samcunliffe Sep 11, 2026
858dbdc
Typo.
samcunliffe Sep 11, 2026
b7e142a
Try posting a comment.
samcunliffe Sep 11, 2026
e79c6b9
Run on failure.
samcunliffe Sep 11, 2026
26ec8ed
.
samcunliffe Sep 11, 2026
5813805
Need PR write, of course.
samcunliffe Sep 11, 2026
7e8adb6
More bugs in the theme to ignore
samcunliffe Sep 11, 2026
d496aa7
Make the title better.
samcunliffe Sep 11, 2026
0729dff
Add a success comment.
samcunliffe Sep 11, 2026
2c27902
Trivial typos
samcunliffe Sep 11, 2026
0ecd442
Fix the sed.
samcunliffe Sep 11, 2026
adb5f7f
Fix job-scope permissions
samcunliffe Sep 14, 2026
4ef29f5
Trinity College Dublin's OSPO is 404.
samcunliffe Sep 15, 2026
59d6217
A less dangerous ignore rule, and include status 202 as a success.
samcunliffe Sep 15, 2026
7d03e74
Temporarily suppress the broken link until #90 gets merged.
samcunliffe Sep 15, 2026
8bfcfce
Fix the regex.
samcunliffe Sep 15, 2026
cfb82d7
Another old festival link.
samcunliffe Sep 15, 2026
bfba267
Yet another broken festival link.
samcunliffe Sep 15, 2026
d26b05a
Seed fund link is dead.
samcunliffe Sep 15, 2026
8b2b2a5
Can't parse comments.
samcunliffe Sep 15, 2026
2abbb27
Just exclude software heritage.
samcunliffe Sep 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

link-checker:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -72,6 +75,23 @@ jobs:
with:
# nice to check a few specific root-level markdown files (README.md etc) for valid links,
# but the main thing to check is the rendered website (in the `open-source` directory)
args: "--github-token ${{ secrets.GITHUB_TOKEN }} -- README.md CONTRIBUTING.md open-source/"
args: "--github-token ${{ secrets.GITHUB_TOKEN }} --root-dir . -- README.md CONTRIBUTING.md open-source/"
fail: true
jobSummary: true
output: lychee-output.md
- name: Change the output title to "Link checker summary"
if: failure()
run: sed -i '1s/.*/# Link checker summary/' lychee-output.md
- name: Add Link Checker summary comment
uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: (github.event_name == 'pull_request') && failure()
with:
header: link-checker-summary
recreate: true
path: lychee-output.md
- name: A nice comment when/if the link checker passes
uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: (github.event_name == 'pull_request') && success()
Comment thread
samcunliffe marked this conversation as resolved.
with:
header: link-checker-summary
message: "The link checker has passed successfully :tada:! No broken links were found."
2 changes: 1 addition & 1 deletion _data/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
location: 90 High Holborn, Function Space
- title: First contribution to open-source software workshop
organiser: ARC
url: https://www.ucl.ac.uk/advanced-research-computing/events/2025/jul/festival-digital-research-innovation-scholarship
url: https://www.ucl.ac.uk/research-innovation/advanced-research-computing/digital-research-community-events-and-support/events/festival-digital-research-innovation-scholarship-2025
date: 2025-07-15
time: "13:30"
duration:
Expand Down
4 changes: 2 additions & 2 deletions _data/ospo/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
202507OSSfirst:
date: 2025-07-15
title: "First contribution to open-source software workshop"
url: https://www.ucl.ac.uk/advanced-research-computing/events/2025/jul/festival-digital-research-innovation-scholarship
url: https://www.ucl.ac.uk/research-innovation/advanced-research-computing/digital-research-community-events-and-support/events/festival-digital-research-innovation-scholarship-2025
event: ARC Festival of Digital Research, Innovation & Scholarship
event_url: https://www.ucl.ac.uk/advanced-research-computing/events/2025/jul/festival-digital-research-innovation-scholarship
event_url: https://www.ucl.ac.uk/research-innovation/advanced-research-computing/digital-research-community-events-and-support/events/festival-digital-research-innovation-scholarship-2025
Comment thread
samcunliffe marked this conversation as resolved.
results: ✅
# FIXME: add [data]
202411TTW:
Expand Down
2 changes: 1 addition & 1 deletion _data/ospo/proposals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
title: Open Research Leadership Development - Preparing researchers to nurture healthy communities.
link:
funding: UCL Research Culture Seed Funds
link_call: https://www.ucl.ac.uk/research/strategy-environment/research-culture-ucl/get-involved/research-culture-seed-fund
link_call:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Screenshot 2026-09-15 at 10 56 38

The rendered page links to itself. Which is probably out of scope to fix for this PR. If a link_call is not provided, it should simply write the name of the cal in plain text.

result: ❌
2 changes: 1 addition & 1 deletion _data/ospo/submissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
title: "What is an OSPO and why do we need one in UCL?"
link:
event: "ARC's Festival of Digital Research, Innovation & Scholarship"
event_link: https://www.ucl.ac.uk/advanced-research-computing/events/2024/jun/festival-digital-research-scholarship
event_link: https://www.ucl.ac.uk/research-innovation/advanced-research-computing/digital-research-community-events-and-support/events/festival-digital-research-scholarship-2024
result: >-
202406UCLOSci:
Expand Down
22 changes: 21 additions & 1 deletion lychee.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
accept = [200, 403, 415, 429]
accept = [200, 202, 403, 415, 429, 999]
verbose = "info"
no_progress = true
exclude = [
'https://www.softwareheritage.org', # Their SSL certificate is not trusted but the link works (currently!)
'(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image.
'(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason
'(?x).rdr.ucl.ac.uk/articles/*', # Article does exist but sometimes returns strange codes: 202, 403...
'(?x).*127.0.0.1.*', # This is a local address
'(?x).*liveuclac.sharepoint.com/sites/*', # SharePoint pages will need UCL credentials.
# Several annoying false positives:
#
# Some parts of the upstream theme cause errors because they don't prepend https. We don't fix the theme because
# it will be updated to the new branding soon. So just suppress all of this for now. Remove when the theme is
# updated. All social media links on every theme-rendered page are like this!!
Comment on lines +13 to +15

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is annoying the lychee seems to complain about so many URLs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes. Yes it is. Also the theme is starting to work against us.

'(?x).*cdn.ucl.ac.uk/*',
'(?x)file://(?:.*/)?www\.ucl\.ac\.uk(?:/|$)',
'(?x).*shop.ucl.ac.uk',
'(?x).*www.flickr.com/photos/uclnews',
'(?x).*www.facebook.com/uclofficial',
'(?x).*twitter.com/ucl',
'(?x).*www.instagram.com/ucl',
'(?x).*www.youtube.com/ucltv',
'(?x).*soundcloud.com/uclsound',
# Aaand the favicon and several image paths are broken in the upstream theme, so just ignore these too.
'(?x).*favicon-152.png',
'(?x).*assets/images/hero-image-taught-desktop.jpg', # doesn't exist: theme bug
'(?x).*indigo/images/search-sprite.png', # doesn't exist: theme bug
'(?x).*assets/css/owl.video.play.png',
]
6 changes: 3 additions & 3 deletions ospo/business-case.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ This puts UCL in an exceptional position to provide the support that open source
An Open Source Programme Office (OSPO) is a body within an organisation to look after its open source strategy and operations.
OSPOs have been widely adopted in the commercial world[^OSPO-commerce], governmental institutions and world organisations[^OSPO-public].
More recently, various academic and research institutions have also found the value of having OSPOs.
Focusing on the latest, we can find research centres such as [CERN][ospo-cern] or [Space Telescope Science Institute][ospo-stsci] and universities like [Johns Hopkins][ospo-jhu] (the first one, since 2019), [University of California][ospo-uc] and [Carnegie Mellon University][ospo-cmu] in the USA, or European examples like [Trinity College Dublin][ospo-tcd] in Ireland, [University of Luxembourg][ospo-snt], and [ETH Zurich][ospo-eth] in Switzerland.
Focusing on the latest, we can find research centres such as [CERN][ospo-cern] or [Space Telescope Science Institute][ospo-stsci] and universities like [Johns Hopkins][ospo-jhu] (the first one, since 2019), [University of California][ospo-uc] and [Carnegie Mellon University][ospo-cmu] in the USA, or European examples like Trinity College Dublin in Ireland, [University of Luxembourg][ospo-snt], and [ETH Zurich][ospo-eth] in Switzerland.

<!-- Footnotes -->
[^OSPO-commerce]: <!-- vale proselint.Annotations = NO --> The two biggest OSPO networks in industry are: [OSPO Alliance][ospo-alliance] supported by the [Eclipse Foundation][eclipse] and [TODO Group][ospo-todogrp] supported by the [Linux Foundation][LF]. A [report published in 2024 by the TODO Group][state-of-ospo-2024] found that 77% of large organisations have an OSPO (DOI: 10.70828/FXMR3018). <!-- vale proselint.Annotations = NO -->
Expand Down Expand Up @@ -163,7 +163,6 @@ A more detailed definition of an academic OSPO can be found in [Young, et al. (2
[ospo-snt]: https://www.uni.lu/snt-en/
<!-- FIXME: STSci appears on archived OSPO++ page, but no link -->
[ospo-stsci]: http://www.stsci.edu/
[ospo-tcd]: https://www.tcd.ie/innovation/for-trinity-innovators/open-source-programme-office/
[ospo-todogrp]: https://todogroup.org/
[ospo-uc]: https://ucospo.net/
[ospo-un]: https://undp.org/digital
Expand Down Expand Up @@ -334,7 +333,8 @@ This should cover licensing possibilities as well as business models.
<!-- end footnotes -->

<!-- links -->
[reports]: ./documents.html#yearly-reports
[reports]: https://google.com
<!-- ^^ to be fixed in #90 ./documents.html#yearly-reports -->
[lug]: https://github-pages.ucl.ac.uk/linux/
[Latug]: https://teams.microsoft.com/l/team/19%3A4669171c71b74d9ea23c30f7e3b9195a%40thread.skype/conversations?groupId=2435df9e-6f6e-4f1e-8f4c-e048dcabb2b8&tenantId=1faf88fe-a998-4c5b-93c9-210a11d9a5c2
[PCoC]: https://teams.microsoft.com/l/team/19%3A85c78bc816764ae5982ae7b4997b2f47%40thread.skype/conversations?groupId=a3786c11-7532-44a2-a8eb-547382638405&tenantId=1faf88fe-a998-4c5b-93c9-210a11d9a5c2
Expand Down
2 changes: 1 addition & 1 deletion ospo/documents/00-preOSPO/20240627-OSSBreakfastClub.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The university could also collaborate with schools to promote open source within
In UCL there are well established collaborations with London society. For example, [The Barlett](https://www.ucl.ac.uk/bartlett/) (e.g., [resilience in London during COVID](https://www.ucl.ac.uk/bartlett/case-studies/2023/jun/mapping-stories-community-struggles-and-resilience-london-face-covid-19), or [missions-driven government for public services](https://medium.com/iipp-blog/professor-mariana-mazzucato-and-cllr-georgia-gould-leader-of-camden-council-write-about-the-need-ebd5ec2841d2) in Camden with the [IIPP](https://www.ucl.ac.uk/bartlett/public-purpose)).
Working with them to include the OSS component will also have an impact.

[OpenUK State of the Open 2023](https://openuk.uk/stateofopen/state-of-open-the-uk-in-2023/stateofopen-2023/) mentions the [UK Government had an open source procurement toolkit since 2011](https://www.theguardian.com/government-computing-network/2011/nov/02/cabinet-office-open-source-procurement-toolkit) (though [withdrawn in 2014](https://www.gov.uk/government/publications/open-source-procurement-toolkit)). These guides could help to promote the procurement of OS software within the university.
[OpenUK State of the Open 2023](https://openuk.uk/stateofopen/state-of-open-the-uk-in-2023/) mentions the [UK Government had an open source procurement toolkit since 2011](https://www.theguardian.com/government-computing-network/2011/nov/02/cabinet-office-open-source-procurement-toolkit) (though [withdrawn in 2014](https://www.gov.uk/government/publications/open-source-procurement-toolkit)). These guides could help to promote the procurement of OS software within the university.
Also, OpenUK is pushing to enable AI openness through their [open manifesto](https://openuk.uk/openmanifesto/), which an OSPO in UCL could also show its support.

There are funding opportunities for many of this activities. Some are: [SLOAN](https://sloan.org/), [OSCARS](https://oscars-project.eu/), and collaborations with private sector.
Expand Down
Loading