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 2 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-3"
pkgver="$_upver-4"
timestamp=2022-02-26T22:59Z
section="utils"
maintainer="Mattéo Delabre <spam@delab.re>"
Expand Down
3 changes: 3 additions & 0 deletions package/rmfakecloud-proxy/rmfakecloudctl
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ 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
CSR

openssl req -new -config "$csr" \
Expand Down Expand Up @@ -292,6 +293,7 @@ $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
EOF
}

Expand All @@ -303,6 +305,7 @@ 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"
}

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