Skip to content

Add required packages and scripts #85

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions doc/debian/packages.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
black
composer
default-jre-headless
golang
npm
python-is-python3
python3
15 changes: 15 additions & 0 deletions doc/debian/scripts/install-dart.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -euo pipefail

# https://dart.dev/get-dart

sudo apt update

sudo apt install apt-transport-https gpg

wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-dart.gpg

echo 'deb [signed-by=/usr/share/keyrings/google-dart.gpg arch=amd64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list

sudo apt update
sudo apt install dart
11 changes: 11 additions & 0 deletions doc/debian/scripts/install-dotnet.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail

# https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian

wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

sudo apt update
sudo apt install dotnet-sdk-8.0
4 changes: 4 additions & 0 deletions doc/debian/scripts/install-packages.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -euo pipefail

cat ../packages.list | xargs sudo apt install
4 changes: 4 additions & 0 deletions scripts/check-urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ class Curl:
Curl.COULDNT_RESOLVE_HOST,
None,
),
"https://storage.googleapis.com/download.dartlang.org/linux/debian": (
Curl.HTTP_RETURNED_ERROR,
404,
),
# TODO: Temporary fix
"https://dashboard.aspose.cloud/applications": (Curl.HTTP_RETURNED_ERROR, 404),
}
Expand Down