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

[pull] main from alan-turing-institute:main #62

Merged
merged 245 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
7004499
new toc, add elements
jcolomb Feb 11, 2022
946cc25
Merge pull request #2355 from jcolomb/master
jcolomb May 16, 2022
0b75541
modify summary with more links and a better? story. Added some boldin…
jcolomb May 17, 2022
50f22ef
modify some text, add better alt text
jcolomb May 17, 2022
88779e6
try:
jcolomb May 17, 2022
6798a78
try again debug ref
jcolomb May 17, 2022
441424e
try again debug ref
jcolomb May 17, 2022
34e679c
Merge branch '2245-version-control-for-datasets' of github.com:alan-t…
jcolomb May 17, 2022
5192b4f
debug links ended
jcolomb May 17, 2022
896164f
put branches in its own subchapter
jcolomb May 18, 2022
c48c962
vcsdata-debug fig, add text
jcolomb May 18, 2022
971ad9f
Merge branch '2245-version-control-for-datasets' of github.com:alan-t…
jcolomb May 18, 2022
2571bb7
trying debug figure
jcolomb May 18, 2022
5182648
trying debug figure 2
jcolomb May 18, 2022
deb59e0
move image
jcolomb May 18, 2022
6e6f81e
research rewritten, new image is storage(not working yet)
jcolomb May 18, 2022
82dd505
add inclusivity part in data versioning
jcolomb May 18, 2022
14d446b
added intro words on provenance
jcolomb May 18, 2022
daa73b0
add figures
jcolomb May 20, 2022
bf185a7
debug figures ?
jcolomb May 20, 2022
0c8b1be
debug figure ?
jcolomb May 20, 2022
2827aa6
debug figure healthy- ?
jcolomb May 20, 2022
e87fae7
Merge branch '2245-version-control-for-datasets' of github.com:alan-t…
jcolomb May 20, 2022
1ea7e0c
debug tree figure ?
jcolomb May 20, 2022
c25463f
debug tree figure 2
jcolomb May 20, 2022
79ab69a
Apply suggestions from code review
jcolomb May 20, 2022
cc5ebe2
debug tree figure 3
jcolomb May 20, 2022
61c6d7a
debug fig 3
jcolomb May 20, 2022
ce1b007
alt text corrected
jcolomb May 20, 2022
a39159a
git4research: proofread
jcolomb May 20, 2022
1eee3ef
Update 2023-may-intro.md
AlexandraAAJ May 11, 2023
2dbe985
Update reg registered reports chapter with case study
vhellon May 15, 2023
09515e4
Add contributors record page to configuration
JimMadge May 22, 2023
bbf6ce3
Regenerate contributors table in book
JimMadge May 22, 2023
9e24012
Update book/website/communication/dif-articles/reg.md
vhellon May 22, 2023
1dc1300
Update reg.md
vhellon May 22, 2023
fbeb119
Use include directive to insert contributors.md
JimMadge May 22, 2023
89f3dc7
Remove script and workflow for updating book
JimMadge May 22, 2023
bc8d7dc
Merge remote-tracking branch 'origin/main' into contributors
JimMadge May 22, 2023
6e07b4a
Merge remote-tracking branch 'origin/main' into contributors
JimMadge May 22, 2023
fab811e
merging and re-adding changes
jcolomb May 23, 2023
21c0269
Merge pull request #3101 from alan-turing-institute/main
jcolomb May 23, 2023
54e88a2
Add infrastructure section to community handbook
JimMadge May 23, 2023
08a54ee
Update contributors sub section
JimMadge May 23, 2023
b5afc04
Improve header levels
JimMadge May 23, 2023
fb50dd3
Restore requirements.txt
JimMadge May 23, 2023
b86c395
linting and typos, Summary oc vcs, put some text back at the start
jcolomb May 23, 2023
f44583b
un-linting to follow the guide
jcolomb May 23, 2023
b59ede8
Adjust contributors record header labels
JimMadge May 23, 2023
5021d41
Add note about manually editing contributors table
JimMadge May 23, 2023
ad3c48a
build jypiter checks review
jcolomb May 23, 2023
2ece545
build jypiter checks review 2
jcolomb May 23, 2023
6612d77
Add lychee action to check offline links
JimMadge May 24, 2023
9eb68a0
Enable set -x for lychee
JimMadge May 24, 2023
f5499dd
Quote glob
JimMadge May 24, 2023
18babfa
Split globs for md and html
JimMadge May 24, 2023
b4ede67
Reduce lychee verbosity
JimMadge May 24, 2023
4a2f472
Exclude _sources directory
JimMadge May 24, 2023
651d8bd
Correct link
JimMadge May 24, 2023
7bf5b6c
Update pd-overview-sharing.md -openhardware
jcolomb May 24, 2023
f69c73f
Use naming structure
JimMadge May 24, 2023
b67c848
Remove cache
JimMadge May 24, 2023
2178db3
Add external link check job
JimMadge May 24, 2023
9d26661
Update _toc.yml
EstherPlomp May 25, 2023
11eb80d
Update _toc.yml
EstherPlomp May 25, 2023
135a100
Update _toc.yml
EstherPlomp May 25, 2023
5157885
Update book/website/reproducible-research/vcs.md
jcolomb May 25, 2023
6214639
Update book/website/reproducible-research/vcs.md
jcolomb May 25, 2023
c5924b4
Update book/website/reproducible-research/vcs.md
jcolomb May 25, 2023
46c448a
Apply suggestions from code review
jcolomb May 25, 2023
5cff4dd
Update book/website/reproducible-research/vcs/vcs-workflow-branches.md
jcolomb May 25, 2023
408b8f6
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
5697469
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
36a0246
add localisation to the README.md
BatoolMM May 26, 2023
e43155f
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
cda210c
add Translation to README file
BatoolMM May 26, 2023
2b2ce29
change the position
BatoolMM May 26, 2023
62f8760
change the chapter place and section titles
BatoolMM May 26, 2023
5b7f96e
change title
BatoolMM May 26, 2023
c963951
change chapters titles
BatoolMM May 26, 2023
4ded0aa
Fix the time of the call
BatoolMM May 26, 2023
dd6cb8b
fix typo
BatoolMM May 26, 2023
bb62c86
change title
BatoolMM May 26, 2023
ae5cd6a
change to Embark on Your Localization Journey
BatoolMM May 26, 2023
6d631a5
Fix grammer
BatoolMM May 26, 2023
6dce221
Fix the chapter tag
BatoolMM May 26, 2023
0c01812
Add conclusion
BatoolMM May 26, 2023
62f6172
Add clarifying links and glossary terms
JimMadge May 26, 2023
6186601
Create reg-forms.md
EKaroune May 26, 2023
816efde
Update organising-conference.md
EKaroune May 26, 2023
985360c
Add workflow trigger on PR for testing
JimMadge May 26, 2023
46db04a
Update glossary.md -open hardware
jcolomb May 26, 2023
b2bdeda
Update _toc.yml
EKaroune May 26, 2023
a8de1a4
Update book/website/collaboration/organising-conference/reg-forms.md
EKaroune May 26, 2023
fed1d2e
Update _toc.yml
EKaroune May 26, 2023
c754f89
Merge remote-tracking branch 'origin/main' into localisation
da5nsy May 26, 2023
6ed8146
Create reg-from-template.md
EKaroune May 26, 2023
2c9b9e4
Rename reg-from-template.md to reg-form-template.md
EKaroune May 26, 2023
e3f3437
Update _toc.yml
EKaroune May 26, 2023
cef7a2b
Update reg-form-template.md
EKaroune May 26, 2023
c7de28e
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune May 26, 2023
1e4f56b
Merge remote-tracking branch 'origin/main' into localisation
da5nsy May 26, 2023
b568df5
Merge remote-tracking branch 'origin/main' into vhellon-patch-1
da5nsy May 26, 2023
4c95155
Update book/website/community-handbook/translation/translation-workfl…
BatoolMM May 28, 2023
05bf52f
update ch-translation-localisation-journey to ch-translation-localisa…
da5nsy May 28, 2023
b677deb
Update book/website/community-handbook/translation/translation-workfl…
BatoolMM May 28, 2023
1dc798c
Update book/website/community-handbook/translation/translation-workfl…
BatoolMM May 28, 2023
f732eec
Update book/website/community-handbook/translation/translation-workfl…
BatoolMM May 28, 2023
98d6700
Update book/website/community-handbook/translation/translation-workfl…
BatoolMM May 28, 2023
ab879f2
Update book/website/index.md
BatoolMM May 28, 2023
4979106
Update book/website/index.md
BatoolMM May 28, 2023
318b611
Update book/website/reproducible-research/vcs/vcs-git-in-research.md
da5nsy May 28, 2023
6210b85
Update book/website/reproducible-research/vcs/vcs-git-general.md
da5nsy May 28, 2023
62b120a
Update book/website/reproducible-research/vcs/vcs-git-in-research.md
da5nsy May 28, 2023
2a29767
Apply suggestions from code review
jcolomb May 29, 2023
4d3b90b
Merge remote-tracking branch 'origin/main' into contributors
JimMadge May 30, 2023
f8b673b
Add explanatory comment to configuration
JimMadge May 30, 2023
c9aa56e
Update stakeholder-engagement.md
aldenc May 30, 2023
b4d9544
Merge pull request #3168 from alan-turing-institute/ram-stakeholder-l…
camirincon Jun 1, 2023
09326c3
Update ram.md
aldenc Jun 1, 2023
1f7532f
Merge pull request #3170 from alan-turing-institute/aldenc-patch-1
aldenc Jun 1, 2023
b0748ef
Exclude turing.ac.uk
JimMadge Jun 2, 2023
6db17e9
Exclude doi.org due to false negatives
JimMadge Jun 2, 2023
6f0affe
Update issue with broken links report
JimMadge Jun 2, 2023
3f692e0
Stop action failing (and stopping) on broken link
JimMadge Jun 2, 2023
d523bd1
Remove on PR trigger
JimMadge Jun 2, 2023
064c3af
Merge pull request #3116 from alan-turing-institute/link_check
JimMadge Jun 2, 2023
721cf07
Update translation-getting-started.md
AndreaSanchezTapia Jun 2, 2023
4b5585b
[docs] Minor fixes to README
spier Jun 4, 2023
69a21a4
Fix link to Continuous Integration chapter
spier Jun 4, 2023
68b40f8
Merge pull request #2356 from alan-turing-institute/2245-version-cont…
jcolomb Jun 6, 2023
54f12ad
Add caretaking label to broken links issue
JimMadge Jun 6, 2023
a61d2d9
Add broken links issue header
JimMadge Jun 6, 2023
bd37f12
Concatenate issue header with Lychee report
JimMadge Jun 6, 2023
10a3701
Fix yaml linting in toc
JimMadge Jun 6, 2023
eb8127d
Fix yaml linting in new chapter issue template
JimMadge Jun 6, 2023
177c251
Merge remote-tracking branch 'origin/main' into registration-forms
da5nsy Jun 6, 2023
019cf9b
Merge pull request #3179 from alan-turing-institute/yamllint
JimMadge Jun 6, 2023
3cb905c
Merge branch 'registration-forms' of https://github.com/alan-turing-i…
da5nsy Jun 6, 2023
2961309
Merge remote-tracking branch 'origin/main' into link_check
JimMadge Jun 6, 2023
a9bf810
remove e.g.
da5nsy Jun 6, 2023
69dfc97
Merge remote-tracking branch 'origin/main' into registration-forms
da5nsy Jun 6, 2023
1a63c8c
Fix typo in toc
da5nsy Jun 6, 2023
93a72d9
Merge branch 'registration-forms' of https://github.com/alan-turing-i…
da5nsy Jun 6, 2023
77ccf02
fix yaml formatting
da5nsy Jun 6, 2023
0139f22
Run yaml lint workflow on PR
JimMadge Jun 6, 2023
a7853ca
Merge pull request #3178 from alan-turing-institute/link_check
JimMadge Jun 6, 2023
2ef0069
Merge pull request #3175 from spier/fix-link-to-ci-chapter
spier Jun 6, 2023
21d18b2
update README.md [skip ci]
allcontributors[bot] Jun 6, 2023
aacf97d
update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 6, 2023
2e01678
Merge pull request #3182 from alan-turing-institute/all-contributors/…
da5nsy Jun 6, 2023
06b026f
Merge pull request #3181 from alan-turing-institute/yamllint
JimMadge Jun 6, 2023
03be64c
Add a tag in presenting about The Turing Way chapter
malvikasharan Jun 6, 2023
7a5cac8
Create Newsletter_43_May.md
AlexandraAAJ Jun 7, 2023
2ac6814
Create Newsletter_42_April2023.md
AlexandraAAJ Jun 7, 2023
f179e18
Create Newsletter_41_Mar2023.md
AlexandraAAJ Jun 7, 2023
db4ad6a
Update README.md
AlexandraAAJ Jun 8, 2023
5db8547
Merge pull request #3185 from alan-turing-institute/malvikasharan-pat…
JimMadge Jun 8, 2023
f19fae1
Merge pull request #3196 from alan-turing-institute/AlexandraAAJ-patc…
AlexandraAAJ Jun 8, 2023
1c4fdf3
Merge pull request #3156 from alan-turing-institute/openhardware-defi…
jcolomb Jun 8, 2023
4466e8f
Merge pull request #3174 from spier/patch-1
spier Jun 8, 2023
f4b2940
Update book/website/community-handbook/infrastructure/infrastructure-…
JimMadge Jun 9, 2023
2d92738
Improve header levels
JimMadge May 23, 2023
5733099
Add infrastructure section to community handbook
JimMadge May 23, 2023
a3b58af
Update contributors sub section
JimMadge May 23, 2023
aa321c7
Restore requirements.txt
JimMadge May 23, 2023
0b2b84d
Add note about manually editing contributors table
JimMadge May 23, 2023
c29a4b9
Use naming structure
JimMadge May 24, 2023
753da75
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
e317480
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
2d73614
Update book/website/community-handbook/infrastructure.md
JimMadge May 26, 2023
6f501af
Add clarifying links and glossary terms
JimMadge May 26, 2023
0d8efea
Remove infrastructure-contributors page
JimMadge Jun 9, 2023
8b98612
Merge pull request #3102 from alan-turing-institute/infrastructure_docs
JimMadge Jun 9, 2023
d72caaf
Merge remote-tracking branch 'origin/main' into contributors
JimMadge Jun 9, 2023
b952d7e
Merge branch 'infrastructure_docs' into contributors
JimMadge Jun 9, 2023
36430b7
Update page title
JimMadge Jun 9, 2023
ccaeab4
Update introductory paragraphs
JimMadge Jun 9, 2023
3572f9b
Update Contributors Record
malvikasharan Jun 9, 2023
8d699de
Merge pull request #3173 from alan-turing-institute/AndreaSanchezTapi…
AndreaSanchezTapia Jun 11, 2023
0aa0572
Update reg-forms.md
EKaroune Jun 12, 2023
b9d3c96
Update reg-form-template.md
EKaroune Jun 12, 2023
b8631a7
Update book/website/collaboration/organising-conference/reg-forms.md
EKaroune Jun 12, 2023
c1b2e05
Merge branch 'main' into registration-forms
EKaroune Jun 12, 2023
727dceb
Correct step name
JimMadge Jun 12, 2023
38ef89f
Remove glob which matches no files
JimMadge Jun 12, 2023
407f572
Remove blank line
JimMadge Jun 12, 2023
38f0b3c
Add external link check page
JimMadge Jun 12, 2023
0483aee
Improve grammar
JimMadge Jun 12, 2023
3e236f7
Latin abbrevs: better image caption and link
srtee Jun 13, 2023
52ec6f3
Update book/website/community-handbook/infrastructure/infrastructure-…
JimMadge Jun 13, 2023
f6ebe19
Update book/website/community-handbook/infrastructure/infrastructure-…
JimMadge Jun 13, 2023
b3f8cb5
Italicise The Turing Way
JimMadge Jun 13, 2023
e941df4
Add language specification to code blocks
JimMadge Jun 13, 2023
d320c00
Explain filtering false negatives
JimMadge Jun 13, 2023
729cda2
Merge pull request #3197 from alan-turing-institute/link_check_docs
JimMadge Jun 13, 2023
b12789d
Merge pull request #3172 from alan-turing-institute/contributors-bot-…
JimMadge Jun 13, 2023
9bdf60c
Sync contributors tables
JimMadge Jun 13, 2023
846b832
Merge remote-tracking branch 'origin/main' into contributors
JimMadge Jun 13, 2023
7eaca8e
Make TOC and page title consistent
JimMadge Jun 13, 2023
36b37d6
adding notes draft
aleesteele Jun 13, 2023
e6a189e
Merge pull request #3093 from alan-turing-institute/contributors
JimMadge Jun 13, 2023
72993f2
formatting of questions
EKaroune Jun 13, 2023
77bf998
changing template to code block
EKaroune Jun 13, 2023
0a12b57
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
a52cf3f
Update book/website/_toc.yml
EKaroune Jun 14, 2023
c906f4f
Update book/website/_toc.yml
EKaroune Jun 14, 2023
03430f3
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
19b8c1f
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
229d22b
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
80fad13
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
3973506
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
ae909bb
Update book/website/collaboration/organising-conference/reg-form-temp…
EKaroune Jun 14, 2023
dfb3158
Update book/website/collaboration/organising-conference/reg-forms.md
EKaroune Jun 14, 2023
a546b85
Update book/website/collaboration/organising-conference/reg-forms.md
EKaroune Jun 14, 2023
cfb35aa
adding more line spacing
EKaroune Jun 15, 2023
3ad3347
update README.md [skip ci]
allcontributors[bot] Jun 15, 2023
16612ae
update book/website/afterword/contributors-record.md [skip ci]
allcontributors[bot] Jun 15, 2023
b4f6812
update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 15, 2023
644f434
Merge pull request #3201 from alan-turing-institute/all-contributors/…
da5nsy Jun 15, 2023
094aa6f
Merge pull request #3199 from srtee/patch-1
srtee Jun 15, 2023
b03534c
Add link to Chinese readme
da5nsy Jun 15, 2023
551472c
adding meeting notes
aleesteele Jun 16, 2023
6ff3f45
Merge pull request #3078 from alan-turing-institute/vhellon-patch-1
vhellon Jun 16, 2023
6785c58
Merge pull request #3068 from alan-turing-institute/AlexandraAAJ-patch-4
AlexandraAAJ Jun 16, 2023
0551bc7
Merge pull request #3160 from alan-turing-institute/registration-forms
EKaroune Jun 16, 2023
6db5c30
adding coworking call notes
aleesteele Jun 16, 2023
d3b2a6b
Update governance/core-team/meeting-notes/20230609-core-team.md
aleesteele Jun 19, 2023
19f42e5
Merge pull request #3203 from alan-turing-institute/coworking-notes
aleesteele Jun 19, 2023
3bb5854
Remove sensitive links
aleesteele Jun 19, 2023
ae1f075
Update 20230609-core-team.md
aleesteele Jun 20, 2023
25cc434
Update 20230609-core-team.md
aleesteele Jun 20, 2023
4083045
remove sensitive links
aleesteele Jun 20, 2023
be76ef4
Merge pull request #3205 from alan-turing-institute/aleesteele-patch-1
aleesteele Jun 20, 2023
fad4c74
Suggest a more recent version of numpy to install in z2b tutorial
sgibson91 Jun 21, 2023
2577d51
Merge pull request #3206 from alan-turing-institute/sgibson91-patch-1
sgibson91 Jun 21, 2023
a58d8f8
Merge pull request #3192 from alan-turing-institute/AlexandraAAJ-patch-8
AlexandraAAJ Jun 21, 2023
5a2cad5
Merge pull request #3191 from alan-turing-institute/AlexandraAAJ-patch-7
AlexandraAAJ Jun 21, 2023
6d10266
Merge pull request #3190 from alan-turing-institute/AlexandraAAJ-patch-6
AlexandraAAJ Jun 21, 2023
508b6ac
Merge pull request #3202 from alan-turing-institute/da5nsy-chineseReadme
da5nsy Jun 25, 2023
9459578
Update pd-overview-sharing.md
jcolomb Jun 27, 2023
34f4097
Update book/website/project-design/pd-overview/pd-overview-sharing.md
malvikasharan Jun 28, 2023
03823c2
Merge pull request #3125 from alan-turing-institute/OSH-sharing
jcolomb Jun 28, 2023
b145405
Slight update of pd-overview-sharing.md
malvikasharan Jun 28, 2023
c68d7f1
Merge pull request #3209 from alan-turing-institute/malvikasharan-pat…
malvikasharan Jun 28, 2023
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 .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"_comment": "This JSON file controls the behaviour of the all contributors bot. A description of the keys can be found here: https://allcontributors.org/docs/en/bot/configuration",
"files": [
"README.md"
"README.md",
"book/website/afterword/contributors-record.md"
],
"imageSize": 100,
"contributorsPerLine": 7,
Expand Down Expand Up @@ -4295,6 +4297,24 @@
"contributions": [
"translation"
]
},
{
"login": "spier",
"name": "Sebastian Spier",
"avatar_url": "https://avatars.githubusercontent.com/u/163029?v=4",
"profile": "https://spier.hu",
"contributions": [
"bug"
]
},
{
"login": "srtee",
"name": "Shern Tee",
"avatar_url": "https://avatars.githubusercontent.com/u/60586092?v=4",
"profile": "https://github.com/srtee",
"contributions": [
"content"
]
}
],
"projectName": "the-turing-way",
Expand Down
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/new_chapter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ body:
label: Updates
description: Please comment on this issue with updates so that all the important information is available at a glance. You may use the checklist here to get started or create a new checklist in the comments.
options:
- label: Write chapter outline
- label: Add material to the chapter
- label: Combine materials into a readable chapter
- label: Proofread
- label: Create PR and link in the comments
- label: Request reviews
- label: Address reviews
- label: Merge to main branch
- label: Write chapter outline
- label: Add material to the chapter
- label: Combine materials into a readable chapter
- label: Proofread
- label: Create PR and link in the comments
- label: Request reviews
- label: Address reviews
- label: Merge to main branch
- type: markdown
attributes:
value: "**When you are ready to create a pull request for your chapter please don't forget to add a link in the comments on this issue.**"
39 changes: 31 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ defaults:
run:
shell: bash

# run job
jobs:
build-jb-and-check-links:
build-jb:
name: Build
if: (github.event.pull_request) && !contains(github.head_ref, 'all-contributors')
strategy:
matrix:
Expand Down Expand Up @@ -52,10 +52,33 @@ jobs:
cd ./book/website
jupyter-book build . -W --keep-going

- name: Run html proofer
if: matrix.os == 'ubuntu-latest'
uses: chabad360/htmlproofer@master
offline-link-check:
name: Link Check
needs: build-jb
runs-on: ubuntu-latest
steps:
- name: Checkout-repository
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r ./book/website/requirements.txt

- name: Build Jupyter-Book
run: |
cd ./book/website
jupyter-book build .

- name: Check offline links
uses: lycheeverse/[email protected]
with:
directory: "./book/website/_build/html"
arguments: --assume-extension --disable-external --only_4xx
continue-on-error: true
args: --config './lychee.toml' --no-progress --offline 'book/website/_build/html/**/*.html' 'book/website/_build/html/**/*.md'
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # Use runners GitHub token to avoid rate limiting
38 changes: 0 additions & 38 deletions .github/workflows/contributors-record.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/external_link_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: External Link Check

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * MON"

jobs:
external-link-check:
name: External Link Check
runs-on: ubuntu-latest
steps:
- name: Checkout-repository
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r ./book/website/requirements.txt

- name: Build Jupyter-Book
run: |
cd ./book/website
jupyter-book build .

- name: Restore lychee cache
uses: actions/cache@v3
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }} # save cache using commit sha
restore-keys: cache-lychee- # restore latest cache (not a specific commit)

- name: Check links
uses: lycheeverse/[email protected]
with:
args: --config './lychee.toml' --no-progress 'book/website/_build/html/**/*.html'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # Use runners GitHub token to avoid rate limiting

- name: Concatenate Lychee output with issue heaser
run: |
cat .github/workflows/resources/external_link_check_header.md lychee/out.md > issue_text.md

- name: Update Issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Broken links
issue-number: 3171
content-filepath: issue_text.md
token: ${{secrets.GITHUB_TOKEN}}
labels: |
infrastructure
caretaking
44 changes: 44 additions & 0 deletions .github/workflows/resources/external_link_check_header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Broken Links

**This is an automated issue created in a weekly continuous integration job 🤖.**

This issue contains a list of links external to The Turing Way that appeared to be broken when the check was last run.

**The conversation on this issue has been locked.**
This is because the list of broken links will change whenever the job is run, so this is not a good place to discuss particular links.

## Understanding the Errors

### Locating Errors

Errors are grouped by the output html pages they appear in.

The paths of these pages after `book/website/_build/html` correspond to their source Markdown files.
For example, `book/website/_build/html/reproducible-research/vcs/vcs-workflow.html` corresponds to `book/website/reproducible-research/vcs/vcs-workflow.md`.
Broken links can be fixed in the Markdown file.

### False Negatives

The list of error **will contain false negatives**.
Some domains will interpret the link checker as a possible denial of service attack, especially if it makes multiple requests.
Others may require authentication for particular pages.
The link checker may then be unable to verify that certain links works.

If certain domains are repeatedly producing false negatives they can be ignored by adding an entry to the `exclude` list in the [Lychee configuration file](https://github.com/alan-turing-institute/the-turing-way/blob/main/lychee.toml).

### Link Status

Each failing link is presented with its status which is either a string like `ERR`, `TIMEOUT` or a HTTP response status code like `404`.
Mozilla has a [guide to HTTP response codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) which can help explain the codes in the list.

Here are some rules of thumb.
These are quite likely to be false negatives,

- 403
- TIMEOUT

These are quite likely to be genuine problems,

- 404
- ERR
- 50? (500, 501, 502, _etc._)
4 changes: 4 additions & 0 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Lint and Validate YAML files

on:
pull_request:
paths:
- "**.yaml"
- "**.yml"
push:
paths:
- "**.yaml"
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ What happens if the continuous integration (CI) fails (for example, if the pull
The CI could fail for a number of reasons.
At the bottom of the pull request, where it says whether your build passed or failed, you can click “Details” next to the test, which takes you to a CI run log site.
If you have the write access to the repo, you can view the log or rerun the checks by clicking the “Restart build” button in the top right.
You can learn more about CI in the {ref}`Continuous Integration chapter<rr-ci>`!
You can learn more about CI in the [Continuous Integration chapter](https://the-turing-way.netlify.app/reproducible-research/ci.html)!

GitHub has a [nice introduction][github-flow] to the pull request workflow, but please [get in touch](#get-in-touch) if you have any questions :balloon:.

Expand Down
Loading
Loading