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

Release v4.1.0 #1558

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
856043c
:bug: Ensure that the apt installation environment is not broken or f…
jemrobinson Mar 13, 2023
b329826
:arrow_up: Update Python package requirements
jemrobinson Mar 13, 2023
9dc763c
:arrow_down: Mark packages that do not yet support 3.11 as uninstalla…
jemrobinson Mar 13, 2023
6efe777
:arrow_down: Remove tmap which is not compiling due to a known sf bug…
jemrobinson Mar 13, 2023
f253317
:bug: Fix name of NSG rule when looking for existing admin IP addresses
jemrobinson Mar 13, 2023
b80aaf6
:alien: Updated analysis script for new SafetyCheck format
jemrobinson Mar 13, 2023
a5b28a3
:wrench: Update sample config files
jemrobinson Mar 14, 2023
e9f1869
:wrench: Ensure apt-get fixes are applied to all cloud-init files
jemrobinson Mar 14, 2023
3d23b39
:memo: Update Microsoft documentation link
jemrobinson Mar 14, 2023
6a4f7db
:bug: Remove keras from Python 3.11 installation
jemrobinson Mar 14, 2023
ea7e754
:alien: Replace argon2 with askpass in test script as argon2 has been…
jemrobinson Mar 14, 2023
56cdbc6
:bug: Fix creation of database secrets
jemrobinson Mar 14, 2023
d7ec924
:wrench: Update sample config files
jemrobinson Mar 14, 2023
ea9e8ed
:bug: Catch additional extraneous characters that might be included i…
jemrobinson Mar 14, 2023
d561876
:bug: Catch case where package name is not found
jemrobinson Mar 14, 2023
ac57fab
:bug: Catch case where dependency cache exists but is unreadable
jemrobinson Mar 14, 2023
5ec22bf
:wrench: Replace deprecated set-output option
jemrobinson Mar 14, 2023
b4dba1f
Merge pull request #1422 from alan-turing-institute/reset-package-cache
jemrobinson Mar 14, 2023
672c78d
stop firewall blocking servicebuss used by DC to speak to azuread
edwardchalstrey1 Mar 15, 2023
c5856dd
:arrow_up: Update to v4.2.4 of create-pull-request
jemrobinson Mar 15, 2023
6c8e70b
Merge pull request #1421 from jemrobinson/update-srd-image-march-2023
jemrobinson Mar 15, 2023
67eb497
Merge pull request #1426 from alan-turing-institute/fix-allowlist-prs
jemrobinson Mar 15, 2023
eb363bf
Update PyPI and CRAN allow lists
jemrobinson Mar 15, 2023
54e1e61
Merge pull request #1425 from alan-turing-institute/package-allowlist…
jemrobinson Mar 15, 2023
c9f573f
:alien: Added a new set of SSPR service bus endpoints
jemrobinson Mar 15, 2023
c303703
:bug: Add missing Import
jemrobinson Mar 15, 2023
a7650ac
Merge pull request #1423 from edwardchalstrey1/add-servicebus
jemrobinson Mar 15, 2023
dbd9bbb
Update PyPI and CRAN allow lists
jemrobinson Mar 15, 2023
4d193fa
Merge pull request #1428 from alan-turing-institute/package-allowlist…
jemrobinson Mar 15, 2023
928c7c5
Update PyPI and CRAN allow lists
JimMadge Mar 19, 2023
49e8df1
add reminder to update SSL certificate
edwardchalstrey1 Mar 21, 2023
0898a22
reduce suggested time
edwardchalstrey1 Mar 21, 2023
055d46f
remove steps not carried out by System Manager
edwardchalstrey1 Mar 22, 2023
2111562
Unable to see SRD or SSH connection options
edwardchalstrey1 Mar 22, 2023
c58d27f
add image for prev commit
edwardchalstrey1 Mar 22, 2023
f669e5f
update login failure screenshots
edwardchalstrey1 Mar 22, 2023
b007f98
password reset failure
edwardchalstrey1 Mar 22, 2023
0126061
Merge pull request #1429 from alan-turing-institute/package-allowlist…
JimMadge Mar 24, 2023
459363e
Change egress instructions link to be more direct
JimMadge Mar 29, 2023
4be9b56
Clarify egress classification for system manager
JimMadge Mar 29, 2023
988aa95
Clarify whose IP address for egress
JimMadge Mar 29, 2023
ff37624
Add full stop
JimMadge Mar 29, 2023
36c0949
Remove incorrect reference to data provider
JimMadge Mar 29, 2023
43d6915
Fix Markdown linting errors
JimMadge Mar 29, 2023
4607839
md edits
edwardchalstrey1 Mar 29, 2023
6f1b08b
Merge branch 'egress-doc-edits' of https://github.com/edwardchalstrey…
edwardchalstrey1 Mar 29, 2023
55a4e8f
Ignore GitHub edit links in html-proofer
JimMadge Mar 29, 2023
a00a08a
clarify who performs download
edwardchalstrey1 Mar 29, 2023
b354b55
typo
edwardchalstrey1 Mar 30, 2023
ea0e0da
Merge pull request #1434 from edwardchalstrey1/egress-doc-edits
edwardchalstrey1 Apr 5, 2023
090229f
Merge pull request #1435 from edwardchalstrey1/update-troubleshooting…
edwardchalstrey1 Apr 5, 2023
6a457f6
Update SRD package versions
JimMadge Apr 8, 2023
1afe82d
Merge pull request #1433 from alan-turing-institute/srd-package-versions
JimMadge Apr 12, 2023
58ea0af
Update PyPI and CRAN allow lists
JimMadge Apr 12, 2023
4fce86e
Merge pull request #1437 from alan-turing-institute/package-allowlist…
JimMadge Apr 13, 2023
eee9a8c
Update SRD package versions
JimMadge Apr 13, 2023
3044723
Merge pull request #1440 from alan-turing-institute/srd-package-versions
JimMadge Apr 13, 2023
4d6c23f
Add RPostgreSQL to t3 extra cran allowlist
edwardchalstrey1 Apr 13, 2023
b72515e
Merge pull request #1441 from edwardchalstrey1/add-RPostgreSQL-to-ext…
edwardchalstrey1 Apr 13, 2023
8e03cbd
Revert "Add RPostgreSQL to t3 extra cran allowlist"
JimMadge Apr 13, 2023
8a33739
Merge pull request #1442 from alan-turing-institute/revert-1441-add-R…
JimMadge Apr 14, 2023
410f43a
allow upper case for cran pax, append _ to name
craddm Apr 18, 2023
9c2139e
Add is_cran argument to docstring
JimMadge Apr 19, 2023
13fd751
Merge pull request #1447 from craddm/nexus-issues
JimMadge Apr 19, 2023
82d1f0d
Add readthedocs configuration
JimMadge Apr 27, 2023
57e6f10
Move sphinx configuration and doc requirements
JimMadge Apr 27, 2023
077db5d
Move static and template directories
JimMadge Apr 27, 2023
1e4855e
Remove rinoh
JimMadge Apr 27, 2023
b3f1aa2
Remove build directory
JimMadge Apr 27, 2023
111389a
Remove pdf builds from Makefile
JimMadge Apr 27, 2023
cc86c41
Disable readthedocs pdf builds
JimMadge Apr 27, 2023
12e6cf5
Move scriberia figure
JimMadge Apr 27, 2023
c8369d9
Move docs source to source dir
JimMadge Apr 27, 2023
b08992d
Clean Sphinx configuration
JimMadge Apr 27, 2023
4ccb3f0
Update requirements
JimMadge Apr 27, 2023
b0b8334
Restore sidebar
JimMadge Apr 27, 2023
5a6aad1
Use default primary sidebar
JimMadge Apr 27, 2023
772d89d
Remove unused import
JimMadge Apr 27, 2023
ca53abe
Improve docs reproducibility with pip-compile
JimMadge Apr 27, 2023
1394d7d
Fix indentation
JimMadge Apr 27, 2023
e78560a
Remove docs deployment workflow
JimMadge Apr 27, 2023
af93975
Add documentation workflow
JimMadge Apr 28, 2023
ee66f2f
Add lychee configuration file
JimMadge Apr 28, 2023
be64393
Update PyPI and CRAN allow lists
JimMadge May 1, 2023
d215d82
Merge pull request #1454 from alan-turing-institute/package-allowlist…
JimMadge May 2, 2023
32f8943
Add ipaddressguide.com to lychee exclude list
JimMadge May 2, 2023
f5e61fe
Exclude template file from link checking
JimMadge May 2, 2023
9964d3b
Add lychee cache files to gitignore
JimMadge May 2, 2023
6db5cfb
Add opensource.org to lychee exclude list
JimMadge May 2, 2023
6558096
Remove unnecessary period
JimMadge May 3, 2023
c2c1d5e
Update PyPI and CRAN allow lists
JimMadge May 7, 2023
f2c669e
Merge pull request #1456 from alan-turing-institute/package-allowlist…
JimMadge May 9, 2023
c36f984
Update CITATION.cff
JimMadge May 11, 2023
8b81d1a
Update documentation links in README
JimMadge May 11, 2023
75149a4
Update documentation link in contribution guide
JimMadge May 11, 2023
029b6ab
Correct reference label
JimMadge May 12, 2023
3ee1b84
Add data preparation advice
JimMadge May 12, 2023
06f7d8d
Fix linting errors
JimMadge May 12, 2023
dbc4a48
Update SRD package versions
JimMadge May 15, 2023
fdd0c00
Merge pull request #1460 from alan-turing-institute/srd-package-versions
JimMadge May 15, 2023
62a59c8
Remove unused javascript file
JimMadge May 15, 2023
45d4cdd
:memo: Fix section name
jemrobinson May 15, 2023
ebdac52
Merge pull request #1408 from edwardchalstrey1/vm-docs-note
JimMadge May 15, 2023
208e223
Merge pull request #1459 from alan-turing-institute/data_integrity
JimMadge May 15, 2023
20b8e1f
Merge remote-tracking branch 'origin/develop' into readthedocs
JimMadge May 15, 2023
ffba257
Create users with no password expiry on AD
craddm May 15, 2023
999e3f3
Merge pull request #1453 from alan-turing-institute/readthedocs
JimMadge May 15, 2023
fe13111
Enable pdf and htmlzip builds
JimMadge May 15, 2023
567c2e9
Update requirements
JimMadge May 15, 2023
50f8c70
Merge pull request #1461 from craddm/1443-password-expiry
JimMadge May 16, 2023
60e17b4
modify location of requirements.txt
craddm May 19, 2023
546842d
Merge pull request #1464 from craddm/develop
craddm May 19, 2023
73db45a
:alien: Add additional Microsoft ssprdedicatedsbprod endpoints
jemrobinson May 20, 2023
0cc5cbd
:alien: Add additional Microsoft sb.servicebus endpoints
jemrobinson May 21, 2023
90d1add
Merge pull request #1468 from alan-turing-institute/readthedocs
JimMadge May 22, 2023
215b104
modify location of requirements.txt
craddm May 19, 2023
d495152
Merge pull request #1469 from alan-turing-institute/devcontainer_requ…
JimMadge May 22, 2023
5aedba1
:wrench: Added bn3 and sg3 domains to servicebus allowlist
jemrobinson May 22, 2023
7971527
Merge pull request #1466 from jemrobinson/add-servicebus-endpoints
jemrobinson May 22, 2023
8ac73a9
:alien: Replace deprecated Set-AzDiagnosticSetting
jemrobinson May 22, 2023
80730f4
Correct link on citation badge
JimMadge May 23, 2023
32d67a0
Correct path to Scriberia cartoon in README.md
JimMadge May 23, 2023
5c51c35
Merge pull request #1475 from alan-turing-institute/scriberia_illustr…
JimMadge May 23, 2023
20b2920
Remove pins from requirements.in
JimMadge May 24, 2023
2d52ae8
Update requirements
JimMadge May 24, 2023
5d9c5b9
Merge pull request #1470 from jemrobinson/drop-deprecated-azure-command
JimMadge May 24, 2023
a0ee1e5
Update PyPI and CRAN allow lists
JimMadge May 24, 2023
b3fafbe
Add CODEOWNERS for docs
jemrobinson May 24, 2023
94104b8
Merge pull request #1477 from alan-turing-institute/package-allowlist…
JimMadge May 24, 2023
691ae9a
Merge pull request #1474 from alan-turing-institute/citation_badge
JimMadge May 24, 2023
1403cb4
Merge pull request #1478 from alan-turing-institute/update-codeowners
jemrobinson May 24, 2023
278c547
Add README for documentation
JimMadge May 24, 2023
5ae65dd
Merge pull request #1476 from alan-turing-institute/update_dependencies
JimMadge May 24, 2023
ba73e41
Merge remote-tracking branch 'origin/develop' into readthedocs_downloads
JimMadge May 24, 2023
ce20273
Merge pull request #1462 from alan-turing-institute/readthedocs_downl…
JimMadge May 24, 2023
25fcf6b
correct role tag
craddm May 24, 2023
fb96200
Enable MyST auto-generated header anchors
craddm May 24, 2023
e45ce32
Merge branch 'develop' into ssl-certificate-refresh
edwardchalstrey1 May 24, 2023
787ecad
Correct link to password reset
craddm May 24, 2023
3cae8b3
updated gitignore for docs build and venv
edwardchalstrey1 May 24, 2023
0b647e6
update gitignore for logs
edwardchalstrey1 May 24, 2023
80c8b4e
add symbols snippet to system manager pages
edwardchalstrey1 May 24, 2023
a506cd0
link the ssl error to the solution page
edwardchalstrey1 May 24, 2023
77fc33e
remove symbols unused in this particular doc
edwardchalstrey1 May 24, 2023
b360992
undo duplication of local docs building
edwardchalstrey1 May 24, 2023
ae8a355
docs readme link
edwardchalstrey1 May 24, 2023
0ae6e0b
Merge branch 'develop' into ssl-certificate-refresh
edwardchalstrey1 May 24, 2023
c5c4cbf
Update SRD package versions
JimMadge May 29, 2023
8c59c5c
Merge pull request #1482 from alan-turing-institute/srd-package-versions
JimMadge May 30, 2023
1a4eba5
Merge branch 'alan-turing-institute:develop' into docs-warnings
craddm May 30, 2023
6a7547d
change .gitignore to ignore sphinx build folder
craddm May 30, 2023
01dbeb6
specify desktop needs SSL renewal
edwardchalstrey1 May 30, 2023
f151b24
remove custom gitignore
edwardchalstrey1 May 30, 2023
3a00921
explain shm id and sre id
edwardchalstrey1 May 30, 2023
582044a
Merge pull request #1432 from edwardchalstrey1/ssl-certificate-refresh
edwardchalstrey1 May 30, 2023
85159dd
use relative file locations to stop build errors
craddm May 30, 2023
6fe41d8
Add newline at end of conf.py
craddm May 30, 2023
7cbc6d4
Remove autosectionlabel extension
craddm May 30, 2023
a43c474
Remove autosectionlabel extension
craddm May 30, 2023
7a1b29e
Change firewall rule for servicebus
craddm May 31, 2023
63dd509
Merge branch 'alan-turing-institute:develop' into sb-firewall-rule
craddm May 31, 2023
8b75e2f
Merge pull request #1485 from craddm/sb-firewall-rule
craddm May 31, 2023
63d58b9
Reduce lychee verbosity
JimMadge May 31, 2023
19aea8b
Replace markdown link check
JimMadge May 31, 2023
2940454
Fix links in CONTRIBUTING.md
JimMadge May 31, 2023
d045d8a
folder typo
edwardchalstrey1 Jun 1, 2023
342108d
Merge pull request #1488 from edwardchalstrey1/typo
edwardchalstrey1 Jun 1, 2023
a3ff6c0
folder typo
edwardchalstrey1 Jun 1, 2023
c0610a3
resolve gitignore conflict
craddm Jun 5, 2023
523e34f
Merge branch 'alan-turing-institute:develop' into docs-warnings
craddm Jun 5, 2023
d4fc0c4
Update SRD package versions
JimMadge Jun 8, 2023
a7a4726
Merge pull request #1489 from alan-turing-institute/srd-package-versions
JimMadge Jun 8, 2023
7580268
:memo: Clarify PR template
jemrobinson Jun 20, 2023
40bb878
Merge pull request #1491 from jemrobinson/clarify-pr-template
JimMadge Jun 20, 2023
eb10cc7
Merge pull request #1486 from alan-turing-institute/offline_linkcheck
JimMadge Jun 20, 2023
97b89ee
add deflist directly to user_guide_*
craddm Jun 22, 2023
f90449d
remove explicit link to prevent duplicate id
craddm Jun 22, 2023
d0895c1
add more direct link to avoid missing xref
craddm Jun 22, 2023
0afcf50
Add newline character
craddm Jun 22, 2023
04fdc3c
Remove trailing spaces
craddm Jun 22, 2023
b5390d0
sphinx doc builds should fail on warnings
craddm Jun 22, 2023
c2c1ece
doc build should treat warnings as errors
craddm Jun 22, 2023
4d64096
Remove trailing spaces
craddm Jun 22, 2023
b1a96f9
introduce error to test build failing
craddm Jun 22, 2023
dc87d8d
Fix error after testing build failure
craddm Jun 22, 2023
fda5d93
Remove bold from explicit link text
craddm Jun 22, 2023
b43c9d5
Change link style from autolink to markdown-style
craddm Jun 22, 2023
1927f35
Add deprecation warning to MSRDS user guide
craddm Jun 22, 2023
6c19953
Add MSRDS deprecation warnings
craddm Jun 22, 2023
48d3604
state which version of the DSH will remove MSRDS
craddm Jun 22, 2023
7575b4e
Add intro snippet directly to user_guide_guac
craddm Jun 22, 2023
2e828a9
remove unused snippet
craddm Jun 26, 2023
c9b995f
remove explicit link to prevent duplicate id
craddm Jun 22, 2023
7fe1ea0
add more direct link to avoid missing xref
craddm Jun 22, 2023
65c1e60
Add newline character
craddm Jun 22, 2023
c07621c
Remove trailing spaces
craddm Jun 22, 2023
1892f03
sphinx doc builds should fail on warnings
craddm Jun 22, 2023
e64c203
doc build should treat warnings as errors
craddm Jun 22, 2023
9471898
Remove trailing spaces
craddm Jun 22, 2023
702fd12
introduce error to test build failing
craddm Jun 22, 2023
768df58
Fix error after testing build failure
craddm Jun 22, 2023
c5012e4
Remove bold from explicit link text
craddm Jun 22, 2023
39c2031
Change link style from autolink to markdown-style
craddm Jun 22, 2023
212a380
Add deprecation warning to MSRDS user guide
craddm Jun 22, 2023
4af0754
Add MSRDS deprecation warnings
craddm Jun 22, 2023
6c71f77
state which version of the DSH will remove MSRDS
craddm Jun 22, 2023
c924b88
Add intro snippet directly to user_guide_guac
craddm Jun 22, 2023
41d0c43
remove unused snippet
craddm Jun 26, 2023
50c93f9
Merge pull request #1483 from craddm/docs-warnings
craddm Jun 27, 2023
e7f7d9a
Add MSRDS deprecation notice to deployment scripts
craddm Jun 27, 2023
d5ba196
Revert "Add MSRDS deprecation notice to deployment scripts"
craddm Jun 27, 2023
d04a55f
remove FQDN for AADconnect endpoints
craddm Jul 14, 2023
e412f00
Ensure script uses correct VM name
craddm Jul 21, 2023
15bab0f
Pass RG name directly rather than use logical
craddm Jul 21, 2023
d82f7c4
Bump certifi from 2023.5.7 to 2023.7.22 in /docs
dependabot[bot] Jul 25, 2023
ac60173
Merge branch 'release-v4.0.4' into develop
jemrobinson Jul 26, 2023
f66165a
Add portal.azure.com to lychee ignore list
JimMadge Jul 26, 2023
3541f3c
:construction_worker: Allow package update workflows to be run manually
jemrobinson Jul 26, 2023
78ddc22
:alien: Workaround for non-interpretable JSON being returned by https…
jemrobinson Jul 26, 2023
c3ee37c
Merge pull request #1520 from alan-turing-institute/link_check
jemrobinson Jul 26, 2023
c287a68
Merge pull request #1517 from alan-turing-institute/dependabot/pip/do…
jemrobinson Jul 26, 2023
ca96d75
:bug: Only apply ConvertFrom-Json -AsHashtable to responses if they a…
jemrobinson Jul 26, 2023
d246c31
Merge pull request #1505 from craddm/fix-external-dns-queries
jemrobinson Jul 26, 2023
79a6ba4
:arrow_up: Update GitHub Actions versions
jemrobinson Jul 26, 2023
32eb521
Update PyPI and CRAN allow lists
jemrobinson Jul 26, 2023
a02a2b1
:alien: Update RStudio checker to look for focal and jammy as bionic …
jemrobinson Jul 26, 2023
4e7b6b7
Merge pull request #1521 from alan-turing-institute/fix-package-expan…
jemrobinson Jul 26, 2023
b13e485
Merge pull request #1522 from alan-turing-institute/package-allowlist…
jemrobinson Jul 26, 2023
223a027
Merge pull request #1523 from alan-turing-institute/fix-update-packag…
jemrobinson Jul 26, 2023
c41a645
Update SRD package versions
jemrobinson Jul 26, 2023
7957ee4
Merge pull request #1524 from alan-turing-institute/srd-package-versions
jemrobinson Jul 26, 2023
0341848
Merge pull request #1519 from alan-turing-institute/develop
jemrobinson Jul 26, 2023
ddc018f
:recycle: Replace poetry with pip-compile for better dependency solving
jemrobinson Jul 25, 2023
b176e94
:coffin: Remove pyproject.toml
jemrobinson Jul 25, 2023
6e59651
Merge pull request #1514 from alan-turing-institute/update-package-re…
edwardchalstrey1 Aug 1, 2023
60738a9
add pip-tools to NON_IMPORTABLE_PACKAGES
edwardchalstrey1 Aug 4, 2023
a9b5143
:art: Alphabetise NON_IMPORTABLE_PACKAGES
jemrobinson Aug 4, 2023
8b87e0b
Merge pull request #1537 from edwardchalstrey1/pip-tools-executable
edwardchalstrey1 Aug 4, 2023
fc256ac
Update VERSIONING.md
jemrobinson Aug 7, 2023
6ddee90
Merge pull request #1545 from alan-turing-institute/add-may-dsg
edwardchalstrey1 Aug 7, 2023
099dc79
update signing key gitlab
edwardchalstrey1 Aug 9, 2023
eb8d533
revert prev commit
edwardchalstrey1 Aug 9, 2023
8a0bccb
change fs_setup partition to auto
edwardchalstrey1 Aug 9, 2023
08c9a6f
same change for cocalc and codimd
edwardchalstrey1 Aug 9, 2023
a1735a0
add *.docker.io to allowedFqdns
edwardchalstrey1 Aug 9, 2023
a414373
change partition to auto for remaining cloud-inits
edwardchalstrey1 Aug 9, 2023
0be0089
change fs_setup partition to auto cloud init shm
edwardchalstrey1 Aug 9, 2023
17a0900
change *.docker.io to docker.io
edwardchalstrey1 Aug 9, 2023
154a55a
:wrench: Add additional *.ubuntu.com IP addresses
jemrobinson Aug 9, 2023
e38a17f
Merge pull request #1548 from edwardchalstrey1/release-v4.1.0
jemrobinson Aug 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

# Set package versions
ARG AZURE_CLI_VERSION="2.42.0"
ARG PWSH_VERSION="7.2.6"
ARG PWSH_VERSION="7.3.2"

# Set up TARGETARCH variable to use to pull the right binaries for the current architecture.
ARG TARGETARCH
Expand Down Expand Up @@ -46,7 +46,7 @@ RUN groupadd --gid $USER_GID $USERNAME \
USER $USERNAME

# Install Sphinx dependencies
COPY ./docs/build/requirements.txt /build/requirements.txt
COPY ./docs/requirements.txt /build/requirements.txt
RUN pip3 install -r /build/requirements.txt

# Install/check needed powershell modules
Expand Down
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/software_package_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Software package request
about: Request that a new package is added to the Tier 3 allow list
title: "<short description of issue>"
labels: "type: enhancement"
assignees: ""
---

## :white_check_mark: Checklist

<!--
Before reporting a problem please check the following. Replace the empty checkboxes [ ] below with checked ones [x] accordingly.
-->

- [ ] I have searched open and closed issues for duplicates.
- [ ] This is a request for a new software package to be added to the Data Safe Haven
- [ ] The package is still missing in the [latest version](https://github.com/alan-turing-institute/data-safe-haven/releases).

## :gift: Package details

<!--
Provide details about the package you would like to see added:

- Package name
- Target audience: "core" (broadly useful for any project) or "extra" (domain specific)
- Package version (if different from latest)
- Package repository (e.g. CRAN, PyPI)
- Number of authors/contributors to the package codebase
- Any existing versions that should not be used (linking to publicly-accessible CVE databases if relevant)
- Download statistics (recent and longer-term, for both current and previous versions)
- List of packages that this package depends on
-->

## :steam_locomotive: Why is this needed?

<!--
To support this request, please respond to the following questions:

- What will you be able to do with this package that you can't currently do?
- Is this the most widely supported package for the intended purpose? What alternatives are there?
- What risks to data integrity/security might arise from including this package or its dependencies?
-->
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Replace the empty checkboxes [ ] below with checked ones [x] accordingly.
-->

- [ ] You have given your pull request a meaningful title (_e.g._ `Enable foobar integration` rather than `515 foobar`).
- [ ] You are targeting the **develop branch**.
- [ ] Your branch is up-to-date with the **develop branch** (you probably started your branch from `develop` but it may have changed since then).
- [ ] If-and-only-if your changes are not yet ready to merge, you have marked this pull request as a **draft** pull request and added '[WIP]' to the title.
- [ ] If-and-only-if you have changed any Powershell code, you have run the code formatter. You can do this with `./tests/AutoFormat_Powershell.ps1 -TargetPath <path to file or directory>`.
- [ ] You are targeting the appropriate branch. If you're not certain which one this is, it should be **`develop`**.
- [ ] Your branch is up-to-date with the **target branch** (it probably was when you started, but it may have changed since then).
- [ ] You have marked this pull request as a **draft** and added `'[WIP]'` to the title if needed (if you're not yet ready to merge).
- [ ] You have formatted your code using appropriate automated tools (for example `./tests/AutoFormat_Powershell.ps1 -TargetPath <path to file or directory>` for Powershell).

### :arrow_heading_up: Summary

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/update_rstudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
root = html.fromstring(remote_page.content)
short_links = [link for link in root.xpath("//a[contains(text(), '.deb')]/@href") if "debian" not in link]

for ubuntu_version in ["bionic", "jammy"]:
for ubuntu_version in ["focal", "jammy"]:
short_link = [link for link in short_links if ubuntu_version in link][0]
remote_content = requests.get(short_link, allow_redirects=True)
sha256 = hashlib.sha256(remote_content.content).hexdigest()
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build_allow_lists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: # yamllint disable-line rule:truthy
branches: [develop]
schedule:
- cron: "0 0 */6 * *" # run every six days in order to keep the cache fresh
workflow_dispatch: # allow this workflow to be manually triggered

# checkout needs 'contents:read'
# pull request needs 'pull-requests:write' and 'contents:write'
Expand All @@ -22,10 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: environment_configs/package_lists/dependency-cache.json
key: dependencies-${{ github.sha }} # request a cache that does not yet exist
Expand All @@ -49,12 +50,12 @@ jobs:

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Create pull request
if: ${{ (! env.TIMEOUT_REACHED) && (! env.ACT) }}
if: ${{ (env.TIMEOUT_REACHED == 0) && (! env.ACT) }}
id: pull-request
uses: peter-evans/create-pull-request@dcd5fd746d53dd8de555c0f10bca6c35628be47a # This commit corresponds to tag 3.12.0
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # This commit corresponds to tag 4.2.4
with:
commit-message: Update PyPI and CRAN allow lists
committer: GitHub Actions <noreply@github.com>
Expand Down
77 changes: 0 additions & 77 deletions .github/workflows/build_docs.yaml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: Documentation

# Run workflow on pushes to matching branches
on: # yamllint disable-line rule:truthy
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs/
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Sphinx build
run: |
make html SPHINXOPTS="-W"

check_links:
name: Check links
runs-on: ubuntu-latest
needs: build
defaults:
run:
working-directory: ./docs/
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Sphinx build
# Set warnings to be treated as errors
run: |
make html SPHINXOPTS="-W"
- name: Link Checker
uses: lycheeverse/lychee-action@v1.7.0
with:
args: --config='./.lychee.toml' --no-progress './docs/build/html/**/*.html'
fail: true # fail on broken links
26 changes: 0 additions & 26 deletions .github/workflows/lint_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,6 @@ on: # yamllint disable-line rule:truthy
branches: [develop]

jobs:
lint_html:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Get tags
run: git fetch --tags origin
- name: Install requirements
shell: bash
run: |
sudo gem install html-proofer -v 4.4.1
pip install -r docs/build/requirements.txt
- name: Generate HTML documention
shell: bash
run: |
DISABLE_VERSION_LINKS=1 make -C docs html
- name: Lint HTML
shell: bash
run: |
htmlproofer docs/_output \
--allow-missing-href=true \
--enforce-https=true \
--ignore-files "/_static/" \
--ignore-status-codes "502,503" \
--ignore-urls "/github.com\/alan-turing-institute\/data-classification-app/,/www.turing.ac.uk/"

lint_json:
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Install requirements
shell: bash
run: npm install -g markdown-link-check
- name: Test Markdown for dead links
shell: bash
run: find . -name "*.md" | xargs -n 1 markdown-link-check -p -c .markdownlinkcheck.json
continue-on-error: true
- name: Link Checker
uses: lycheeverse/lychee-action@v1.7.0
with:
args: --config='./.lychee.toml' --no-progress --offline '**/*.md' --exclude-path './docs'
fail: true # fail on broken links
7 changes: 4 additions & 3 deletions .github/workflows/update_package_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: # yamllint disable-line rule:truthy
branches: [develop]
schedule:
- cron: "0 0 */7 * *" # run once per week
workflow_dispatch: # allow this workflow to be manually triggered

# checkout needs 'contents:read'
# pull request needs 'pull-requests:write' and 'contents:write'
Expand All @@ -19,10 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

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

Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
- name: Create pull request
if: ${{ ! env.ACT }}
id: pull-request
uses: peter-evans/create-pull-request@dcd5fd746d53dd8de555c0f10bca6c35628be47a # This commit corresponds to tag 3.12.0
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # This commit corresponds to tag 5.0.2
with:
commit-message: Update SRD package versions
committer: GitHub Actions <noreply@github.com>
Expand Down
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ docs/*.pdf
# ... except the tiers flowchart
!docs/tiersflowchart.pdf

# Sphinx output
docs/_output
# Sphinx output and venv
docs/build
docs/venv

# Files produced during testing
.mustache_config.json
expanded.yaml
expanded.yaml

# Lychee cache
.lycheecache
Loading