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

Update rmfakecloudctl to support dev server #607

Draft
wants to merge 4 commits into
base: testing
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion package/rmfakecloud-proxy/package
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgdesc="Connect Xochitl to a rmfakecloud server"
_url=https://github.com/ddvk/rmfakecloud-proxy
url="$_url"
_upver=0.0.3
pkgver="$_upver-5"
pkgver="$_upver-6"
timestamp=2022-02-26T22:59Z
section="utils"
maintainer="Mattéo Delabre <[email protected]>"
Expand Down
11 changes: 11 additions & 0 deletions package/rmfakecloud-proxy/rmfakecloudctl
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ DNS.2 = my.remarkable.com
DNS.3 = internal.cloud.remarkable.com
DNS.4 = ping.remarkable.com
DNS.5 = *.remarkable.com
DNS.6 = webapp-legacy-dev.cloud.remarkable.engineering
DNS.7 = dev.tectonic.remarkable.com
DNS.8 = *.dev.tectonic.remarkable.com
DNS.9 = dev.internal.cloud.remarkable.com
DNS.10 = *.dev.internal.cloud.remarkable.com
CSR

openssl req -new -config "$csr" \
Expand Down Expand Up @@ -292,6 +297,9 @@ $proxy_listen local.appspot.com
$proxy_listen my.remarkable.com
$proxy_listen internal.cloud.remarkable.com
$proxy_listen ping.remarkable.com
$proxy_listen webapp-legacy-dev.cloud.remarkable.engineering
$proxy_listen dev.tectonic.remarkable.com
$proxy_listen dev.internal.cloud.remarkable.com
EOF
}

Expand All @@ -303,6 +311,9 @@ uninstall-hosts() {
sed -i '/ my.remarkable.com$/d' "$hosts_path"
sed -i '/ internal.cloud.remarkable.com$/d' "$hosts_path"
sed -i '/ ping.remarkable.com$/d' "$hosts_path"
sed -i '/ webapp-legacy-dev.cloud.remarkable.engineering$/d' "$hosts_path"
sed -i '/ dev.tectonic.remarkable.com$/d' "$hosts_path"
sed -i '/ dev.internal.cloud.remarkable.com$/d' "$hosts_path"
}

# Try to make a full install of rmfakecloud-proxy
Expand Down